Couldn’t you give agents access to the screen sharing software to see the TCC prompts?
TCC prompts have some degree of "synthetic click" detection. It's been a while since I've tried to click "Allow" with osascript.
TCC prompts have some degree of "synthetic click" detection. It's been a while since I've tried to click "Allow" with osascript.