Intune – Mac – Deploy a Mobileconfig

email me

Add assignments.

Force a sync on the Mac.

 

Notes

 

Create a mobileconfig file
https://imazing.com/profile-editor

 


Example of mobileconfig

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ConsentText</key>
	<dict>
		<key>default</key>
		<string>The Mac Admin has disabled your camera!</string>
	</dict>
	<key>PayloadContent</key>
	<array>		
		<dict>
			<key>PayloadDisplayName</key>
			<string>Restrictions</string>
			<key>PayloadIdentifier</key>
			<string>com.apple.applicationaccess.3D9F9E13-94F4-49CF-9211-235676131F04</string>
			<key>PayloadType</key>
			<string>com.apple.applicationaccess</string>
			<key>PayloadUUID</key>
			<string>3D9F9E13-94F4-49CF-9211-235676131F04</string>
			<key>PayloadVersion</key>
			<integer>3</integer>
			<key>allowCamera</key>
			<false/>
		</dict>
	</array>
	<key>PayloadDescription</key>
	<string>Enable or Disable Camera</string>
	<key>PayloadDisplayName</key>
	<string>Camera Profile</string>
	<key>PayloadIdentifier</key>
	<string>camera-profile.0BEC5374-89C6-4B83-A4D0-B2304E466C97</string>
	<key>PayloadOrganization</key>
	<string>CompanyABC</string>
	<key>PayloadScope</key>
	<string>User</string>
	<key>PayloadType</key>
	<string>Configuration</string>
	<key>PayloadUUID</key>
	<string>0BEC5374-89C6-4B83-A4D0-B2304E466C97</string>
	<key>PayloadVersion</key>
	<integer>3</integer>
	<key>RemovalDate</key>
	<date>2023-06-28T20:30:24Z</date>
	<key>TargetDeviceType</key>
	<integer>5</integer>
</dict>
</plist>