Using only a command line, is it possible to add an app to Security & Privacy/Privacy/Accessibility shown below?

Using Azure Pipelines, I'm attempting to set up a remote machine and it needs a specific app to have these accessibility permissions. I don't have access to the machine, I can only set things up using the command line. Is it possible to achieve this?

enter image description here

1 Answer 1


I don't think so. Using the tccutil command only allows you to reset the permissions so the user can click and grant permission.

However if the Mac is enrolled in a Mobile Device Management system, you can create a profile that has the appropriate TCC permissions set and push it out to the device. More information here:


  • 1
    You definitely need an MDM for this.
    – TJ Luoma
    Dec 15, 2021 at 3:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .