Get an Apple token for school devices
Before you can enroll corporate-owned iOS/iPadOS devices with Apple School Manager, you need a token (.p7m) file from Apple. This token lets Intune sync information about Apple School Manager-participating devices. It also permits Intune to perform enrollment profile uploads to Apple and to assign devices to those profiles. While you are in the Apple portal, you can also assign device serial numbers to manage.
Get Apple token
In the first set of steps, you download the Intune public key certificate required to create an Apple token.
Sign in to the Microsoft Intune admin center and go to Devices.
Expand Device onboarding, and then select Enrollment.
Select the Apple tab.
Choose Enrollment program tokens.
Select Create.
Select I agree to give permission to Microsoft to send user and device information to Apple.
Select Download your public key. This step downloads and saves the encryption key (.pem) file locally. The .pem file is used to request a trust-relationship certificate from the Apple School Manager portal.
In the next set of steps, you download a token and assign devices. Keep the browser and tab with the admin center open while you're completing steps in Apple School Manager.
Tip
The following steps describe what you need to do in Apple School Manager. For the specific steps, see the Apple School Manager User Guide (opens Apple Support).
Choose Create a token via Apple School Manager, and sign in to Apple School Manager with your company Apple ID. You can use this Apple ID to renew your Apple School Manager token.
In Apple School Manager, go to your MDM Server assignments to add an MDM server.
Enter the mobile device management (MDM) server name. The server name is for your reference to identify the MDM server. It isn't the name or URL of the Microsoft Intune server.
Upload the public key certificate file (.pem file).
Save your MDM server.
Select the download button to download the server token (.p7m) file to your computer.
Go to Devices and select the devices you want to assign to this token. You can sort by various device properties, like serial number. You can also select multiple devices simultaneously.
Select Edit MDM Server. Select the MDM server you just added, and then save your changes. This step assigns devices to the token.
Return to the Microsoft Intune admin center and enter the Apple ID you used to create the token.
For Apple token, browse to the certificate (.pem) file. Select Open, and then choose Create. With the push certificate, Intune can enroll and manage iOS/iPadOS devices by pushing policies to enrolled mobile devices. Intune automatically syncs your Apple School Manager devices from Apple.
Next steps
This series of articles describes how to set up Microsoft Intune for devices purchased through Apple School Manager.
- Prerequisites
- 🡺 Get an Apple token for school devices (You are here)
- Create an Apple enrollment profile
- Sync and distribute devices