Tutorial: Set up Microsoft Intune enrollment for iOS/iPadOS devices in Apple Business Manager

Use Apple Business Manager with Microsoft Intune to simplify and automate device enrollment for iOS/iPadOS devices procured through Apple Business Manager. Automated device enrollment, which we'll set up in this tutorial, enables secure automatic enrollment the first time the user turns on the device by deploying the enrollment profile to the device over-the-air.

In this tutorial, you'll learn how to:

  • Get an Apple device enrollment token
  • Sync managed devices to Intune
  • Create an enrollment profile
  • Assign the enrollment profile to devices

At the end of this tutorial, devices will be ready to distribute for enrollment.


If you don't have an Intune subscription, sign up for a free trial account.

Step 1: Add MDM server

Create an MDM server profile for Microsoft Intune in Apple Business Manager. The token you download in this step will enable the connection between Microsoft Intune and Apple Business Manager in a later step.

  1. Sign in to the Microsoft Intune admin center.

  2. Go to Devices > iOS/iPadOS > iOS/iPadOS enrollment.

  3. Select Enrollment program tokens.

  4. Select Add.

  5. Select I agree to grant permission to Microsoft to send user and device information to Apple.

  6. Select Download your public key to download the server's public key certificate (a .pem file) to your local drive.

  7. Select Create a token via Apple Business Manager and sign in to Apple Business Manager with your company Apple ID.


    While you're in Apple Business Manager, don't close the browser tab with Microsoft Intune. You'll return to it later.

  8. Add an MDM server called TestMDMServer and download the server token for it in Apple Business Manager. For details and instructions, see Link to a third-party MDM server(opens Apple Business Manager User Guide). Save the server token locally as a P7M file (.p7m). Then continue to Step 2: Assign devices.

Step 2: Assign devices

While you're in Apple Business Manager, assign devices to your new MDM server (TestMDMServer or whatever you named it). For details and instructions, see Assign, reassign, or unassign devices in Apple Business Manager(opens Apple Business Manager User Guide). When you're done assigning devices, continue to Step 3: Upload MDM server token.

Step 3: Upload MDM server token

Return to the Microsoft Intune admin center to upload the MDM server token to Intune. After you upload the token, Microsoft Intune can sync and enroll iOS/iPadOS devices assigned to TestMDMServer.

  1. For Apple ID, enter the Apple ID you used to create the token.
  2. Under Apple token, upload the server token you saved earlier. The file must be in P7M format.
  3. Select Next.
  4. Optionally, apply scope tags to the enrollment token to limit other admins from accessing or making changes to it. For more information about scope tags, see Use role-based access control (RBAC) and scope tags for distributed IT.
  5. Select Next.
  6. On Review + create, select Create to finish linking Microsoft Intune and Apple Business Manager.

Microsoft Intune automatically syncs with Apple Business Manager. Devices can take up to 12 hours to appear in the admin center. You can wait for these devices to sync, or manually start the sync. To start the sync yourself, select your token from the list in the admin center, and then choose Devices > Sync.

Step 4: Create an Apple enrollment profile

Create an enrollment profile for corporate-owned iOS/iPadOS devices. A device enrollment profile defines the settings applied to a group of devices during enrollment.

  1. Select your token in the admin center, and then choose Profiles > Create profile > iOS/iPadOS.

  2. On the Basics page, enter TestProfile for Name and Testing ADE for iOS/iPadOS devices for Description. Users don't see these details.

  3. Select Next.

  4. On the Management Settings page, decide if you want your devices to enroll with or without User Affinity. User Affinity is designed for devices that will be used by particular users. If your users will want to use the Company Portal for services like installing apps, choose Enroll with User Affinity. If your users don't need the Company Portal or you want to provision the device for many users, choose Enroll without User Affinity.

  5. If you chose to enroll with User Affinity, the Select where users must authenticate option appears. Decide if you want to Authenticate with Company Portal or Apple Setup Assistant.

    • Company Portal: Select this option to use Multi-Factor Authentication, allow users to change passwords upon first sign-in, or prompt users to reset their expired passwords during enrollment. If you want the Company Portal application to update automatically on end users' devices, separately deploy the Company Portal as a required app to these users through Apple's Volume Purchasing Program (VPP).
    • Setup Assistant: Select this option to use Apple's provided basic HTTP authentication through Apple Setup Assistant
  6. If you chose to enroll with User Affinity and Authenticate with Company Portal, the Install Company Portal with VPP option appears. If you install the Company Portal with a VPP token, your user won't have to enter an Apple ID and Password to download the Company Portal from the app store during enrollment. Choose Use Token: under Install Company Portal with VPP to select a VPP token that has free licenses of the Company Portal available. If you don't want to use VPP to deploy the Company Portal, choose Don't use VPP.

  7. If you chose to enroll with User Affinity, Authenticate with Company Portal, and Install Company Portal with VPP, decide if you want to run the Company Portal in Single App Mode until Authentication. With this setting, you can ensure the user doesn't have access to other apps until they finish the corporate enrollment. If you want to restrict the user to this flow until enrollment is completed, choose Yes under Run Company Portal in Single App Mode until authentication.

  8. Under Device Management Settings, choose Yes under Supervised (if you chose Enroll with User Affinity, this is automatically set to Yes). Supervised devices give you the most management options for your corporate iOS/iPadOS devices.

  9. Choose Yes under Locked enrollment to ensure your users can't remove management of the corporate device.

  10. Choose an option under Sync with Computers to determine if the iOS/iPadOS devices will be able to sync with computers.

  11. By default, Apple names the device with the device type, such as iPad. If you want to provide a different name template, choose Yes under Apply device name template. Enter the name you want to apply to the devices, where the strings {{SERIAL}} and {{DEVICETYPE}} will substitute each device's serial number and device type. Otherwise, choose No under Apply device name template.

  12. Choose Next.

  13. On the Setup Assistant page, Tutorial department for Department Name. This string is what users see when they tap About configuration during device activation.

  14. Under Department Phone, enter a phone number. This number appears when users tap the Need help button during activation.

  15. You can Show or Hide various screens during device activation. For the most seamless enrollment experience, set all screens to Hide.

  16. Choose Next to go to the Review + Create page. Select Create.

Step 5: Assign an enrollment profile to iOS/iPadOS devices

You must assign an enrollment program profile to devices before they can enroll. These devices are synced to Intune from Apple, and must be assigned to the proper MDM server token in the ABM, ASM, or ADE portal.

  1. In the admin center, choose your token from the list.
  2. Select Devices and choose the devices you want to assign.
  3. Select Assign profile.
  4. Under Assign profile, choose a profile for the devices > Assign.


Ensure that Device Type Restrictions under Enrollment Restrictions does not have the default All Users policy set to block the iOS/iPadOS platform. This setting will cause automated enrollment to fail and your device will show as Invalid Profile, regardless of user attestation. To permit enrollment only by company-managed devices, block only personally owned devices, which will permit corporate devices to enroll. Microsoft defines a corporate device as a device that's enrolled via a Device Enrollment Program or a device that's manually entered under Corporate device identifiers.

Step 6: Distribute devices to users

You've set up management and syncing between Apple and Intune, and assigned a profile to let your ADE devices enroll. You can now distribute devices to users. Devices with user affinity require each user be assigned an Intune license.

Next steps

You can find more information about other options available for enrolling iOS/iPadOS devices.