Playgrounds unable to run any code on managed MacBooks

I have 6 managed MacBooks, and 4 of them are unable to run any Swift code at all in Playgrounds. On the 4 machines with the issue, any code, as simple as print("hello"), gives the error:

remoteProcessCancelledExecution(underlyingError: Optional(Error Domain=NSMachErrorDomain Code=53 "unknown error code"))

Can anyone give any help on the cause of this?

Do you have a an app allow list on the Macs in question?

Playgrounds unable to run any code on managed MacBooks
 
 
Q