(Apple) Managing settings

Create setting configurations that you can group with web clips and enterprise applications into collections and push out to enrolled endpoints.

Add a custom setting

You can use a configuration profile that you generate outside of Device Management to create custom settings. For more information about these profiles, see Apple Platform Deployment documentation: Configuration profiles.

  1. From the Main menu, go to Shared Services > Device Management Apple > Settings.
  2. In the Custom Setting section, click add.
  3. Specify the name for the setting configuration and click check to save your change.
  4. In the Choose a platform section, select the operating systems for which the setting applies.
  5. In the Upload your profile section, browse to or drag and drop the MOBILECONFIG file for the setting.
  6. Click Open.
  7. (Optional) In the Notes section, add notes to identify the setting configuration.
  8. Click Save.

Add a curated setting

If you do not have a configuration profile, use the curated settings to configure settings for endpoints.

  1. From the Main menu, go to Shared Services > Device Management Apple > Settings.
  2. In the tile for the setting that you want to add, click add.
  3. Specify the name for the setting configuration and click check to save your change.
  4. In the Choose a platform section, select the operating systems for which the setting applies.
  5. Configure the options for the setting.

    For more information, see:

    Note:
    • If you configure a setting that is not compatible with a targeted device, such as a Software Update Enforcement setting configured with an OS version that is not compatible with the hardware on the targeted device, the device might return an error or silently ignore the enforcement. This behavior is by Apple design. In this scenario, the enforcement shows in the MDM profile and no errors or notifications are shown on the device.

    • If you enable FileVault for a device, the recovery key is available in Enforce. From the Main menu, go to Modules > Enforce > Endpoint Encryption > Recovery Keys. Recovery keys escrowed using Device Management are not available through the encryption key recovery portal.

  6. Click Save.

Delete a setting

Important: You can delete settings that are used in collections. Confirm the usage and deployment before you delete a setting.
  1. From the Main menu, go to Shared Services > Device Management Apple > Settings.
  2. In the Settings Configurations list, click the name of the setting that you want to delete.
  3. Click Delete trash.
  4. Click Confirm.

Review settings

  1. From the Main menu, go to Shared Services > Device Management Apple > Settings.

  2. In the Settings Configurations list, click the name of the setting that you want to review.

    • On the Overview tab, you can see the status of the setting application, the collections to which the settings belong, who created the settings, when the settings were created, and notes. Click a status in the donut chart to see a list of the endpoints.

      Figure 1. Overview tab
      Shows the details on the Settings page for a configured setting
    • (Custom settings) The Configuration tab shows the platforms for the setting and the profile used for the setting. Click View XML to review the profile details. Click Replace and browse or drag and drop a MOBILECONFIG file to use a different profile.

    • The Devices tab shows details about the endpoints where the settings are applied.

      Figure 2. Devices tab
      Shows the Devices tab on the Settings details page

Use device variables in settings

When you create or edit a setting, you can include device variables, which are placeholders that Device Management automatically replaces with the actual information for the device when the setting is delivered. Device variables let you build one setting that applies correctly to every targeted device, instead of creating a separate setting for each device.

Where you can use device variables

Device variables can be used in the following settings:

Note: FileVault does not have a field where you can use a device variable.

Syntax

Wrap a variable name in double curly braces: {{VariableName}}. Place the variable inside a text field where you would normally type a literal value.

Examples:

  • In the proxy username field in a Wi-Fi setting: {{SerialNumber}}

  • In the Subject field of a Certificates setting: CN={{SerialNumber}},O=Example Corp

Variable names are case-sensitive. {{SerialNumber}} resolves correctly; {{serialnumber}} or {{SERIALNUMBER}} does not. Use the exact spelling and capitalization shown in the following table.

Available device variables

Table 1. Device variables

Variable

Description

SerialNumber

The device serial number.

UDID

The device UDID.

DeviceName

The device name, as shown in Device Management.

ModelIdentifier

The device model identifier, for example, iPhone13,3.

ModelMarketingName

The device model marketing name, for example, iPhone 13 Pro.

ModelFamily

The device model family, for example, iPhone.

OSVersion

The device operating system version.

OSMarketingName

The operating system marketing name.

WiFiMAC

The device Wi-Fi MAC address.

EthernetMAC

The device Ethernet MAC address.

BluetoothMAC

The device Bluetooth MAC address.

Hostname

The device network host name.

UserEmail

The email address of the enrolled user. Available only for ADE-enrolled devices. See UserEmail and UserName require ADE enrollment.

UserName

The name of the enrolled user. Available only for ADE-enrolled devices. See UserEmail and UserName require ADE enrollment.

Limitations

Device variables only replace text inside an existing value. You cannot use a device variable to build a list, add conditional logic, or generate new fields. If you type a variable name that is not in the preceding table, or misspell one, Device Management rejects the setting when you try to save it, so you find out immediately instead of after the setting is delivered.

UserEmail and UserName require ADE enrollment

UserEmail and UserName are populated only for devices that enrolled through Automated Device Enrollment (ADE) with an identity provider configured for authenticated enrollment. Devices enrolled any other way, including ADE enrollments that did not use an identity provider, have blank values for these two variables. A blank value does not cause an error: the setting still saves and delivers successfully, with an empty value where the variable was. Use UserEmail or UserName only if every device that the setting is assigned to is known to have enrolled through ADE with identity provider authentication.

Using device variables in a Wi-Fi setting

In a Wi-Fi setting, you can use a device variable in the proxy username field. SerialNumber, UDID, DeviceName, Hostname, UserEmail, and UserName are all appropriate here, depending on how your proxy server identifies devices or users.

Using device variables in a Certificates setting

If you use a device variable in a Certificates setting (SCEP or ACME), use SerialNumber, UDID, or ModelIdentifier since these values never change for a device. Avoid UserEmail, Hostname, or DeviceName if the value might change after you assign the setting: if the value changes between assignment and when the device requests a certificate, the request can fail. If this happens, resend the setting to the affected devices; the setting regenerates correctly using current information from the device.

What to do next

To apply these settings to devices, create a collection and target the collection to a group of devices. For more information, see (Apple) Managing collections.