How to disable Camera and Screen Share for all applications (globally) in mac Using MDM? We know that using MDM we can handle Privacy Preferences Policy Control in mac.

I am able to disable Screen Sharing and Camera feature for the
Particular Application.

Is there any way by which we can disable this globally for all applications?
Payload Example
Device Management Profile
PrivacyPreferencesPolicyControl.Services
The only MDM I currently have access to is Jamf Pro.
In Jamf Pro create a new configuration profile and in the left hand list select &quot;Restrictions&quot;. Now in the main window select &quot;Functionality&quot; and the second and third items control the camera and screen recording.