(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.
- From the Main menu, go to .
- In the Custom Setting section, click
.
- Specify the name for the setting configuration and click
to save your change.
- In the Choose a platform section, select the operating systems for which the setting applies.
- In the Upload your profile section, browse to or drag and drop the MOBILECONFIG file for the setting.
- Click Open.
- (Optional) In the Notes section, add notes to identify the setting configuration.
- Click Save.
Add a curated setting
If you do not have a configuration profile, use the curated settings to configure settings for endpoints.
Delete a setting
- From the Main menu, go to .
- In the Settings Configurations list, click the name of the setting that you want to delete.
- Click Delete
.
- Click Confirm.
Review settings
-
From the Main menu, go to .
-
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 -
(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
-
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:
-
Custom Setting: any field in the configuration profile that you upload.
-
Certificates: the Subject field for SCEP and ACME certificate settings. For more information, see Using device variables in a Certificates setting.
-
Wi-Fi: the proxy username field. For more information, see Using device variables in a Wi-Fi setting.
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
|
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.
iOS, iPad, iPadOS, iPhone, Mac, and macOS are trademarks of Apple Inc., and registered in the U.S. and other countries and regions.
Android, ChromeOS, and Google are trademarks of Google LLC.