title: App:Managed description: The declaration to configure a managed app. payload: declarationtype: com.apple.configuration.app.managed supportedOS: iOS: introduced: '17.2' allowed-enrollments: - supervised - device - user allowed-scopes: - system sharedipad: allowed-scopes: - system macOS: introduced: '26.0' allowed-enrollments: - supervised - user allowed-scopes: - system - user tvOS: introduced: n/a visionOS: introduced: '2.4' allowed-enrollments: - supervised - device - user allowed-scopes: - system watchOS: introduced: n/a apply: multiple payloadkeys: - key: AppStoreID title: App Store ID type: presence: optional content: |- The App Store ID of the managed app that's downloaded from the App Store. Only one of `AppStoreID`, `BundleID`, `ManifestURL`, or `AppComposedIdentifier` needs to be present. - key: BundleID title: Bundle ID type: presence: optional content: |- The bundle ID of the managed app that's downloaded from the App Store. Only one of `AppStoreID`, `BundleID`, `ManifestURL`, or `AppComposedIdentifier` needs to be present. - key: ManifestURL title: Manifest URL supportedOS: macOS: introduced: n/a type: presence: optional content: |- The URL of the manifest for the managed app that the device downloads from a web site. The manifest is a `ManifestURL` property list. Only one of `AppStoreID`, `BundleID`, `ManifestURL`, or `AppComposedIdentifier` needs to be present. - key: AppComposedIdentifier title: App composed identifier supportedOS: iOS: introduced: n/a macOS: introduced: '26.0' visionOS: introduced: n/a type: presence: optional content: |- A string that specifies the composed identifier of an existing app that needs to be managed. The device uses this to take over management of an app installed by some other process, for example installed manually by the user, or via a package configuration. If the app isn't present when the device applies the configuration, the device takes over management of it when it does install. Management of the app occurs only if its code signature matches the composed identifier. The following rules apply when the device takes over management: - If the `InstallBehavior.Install` key is set to `Required`, the device takes over management of the app. - If the `InstallBehavior.Install` key is set to `Optional`, the device takes over management of the app when the user "installs" it using an MDM management app. The format of the composed identifier is either "Bundle-ID" or "Bundle-ID (Team-ID)". "Bundle-ID" is the bundle identifier string of the provider. "Team-ID" is the team identifier from the provider's code signature. For example, "com.example.app" for the bundle ID format, or "com.example.app (ABCD1234)" for the team ID format. In macOS, only one of `AppStoreID`, `BundleID`, or `AppComposedIdentifier` needs to be present. - key: iOSApp title: iOS app supportedOS: iOS: introduced: n/a macOS: introduced: '26.0' visionOS: introduced: n/a type: presence: optional default: false content: If `true`, the device installs an iOS or iPadOS app that runs on a Mac with Apple silicon. This is only used when the app is an App Store app. - key: InstallBehavior title: Install behavior type: presence: optional content: A dictionary that describes how and when to install the app. subkeys: - key: Install title: Install type: presence: optional rangelist: - Optional - Required default: Optional content: |- A string that specifies if the app needs to remain on the device at all times or if the user can freely install and remove it, which is one of the following values: - `Optional`: The user can install and remove the app after the system activates the configuration. - `Required`: The system installs the app after it activates the configuration. The user can't remove the app. The system automatically installs apps on supervised devices. Otherwise, the device prompts the user to approve installation of the app. - key: License title: License type: presence: optional content: A dictionary that describes the app's license. subkeys: - key: Assignment title: Assignment type: presence: optional rangelist: - Device - User content: |- The type of license that the app uses for installation through the App Store, which is one of the following values: - `Device`: The app has a device license. - `User`: The app has a user license. This key needs to be present for App Store apps, when either `AppStoreID` or `BundleID` are present in the configuration. - key: Version title: Version supportedOS: iOS: introduced: '26.0' macOS: introduced: '26.0' visionOS: introduced: '26.0' type: presence: optional content: |- The App Store external version identifier (EVID) of the version of the app the device installs. You can retrieve this value from the App Store. For more information, see `Apps and books metadata for organizations`. This key is ignored if the app isn't an App Store app. The following rules apply when the device applies or updates the configuration: - If this key isn't present: - If the app isn't present, the device installs the latest version. - If the app is present, if allowed the device takes over management of the current version of the app. - If this key is present: - If the app isn't present, the device installs the app with the specified version. - If an app with the same version is present, if allowed the device takes over management of that app. - If an app with an older version is present, if allowed the device updates the app to the specified version and takes over management of it. - If an app with a newer version is present, the device doesn't take over management of the app. The device reports an app status failure. > Note: > The device never installs an older version of the app over a newer version. - key: AllowDownloadsOverCellular title: Allow downloads over cellular supportedOS: iOS: introduced: '26.0' allowed-enrollments: - supervised macOS: introduced: n/a visionOS: introduced: n/a type: presence: optional rangelist: - AlwaysOn - AlwaysOff - StoreSettings default: StoreSettings content: |- Indicates how the device uses a cellular network when it downloads the app for automatic install or update operations: - `AlwaysOn`: The device downloads apps of any size using a cellular network. - `AlwaysOff`: The device doesn't download apps using a cellular network. The device pauses the automatic install or update operation until a different network is active. - `StoreSettings`: The device uses the settings for the corresponding store when downloading apps. The device always uses the store settings to download apps when the install or update operation is user initiated. - key: UpdateBehavior title: Update behavior supportedOS: iOS: introduced: '26.0' macOS: introduced: '26.0' visionOS: introduced: '26.0' type: presence: optional content: A dictionary that specifies how the device updates apps. subkeys: - key: AutomaticAppUpdates title: Automatic app updates type: presence: required rangelist: - AlwaysOn - AlwaysOff - StoreSettings content: |- Specifies whether the device automatically updates the app: - `AlwaysOn`: The device automatically updates the app to the latest version. For App Store apps, the device periodically checks the store for updates. For Enterprise apps, the device periodically downloads the manifest file and compares it to the previous manifest file. If the device detects a change to the bundle version in the manifest, it downloads and updates the app. - `AlwaysOff`: The device never automatically updates the app. - `StoreSettings`: The device uses the settings for the corresponding store to determine when to automatically update the app. For Enterprise apps, this setting behaves the same as `AlwaysOff`. When you specify the `InstallBehavior.Version` key, the device ignores this key and Automatic App Updates are disabled. In macOS, the device ignores this setting if the `AppComposedIdentifier` key is set in the configuration. - key: IncludeInBackup title: Include in backup supportedOS: macOS: introduced: n/a type: presence: optional default: true content: If `true`, backups contain the app and its data. - key: Attributes title: App attributes supportedOS: macOS: introduced: n/a type: presence: optional content: A dictionary of values to associate with the app. subkeys: - key: AssociatedDomains title: Associated domains type: presence: optional content: An array of domain names to associate with the app. subkeys: - key: Domain title: Domain type: presence: required content: A domain to be associated with the app. - key: AssociatedDomainsEnableDirectDownloads title: Associated domains enable direct downloads type: presence: optional default: false content: If `true`, the system enables direct downloads for the `AssociatedDomains`. - key: CellularSliceUUID title: Cellular slice UUID supportedOS: visionOS: introduced: n/a type: presence: optional content: The cellular slice identifier, which can be the data network name (DNN) or app category. For DNN, encode the value as "DNN:name", where "name" is the carrier-provided DNN name. For app category, encode the value as "AppCategory:category", where "category" is a carrier-provided string such as "Enterprise1". - key: ContentFilterUUID title: Content filter UUID type: presence: optional content: The UUID of the content filter to associate with the app. - key: DNSProxyUUID title: DNS proxy UUID type: presence: optional content: The UUID of the DNS proxy to associate with the app. - key: Hideable title: Hideable supportedOS: iOS: introduced: '18.1' visionOS: introduced: n/a type: presence: optional default: true content: If `false`, the system prevents the user from hiding the app. It doesn't affect the user's ability to leave it in the App Library, while removing it from the Home Screen. - key: Lockable title: Lockable supportedOS: iOS: introduced: '18.1' visionOS: introduced: n/a type: presence: optional default: true content: If `false`, the system prevents the user from locking the app. This also prevents the user from hiding the app. - key: RelayUUID title: Relay UUID type: presence: optional content: The UUID of the relay to associate with the app. - key: TapToPayScreenLock title: Tap to pay screen lock supportedOS: visionOS: introduced: n/a type: presence: optional default: false content: If `true`, the device automatically locks after every transaction that requires a customer's card PIN. If `false`, the user can choose the behavior. - key: VPNUUID title: VPN UUID type: presence: optional content: The UUID of the VPN to associate with the app. - key: AppConfig title: App config supportedOS: iOS: introduced: '18.4' macOS: introduced: '27.0' type: presence: optional content: A dictionary of app config data and credentials. subkeytype: AppConfigDictionary subkeys: &id001 - key: DataAssetReference title: App/Extension config data asset reference type: assettypes: - com.apple.asset.data asset-content-types: - application/plist - application/x-plist - application/xml - text/xml presence: optional content: Specifies the identifier of an asset declaration containing a reference to the app or extension config data. The corresponding asset needs to be of type `com.apple.asset.data`. The referenced data needs to be a property list file, and the asset's "ContentType" value set to match the data type. - key: Passwords title: Password App/Extension configs. type: presence: optional content: Provides passwords to the managed app or extension. Each element in the array contains a password asset reference and an associated identifier which the app or extension uses to look up the password. subkeytype: CredentialConfig subkeys: - key: PasswordAppConfigItem title: Password app config item type: presence: required content: A dictionary of values associated with a credential config. subkeys: - key: Identifier title: Password identifier type: presence: required content: The app or extension uses this identifier to fetch the corresponding password using the `ManagedApp` framework. App developers define the values for these identifiers. - key: AssetReference title: Asset reference type: assettypes: - com.apple.asset.credential.userpassword presence: required content: Specifies the identifier of an asset declaration containing a username and password. The `ManagedApp` framework makes the password available to the app or extension. The `ManagedApp` framework ignores the username. - key: Identities title: Identity App/Extension configs. type: presence: optional content: Provides identities to the managed app or extension. Each element in the array contains an identity asset reference and an associated identifier which the app or extension uses to look up the identity. subkeytype: CredentialConfig subkeys: - key: IdentityAppConfigItem title: Identity app config item type: presence: required content: A dictionary of values associated with a credential config. subkeys: - key: Identifier title: Identity identifier type: presence: required content: The app or extension uses this identifier to fetch the corresponding identity using the `ManagedApp` framework. App developers define the values for these identifiers. - key: AssetReference title: Asset reference type: assettypes: - com.apple.asset.credential.identity - com.apple.asset.credential.scep - com.apple.asset.credential.acme presence: required content: Specifies the identifier of an asset declaration containing an identity. - key: Certificates title: Certificate App/Extension configs. type: presence: optional content: Provides certificates to the managed app or extension. Each element in the array contains a certificate asset reference and an associated identifier which the app or extension uses to look up the certificate. subkeytype: CredentialConfig subkeys: - key: CertificateAppConfigItem title: Certificate app config item type: presence: required content: A dictionary of values associated with a credential config. subkeys: - key: Identifier title: Certificate identifier type: presence: required content: The app or extension uses this identifier to fetch the corresponding certificate using the `ManagedApp` framework. App developers define the values for these identifiers. - key: AssetReference title: Asset reference type: assettypes: - com.apple.asset.credential.certificate presence: required content: Specifies the identifier of an asset declaration containing a certificate. - key: ExtensionConfigs title: Extension configs supportedOS: iOS: introduced: '18.4' macOS: introduced: '27.0' type: presence: optional content: A dictionary of extension config data and credentials. subkeys: - key: ANY title: Extension composed identifier type: presence: optional content: |- A dictionary mapping extension composed identifiers to the extension config data and credentials. The format of the composed identifier is either "Bundle-ID" or "Bundle-ID (Team-ID)". "Bundle-ID" is the bundle identifier string of the provider. "Team-ID" is the team identifier from the provider's code signature. For example, "com.example.app" for the bundle ID format, or "com.example.app (ABCD1234)" for the team ID format. subkeytype: AppConfigDictionary subkeys: *id001 - key: LegacyAppConfigAssetReference title: App config MDMv1 asset reference supportedOS: iOS: introduced: '18.4' macOS: introduced: '27.0' type: assettypes: - com.apple.asset.data asset-content-types: - application/plist - application/x-plist - application/xml - text/xml presence: optional content: |- The identifier of an asset declaration containing a reference to the app config data. The device provides the app config data to the app using the MDMv1 behavior. The corresponding asset needs to be of type `com.apple.asset.data`. The referenced data needs to be a property list file, and the asset's "ContentType" value set to match the data type. related-status-items: - status-items: - app.managed.list note: Each configuration has a corresponding status item. examples: - title: Configuration examples files: - tab: App Store description: This configuration installs an App Store app with `Required` install behavior and a device license. file: examples/declarative/declarations/configurations/app.managed/example1.json - tab: Enterprise description: This configuration installs an enterprise app with app attributes, cellular downloads disallowed, and an update policy. file: examples/declarative/declarations/configurations/app.managed/example2.json - tab: Packaged description: This configuration manages an app installed by a package using a composed identifier to identify the app. file: examples/declarative/declarations/configurations/app.managed/example3.json - tab: Configuration description: This configuration installs an enterprise app with declarative app configuration for the app and an extension. file: examples/declarative/declarations/configurations/app.managed/example4.json