MobileAccounts
The payload that configures mobile accounts on the device.
Declaration
object MobileAccountsProperties
| Name | Type | Description |
|---|---|---|
cachedaccounts.askForSecureTokenAuthBypass | boolean | If |
cachedaccounts.expiry.delete.disusedSeconds | integer | The minimum number of seconds a mobile account can exist before the system makes an automatic attempt to remove the mobile account. Set to |
cachedaccounts.WarnOnCreate.allowNever | boolean | If |
com.apple.cachedaccounts.CreateAtLogin | boolean | If |
com.apple.cachedaccounts.WarnOnCreate | boolean | If |
Discussion
Specify com.apple.MCX as the payload type.
Profile availability
Device channel | macOS |
User channel | macOS |
Allow manual install | macOS |
Requires supervision | NA |
Requires user-approved MDM | NA |
Allowed in user enrollment | NA |
Allow multiple payloads | NA |
Profile example
<?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>PayloadContent</key>
<array>
<dict>
<key>com.apple.cachedaccounts.CreateAtLogin</key>
<true/>
<key>PayloadIdentifier</key>
<string>com.example.mymobileccountpayload</string>
<key>PayloadType</key>
<string>com.apple.MCX</string>
<key>PayloadUUID</key>
<string>93aa2058-4fe5-4f8b-a409-80f05b7fb2f0</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Mobility</string>
<key>PayloadIdentifier</key>
<string>com.example.myprofile</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>b89ce975-801b-4994-8f68-dc5cad408ad1</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>