Network Usage Rules
  • 28 Sep 2023
  • 1 Minute to read
  • PDF

Network Usage Rules

  • PDF

Article Summary

The following Custom Payload helps IT Admins to configure applications that would be restricted from accessing cellular data and will not work unless WiFi is there on the devices. This comes in handy in case you would like to restrict users from consuming cellular data by accessing non-work-related applications like YouTube, social media sites, etc.

  1. Copy the contents directly from below and add it to Custom Settings in the Device Profile or click here  to download the file and import it in the Device Profile.
    Markup
    
    DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>PayloadContentkey>
    	<array>
    		<dict>
    			<key>PayloadDisplayNamekey>
    			<string>Restrictionsstring>
    			<key>PayloadIdentifierkey>
    			<string>com.apple.applicationaccess.F5D61D67-7701-44AA-964B-8E1733C09FF2string>
    			<key>PayloadTypekey>
    			<string>com.apple.applicationaccessstring>
    			<key>PayloadUUIDkey>
    			<string>F5D61D67-7701-44AA-964B-8E1733C09FF2string>
    			<key>PayloadVersionkey>
    			<integer>1integer>
    		dict>
    		<dict>
    			<key>ApplicationRuleskey>
    			<array>
    				<dict>
    					<key>AllowCellularDatakey>
    					<false/>
    					<key>AllowRoamingCellularDatakey>
    					<false/>
    					<key>AppIdentifierMatcheskey>
    					<array>
    						<string>com.app.bundleidstring>
    					array>
    				dict>
    			array>
    			<key>PayloadDisplayNamekey>
    			<string>Network Usage Rulesstring>
    			<key>PayloadIdentifierkey>
    			<string>com.apple.networkusagerules.18A2BA5A-258E-4062-949B-915DA4784B4Cstring>
    			<key>PayloadTypekey>
    			<string>com.apple.networkusagerulesstring>
    			<key>PayloadUUIDkey>
    			<string>18A2BA5A-258E-4062-949B-915DA4784B4Cstring>
    			<key>PayloadVersionkey>
    			<integer>1integer>
    		dict>
    	array>
    	<key>PayloadDisplayNamekey>
    	<string>Untitledstring>
    	<key>PayloadIdentifierkey>
    	<string>MacBook-Pro.67EBBA9D-1F7C-4DDA-8EAC-937C0F43DB11string>
    	<key>PayloadTypekey>
    	<string>Configurationstring>
    	<key>PayloadUUIDkey>
    	<string>67EBBA9D-1F7C-4DDA-8EAC-937C0F43DB11string>
    	<key>PayloadVersionkey>
    	<integer>1integer>
    dict>
    plist>
    1. The above payload replaces the App Identifier with the correct App bundle ID that you would like to restrict. For example,
  2. Follow our guide  on how to add the Custom Payload in the Device Profile & deploy it to devices.
Notes:
1. The Payload and its contents are sourced from various albeit authenticated Apple Developer communities and forums.
2. Please validate them on a test machine before deploying them on all your managed devices.
3. Scalefusion has tested these Payloads, however, Scalefusion will not be responsible for any loss of data or system malfunction that may arise due to the incorrect usage of these payloads.
If you need additional help or guidance, please don't hesitate to reach out to our Support team. You can contact them through our live web chat or by sending an email to support@scalefusion.com

Was this article helpful?