TopLevel
The top-level payload properties for all profiles.
Declaration
object TopLevelProperties
| Name | Type | Description |
|---|---|---|
ConsentText | TopLevel.ConsentText | A dictionary that includes:
The dictionary can also contain an optional key, The system always displays the agreement in a dialog, and the user needs to agree before the system can install the profile. The system chooses a localized version in the order of preference that the user specifies in macOS, or based on the user’s current language setting in iOS. If there’s no exact match, the system uses the default localization. If there’s no default localization, the system uses the en localization. If there’s no en localization, the system uses the first available localization. |
DurationUntilRemoval | number | The number of seconds until the profile is automatically removed. If the |
EncryptedPayloadContent | data | Enabled if |
PayloadContent Required | [TopLevel.PayloadContentItem] | The array of payload dictionaries. If |
PayloadDescription | string | The description of the profile, shown on the Detail screen for the profile. Make this description detailed enough to help the user decide whether to install the profile. |
PayloadDisplayName | string | The human-readable name for the profile, which doesn’t need to be unique. The system displays this value on the Detail screen. |
PayloadExpirationDate | date | The date when a profile is no longer valid and the system presents an update button to the user. |
PayloadIdentifier Required | string | The reverse-DNS style identifier ( |
PayloadOrganization | string | The human-readable string that contains the name of the organization that provided the profile. |
PayloadRemovalDisallowed | boolean | If present and set to On macOS 10.15 and later, this key only affects removal of manually installed profiles. If set to On macOS versions prior to 10.15, this key prevents admins from removing MDM installed profiles. However, as of macOS 10.15, users can never remove MDM profiles, not even the admin. On iOS users can’t remove a MDM profile. Requires a supervised device. |
PayloadScope | string | A string that defines whether to install the profile for the system or the user. In many cases, it determines the location of certificate items, such as keychains. Though it’s not possible to declare different payload scopes, payloads like VPN can automatically install their items in both scopes, if needed. |
PayloadType Required | string | The type of payload. The only supported value is |
PayloadUUID Required | string | The globally unique identifier for the profile. The actual content is unimportant. In macOS, you can use |
PayloadVersion Required | integer | The version number of the profile format, which needs to be |
RemovalDate | date | The date when the system automatically removes the profile. |
TargetDeviceType | integer | The type of platform of the target device. Specifying the platform type helps prevent unintended installations. For interactive installations on iOS devices, specifying a target platform avoids interstitial alerts that prompt the user to choose a profile target when multiple targets are eligible. Allowed values:
|
Mentioned in
Discussion
Profile availability
Device channel | iOS, macOS, Shared iPad, tvOS, visionOS, watchOS |
User channel | macOS, Shared iPad |
Allow manual install | iOS, macOS, tvOS, visionOS, watchOS |
Requires supervision | NA |
Requires user-approved MDM | NA |
Allowed in user enrollment | iOS, macOS, visionOS |
Allow multiple payloads | NA |