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
- WyomingBoundSep 15, 2023Copper Contributor
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!
- 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.