Use custom settings for macOS devices in Microsoft Intune

Important

Custom configuration profiles shouldn't be used for sensitive information, such as WiFi connections or authenticating apps, sites, and more. Instead, use the built-in profiles for sensitive information, as they're designed and configured to handle sensitive information.

For example, use the built-in Wi-Fi profile to deploy a Wi-Fi connection. Use the built-in certificates profile for authentication.

Using Microsoft Intune, you can add or create custom settings for your macOS devices using a "custom profile". Custom profiles are a feature in Intune. They're designed to add device settings and features that aren't built in to Intune.

When using macOS devices, there are two ways to get custom settings into Intune:

You can use these tools to export settings to a configuration profile. In Intune, you import this file, and then assign the profile to your macOS users and devices. Once assigned, the settings are distributed. They also create a baseline or standard for macOS in your organization.

This article provides some guidance on using Apple Configurator and Apple Profile Manager, and describes the properties you can configure.

Before you begin

Create a macOS custom device configuration profile.

What you need to know

  • When using Apple Configurator to create the configuration profile, be sure the settings you export are compatible with the macOS version on the devices. For information on resolving incompatible settings, search for Configuration Profile Reference and Mobile Device Management Protocol Reference on the Apple Developer website.

  • When using Apple Profile Manager, be sure to:

    • Enable mobile device management in Profile Manager.

    • Add macOS devices in Profile Manager.

    • After you add a device in Profile Manager, go to Under the Library > Devices > select your device > Settings. Enter the general, security, privacy, directory, and certificate settings for the device.

      Download and save this file. You'll enter this file in the Intune profile.

    • Be sure the settings you export from the Apple Profile Manager are compatible with the macOS version on the devices. For information on resolving incompatible settings, search for Configuration Profile Reference and Mobile Device Management Protocol Reference on the Apple Developer website.

Custom configuration profile settings

  • Configuration profile name: Enter a name for the policy. This name is shown on the device, and in the Intune status.

  • Deployment channel: Select the channel you want to use to deploy your configuration profile. If you send the profile down the wrong channel, deployment could fail. After you select a channel and save the profile, the channel can't be changed. To select a different channel, create a new profile.

    User-targeted payloads will not apply to devices enrolled without user affinity. For more information on whether a payload can be used for a device configuration profile or a user configuration profile, see Profile-Specific Payload Keys on the Apple Developer website.

  • Configuration profile file: Browse to the .xml or .mobileconfig file you created using the Apple Configurator or Apple Profile Manager. The max file size is 1000000 bytes (just under 1 MB). The file you import is shown. You can also Remove a file after it's been added.

    You can also add device tokens to your .mobileconfig files. Device tokens are used to add device-specific information. For example, to show the serial number, enter {{serialnumber}}. On the device, the text shows similar to 123456789ABC, which is unique to each device. When entering variables, be sure to use curly brackets {{ }}. App configuration tokens includes a list of variables that can be used. You can also use deviceid or any other device-specific value.

    Note

    Variables aren't validated in the UI, and are case sensitive. As a result, you may see profiles saved with incorrect input. For example, if you enter {{DeviceID}} instead of {{deviceid}}, then the literal string is shown instead of the device's unique ID. Be sure to enter the correct information.

Next steps

Assign the profile and monitor its status.

Create a custom profile on iOS/iPadOS devices.