Authentication methods for automated device enrollment in Intune
Applies to iOS/iPadOS
This article describes the authentication methods available for iOS/iPadOS devices enrolled in Intune via automated device enrollment. Available authentication methods include:
- Intune Company Portal app
- Setup Assistant with modern authentication
- Just in Time (JIT) Registration for Setup Assistant with modern authentication
- Setup Assistant (legacy)
All methods are available for corporate-owned devices with user affinity and purchased through Apple Business Manager or Apple School Manager.
Option 1: Intune Company Portal app
Use the Intune Company Portal app as the authentication method if you want to:
- Use multi-factor authentication (MFA).
- Prompt users to change their passwords when they first sign in.
- Prompt users to reset their expired passwords during enrollment.
- Register devices in Azure AD and use features available with Azure AD, such as conditional access.
- Automatically install the Company Portal app during enrollment. If your company uses the Volume Purchase Program (VPP), you can automatically install Company Portal app during enrollment without user Apple IDs.
- You want to lock the device until the Company Portal app installs.
These features aren't supported in Apple Setup Assistant authentication methods.
Option 2: Setup Assistant with modern authentication
This option provides the same security as Intune Company Portal authentication but is different because it lets the device user access parts of the device even if the Company Portal hasn't been installed. Use this option for authentication when you want to:
- Wipe the device.
- Use multi-factor authentication (MFA).
- Prompt users to change their passwords when they first sign in.
- Prompt users to reset their expired passwords during enrollment.
- Register devices in Azure AD and use features available with Azure AD, such as conditional access.
- Automatically install the Company Portal app during enrollment. If your company uses the Volume Purchase Program (VPP), you can automatically install Company Portal app during enrollment without user Apple IDs.
- Allow users to use the device even when the Company Portal app isn't installed.
Setup Assistant with modern authentication is supported on devices running iOS/iPadOS 13.0 and later. Older iOS/iPadOS devices that are assigned this type of profile will fall back on Setup Assistant (legacy) authentication.
Automatically install Company Portal app
If your company uses the Volume Purchase Program (VPP), you can automatically install the Company Portal app during enrollment without user Apple IDs. To enable automatic installation in your enrollment profile, select Yes for Install Company Portal with VPP. We recommend using this option.
If you don't use the VPP option, the device user must enter their Apple ID during Setup Assistant or when Intune tries to install Company Portal.
In both scenarios, the Company Portal installation option is hidden from the device user, and the Company Portal becomes a required app on their device. When the user reaches the home screen, Intune automatically applies the correct app configuration policy to the device.
Caution
Don't send a separate app configuration policy to the Company Portal for iOS/iPadOS devices after enrolling with Setup Assistant with modern authentication. Doing so will result in an error.
Multi-factor authentication
Multi-factor authentication (MFA) will be required if a conditional access policy that requires it is applied at enrollment or during Company Portal sign-in. However, MFA is optional based on the Azure AD settings in the targeted conditional access policy.
MFA won't work for Setup Assistant with modern authentication if you're using a 3rd party MFA provider to present the MFA screen during enrollment. Only the Azure AD MFA screen works during enrollment.
Company Portal action required
After they go through the Setup Assistant screens, the device user lands on the home page. At this point, their user affinity is established. However, until the user signs in to the Company Portal using their Azure AD credentials and selects Begin, the device:
- Won’t be fully registered with Azure AD.
- Won’t show up in the user’s device list in Azure AD.
- Won’t have access to resources protected by conditional access.
- Won’t be evaluated for device compliance.
- Will be redirected to the Company Portal from other apps if the user tries to open any managed applications that are protected by conditional access.
Option 3: Just in Time Registration for Setup Assistant with modern authentication
This option is the same as Setup Assistant with modern authentication, except that Company Portal isn't required for Azure AD registration or compliance. Instead, Azure AD registration and compliance checks are fully integrated in a designated app that's configured with the Apple single sign-on (SSO) app extension. The extension reduces authentication prompts and establishes SSO across the whole device.
- One authentication handles enrollment and user-device affinity, and happens when the device user turns on their device and signs into Setup Assistant.
- Another authentication handles Azure AD registration and happens when the user signs into the designated app. Compliance checks are also done in this app.
The user's first sign-in after they reach the home screen must happen in an app that's configured with the SSO extension so that Azure AD registration and compliance can be completed. After the user authenticates for the first time, SSO signs the user into any app that’s part of the SSO extension policy. At that point, the user can also manually sign into any app that isn’t configured to use the SSO extension.
To set up JIT Registration, create a device configuration policy and configure the settings under the Single sign-on app extension category. Do this before you create an enrollment profile. For steps, see Set up Just in Time Registration (in this article).
Option 4: Setup Assistant (legacy)
Use the legacy Setup Assistant if you want users to experience the typical, out-of-box-experience for Apple products. This option installs standard preconfigured settings when the device enrolls in Intune. Use this option for authentication when:
- You want to wipe a device.
- You don't want modern authentication features such as multi-factor authentication.
- You don't want to register devices in Azure AD. Setup Assistant (legacy) authenticates the user with the Apple .p7m token.
If you're using Active Directory Federation Services and you're using Setup Assistant to authenticate, a WS-Trust 1.3 Username/Mixed endpoint is required. For more information, see Get-AdfsEndpoint in our Windows PowerShell Reference guide.
Set up Just in Time Registration
Complete these steps to configure Just in Time (JIT) Registration in Intune for Setup Assistant with modern authentication.
Important
Before you begin, revisit all Conditional Access policies targeted at devices enrolling with JIT Registration, and exclude Microsoft Intune from each policy.
Sign in to the Microsoft Endpoint Manager admin center.
Create an iOS/iPadOS device configuration policy under Device features > Category > Single sign-on app extension.
For SSO app extension type, select Microsoft Azure AD.
Add the app bundle IDs for the apps using single sign-on (SSO). Add all Office apps you want the extension to apply to, because they aren't automatically added.
For best practices and important considerations, see Best practices for SSO configuration (in this article).
Under Additional configuration, add the required key value pair:
- Key: device_registration
- Type: String
- Value: {{DEVICEREGISTRATION}}
(Recommended) Add the key value pair that enables SSO in the Safari browser for all apps in the policy:
- Key: browser_sso_interaction_enabled
- Type: Integer
- Value: 1
Designate the Microsoft Authenticator app as a required app and then assign it to a group. For more information, see Add apps to Microsoft Intune and Assign apps to groups.
Create an enrollment profile and select Setup Assistant with modern authentication as the authentication method. An active automated device enrollment token from Apple Business Manager or Apple School Manager must be present in Intune to complete this step.
When you get to the Assignments page, assign the profile to the devices synced from Apple Business Manager and Apple School Manager. Once the profile has been assigned, employees and students can complete setup and authentication on their devices.
Note
The Company Portal is still sent to devices as a required app, even though it isn't required for Azure AD registration or compliance. Device users can use the Company Portal app to gather and upload logs if they experience issues in the app.
Best practices for SSO configuration
You don't need to manually add apps that use the Microsoft Authentication Library (MSAL) to the device configuration policy. Apps that only use Azure Active Directory Authentication Library (ADAL) must be manually added. As more apps migrate over to MSAL, there will be less of a need to manually add apps to the policy.
To make the experience easier for device users, we recommend adding all Microsoft Office apps you want the SSO extension to apply to. The user's first sign-in has to happen in an app that's configured with the SSO extension. Otherwise, Azure AD registration can't be completed. For example, if you only add Microsoft Teams, it will be the only app that can initiate Azure AD registration with the SSO extension. In that scenario:
- The device user tries to sign into a different app first, such as Microsoft Outlook.
- Conditional Access blocks the user from signing in.
After the user signs in to the appropriate app, SSO signs the user into all apps that are a part of the SSO extension policy. At this point, the device user can manually sign into apps that that don't use the SSO extension.
Example of successful authentication
The following sequence of events describes an example of what a successful authentication looks like with JIT Registration for Setup Assistant with modern authentication. Your organization's experience may be different depending on your automated device enrollment configurations.
The device user turns on the device.
Setup Assistant begins. The device user authenticates with their Azure AD credentials in Setup Assistant.
The device user completes multi-factor authentication if that's required in the Conditional Access policy.
The device finishes enrolling in Intune and user-device affinity is established.
The device user lands on the home screen and opens Microsoft Outlook or another SSO-configured Office app and signs in with their work account. If the device meets all compliance requirements, the device user will have access to their email right away.
Note
During Azure AD registration, the device user may see a short spinner while Intune finishes the compliance checks. This is expected behavior.
The SSO extension establishes single sign-on in all other targeted apps.
The device is registered with Azure AD and compliant. You can view the status of the device in the admin center and Azure AD. The device user can view the status in Intune Company Portal and use Company Portal for compliance, app inventory, device syncs, and log sharing.
The device user opens Teams and is automatically signed in. The end user opens Word, PowerPoint, and Excel, and is automatically signed in.
Feedback
Submit and view feedback for