Forum Discussion
macOS - Privacy Preference Policy Controls - MDM Settings Catalog
The work-around I used to eliminate the error code 10022 for SystemPolicyAllFiles Privacy Preferences Policy Control payload settings was to remove the Authorization key in the settings payload, since it shouldn't have this key when using the Allowed key.
As noted in Apple's MDM reference:
The Authorization key is an optional replacement for the Allowed key. Every payload must specify either Authorization or Allowed, but not both.
https://developer.apple.com/documentation/devicemanagement/privacypreferencespolicycontrol/services/identity
rrenstrom
This fixed the issue for me.
I removed the "Authorized Parameter" and the policy started working.
- mwssuk2205385Jan 12, 2024Copper Contributor
WyomingBound Great post and the only one I can find online.
Im having problems with the screen capture for macOS. I tried removing the authorization option, it still didnt work, so I removed Allow (which is deprecated anyway) and left only authorization but still shows error 10022.How can I have this enable screen capture (guess this covers screen sharing/recording) for teams? We're in a proof of concept of using macOS for our developers so I need these settings to work if we end up with 20 of them.
- aweber1185Jan 16, 2024Copper Contributor
I just resolved this issue today; Users are now able to turn on screen sharing for Microsoft Teams. See the attachments for the settings and let me know if you have any more questions!
- jstevens621507Apr 13, 2024Copper Contributor
Hello,
I removed the "Allow" toggle and saved it but when you click to edit it again, it comes back, not sure what's up with the UI, but I'll follow your lead here and remove the toggle, then not click "edit" after doing so and see. MS does say that the Authorization field is a secondary way to configure it and we should not actually use the Allow toggle, just needed to read it better.
Also, thru the UI as apposed to the Graph, you need to click on the second square choice and then leave out the Allow "square checkbox" then once you configure it, it will still show the "Allow" toggle off but when you delete it, it doesn't come back so the settings should now work. Very strange UI and choice but glad we all figured this out.
- VpushpaDec 26, 2023Copper Contributor
WyomingBound What is the authorization parameter in the code requirements? In the below image, I did not see any word called 'Authorization' or 'Allowed' in the code requirements. Kindly help me understand.