Custom XML Profiles for iOS 11

iOS 11 offers a variety of advanced MDM functionality that can be configured through Profiles in the AirWatch Admin Console.

New iOS 11 features are available as part of AirWatch 9.2.0. Administrators on an earlier AirWatch version can run the iOS 11 seed script to allow support of iOS 11 devices, and use the following custom profiles to achieve the same functionality.

The XML code for these custom profiles is listed below and can be implemented using the following procedure.

Using Custom Profiles 

The Custom Settings payload allows admins to enter their own XML into a profile and apply the profile to devices. Follow the steps below using the iOS 11 code found at the end of this document.

  1. Configure the General payload and deployment options as desired.
  2. If you would like to include any iOS 11 features that are not available in the UI for your version, you can add the associated XML below to the Custom Settings payload for your profile. 
  • This XML should contain the complete block of code as listed below, from <dict> to </dict>. 
  • Administrators should configure each setting from <true /> to <false /> as desired. 
  • If certificates are required, then configure a Certificate payload within the profile and reference the Payload UUID in the Custom Settings payload. See further information within the examples below.

Alternatively, if the provided XML below is part of an existing UI payload (Restrictions, VPN, etc.), admins can follow the steps below to create the custom profiles

  1. PayCreate a new profile with the respective payload in addition to the General payload.
  2. From your profile list view, select the newly created profile and choose to view XML.
  3. Export or copy the XML of the profile.
  4. Repeat steps #1 and #2 of the Using Custom Profiles except use the XML code that was just exported or copied and add only the bolded text of the XML listed below.

Picture1.png

iOS 11 Custom Profile XML Code

Use the following link to download custom XML Code. View all custom XML code examples here.

Restrictions 

<dict>
        <key>forceClassroomUnpromptedAppAndDeviceLock</key>
        <true />
        <key>forceClassroomAutomaticallyJoinClasses</key>
        <true />
        <key>allowSystemAppRemoval</key>
        <true />
        <key>allowVPNCreation</key>
        <false />
        <key>allowAirPrint</key>
        <true />
        <key>allowAirPrintCredentialsStorage</key>
        <true />
        <key>forceAirPrintTrustedTLSRequirement</key>
        <false />
        <key>allowAirPrintiBeaconDiscovery</key>
        <true />
        <key>PayloadDisplayName</key>
        <string>Restrictions</string>
        <key>PayloadDescription</key>
        <string>RestrictionSettings</string>
        <key>PayloadIdentifier</key>
        <string>7480b205-2e1c-40fe-bd59-b53db434652d.Restrictions</string>
        <key>PayloadOrganization</key>
        <string></string>
        <key>PayloadType</key>
        <string>com.apple.applicationaccess</string>
        <key>PayloadUUID</key>
        <string>99b5b40b-5683-4315-9ec2-f9e014a6XXXX</string>
        <key>PayloadVersion</key>
        <integer>1</integer>
</dict>

DNS Proxy

<dict>
            <key>AppBundleIdentifier</key>
            <string>com.myapp.test</string>
            <key>PayloadDescription</key>
            <string>Configures DNS proxy network extension</string>
            <key>PayloadDisplayName</key>
            <string>DNS Proxy</string>
            <key>PayloadIdentifier</key>
            <string>com.apple.dnsProxy.managed.39E45FD6-000E-4D4C-8645-9EBA3695XXXX</string>
            <key>PayloadType</key>
            <string>com.apple.dnsProxy.managed</string>
            <key>PayloadUUID</key>
            <string>39E45FD6-000E-4D4C-8645-9EBA3695XXXX</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>ProviderBundleIdentifier</key>
            <string>com.theirapp.test</string>
            <key>ProviderConfiguration</key>
            <dict>
                        <key>CFBundleDevelopmentRegion</key>
                        <string>English</string>
                        <key>CFBundleDisplayName</key>
                        <string>ASIHTTPRequest Demo</string>
                        <key>CFBundleExecutable</key>
                        <string>${EXECUTABLE_NAME}</string>
                        <key>CFBundleIconFile</key>
                        <string></string>
                        <key>CFBundleIdentifier</key>
                        <string>com.allseeing-i.asi-http-request</string>
                        <key>CFBundleInfoDictionaryVersion</key>
                        <string>6.0</string>
                        <key>CFBundleName</key>
                        <string>${PRODUCT_NAME}</string>
                        <key>CFBundlePackageType</key>
                        <string>APPL</string>
                        <key>CFBundleSignature</key>
                        <string>????</string>
                        <key>CFBundleVersion</key>
                        <string>1.0</string>
                        <key>NSMainNibFile</key>
                        <string>MainMenu</string>
                        <key>NSPrincipalClass</key>
                        <string>NSApplication</string>
            </dict>
</dict>

 

AirPrint

<dict>
            <key>AirPrint</key>
            <array>
                        <dict>
                                    <key>ForceTLS</key>
                                    <true/>
                                    <key>IPAddress</key>
                                    <string>127.0.0.1</string>
                                    <key>Port</key>
                                    <integer>0</integer>
                                    <key>ResourcePath</key>
                                    <string>test/test/test</string>
                        </dict>
            </array>
            <key>PayloadDescription</key>
            <string>Configures AirPrint settings</string>
            <key>PayloadDisplayName</key>
            <string>AirPrint</string>
            <key>PayloadIdentifier</key>
            <string>com.apple.airprint.FE15A869-9008-4AA4-8D20-3786DEABXXXX</string>
            <key>PayloadType</key>
            <string>com.apple.airprint</string>
            <key>PayloadUUID</key>
            <string>FE15A869-9008-4AA4-8D20-3786DEABCE8F</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
</dict>

WiFi*

<dict>
             <key>AutoJoin</key>
             <true/>
             <key>CaptiveBypass</key>
             <false/>
             <key>EAPClientConfiguration</key>
             <dict>
                             <key>AcceptEAPTypes</key>
                             <array>
                                             <integer>13</integer>
                             </array>
                             <key>TLSMaximumVersion</key>
                             <string>1.0</string>
                             <key>TLSMinimumVersion</key>
                             <string>1.0</string>
             </dict>
             <key>EncryptionType</key>
             <string>WPA</string>
             <key>HIDDEN_NETWORK</key>
             <false/>
             <key>IsHotspot</key>
             <false/>
             <key>PayloadDescription</key>
             <string>Configures Wi-Fi settings</string>
             <key>PayloadDisplayName</key>
             <string>Wi-Fi</string>
             <key>PayloadIdentifier</key>
             <string>com.apple.wifi.managed.4E8477B4-1396-482A-93B1-E8C5689EXXXX</string>
             <key>PayloadType</key>
             <string>com.apple.wifi.managed</string>
             <key>PayloadUUID</key>
             <string>4E8477B4-1396-482A-93B1-E8C5689EC576</string>
             <key>PayloadVersion</key>
             <integer>1</integer>
             <key>ProxyType</key>
             <string>None</string>
             <key>SSID_STR</key>
             <string>CDB TEST PROFILE</string>
</dict>

Have more questions? Submit a request

0 Comments

Article is closed for comments.