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 (public preview)
- 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
Important
This feature is in public preview. For more information, see Public preview in Microsoft Intune.
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 Microsoft or non-Microsoft 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. JIT Registration prompts users to authenticate twice:
- 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.
Once the device user reaches the home screen, they can sign in to any work or school app that's configured with the SSO extension to complete Azure AD registration and compliance checks. SSO signs the user into all apps that are a part of your SSO extension policy. At that point, they can also manually sign into any app that isn’t configured to use the SSO extension.
To set up JIT Registration:
- Start with Best practices for SSO configuration (in this article) for setup tips and recommendations.
- Create a device configuration policy and configure the settings under the Single sign-on app extension category. For steps, see Set up Just in Time Registration (in this article).
- Create an Apple enrollment profile for automated device enrollment.
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
Important
This feature is in public preview. For more information, see Public preview in Microsoft Intune.
Complete these steps to configure Just in Time (JIT) Registration in Intune for Setup Assistant with modern authentication.
Sign in to the Microsoft Intune 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 any non-Microsoft apps using single sign-on (SSO). The SSO extension automatically applies to all Microsoft apps, so to avoid authentication problems, don't add Microsoft apps to your policy. For more best practices and important considerations, see Best practices for SSO configuration (in this article).
Under Additional configuration, add the required key value pair. Remove trailing spaces before and after the value and key. Otherwise JIT registration won't work.
- 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. Remove trailing spaces before and after the value and key. Otherwise JIT registration won't work.
- 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. Don't add the Microsoft Authenticator app into the SSO extension.
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
- The user's first sign-in after they reach the home screen has to happen in a work or school app that's configured with the SSO extension. Otherwise, Azure AD registration and compliance checks can't be completed. We recommend pointing employees to the Microsoft Teams app, because it's integrated with the latest identity libraries and will provide the most streamlined experience from the user's home screen.
- The SSO extension automatically applies to all Microsoft apps, so to avoid authentication problems, don't add the bundle IDs for your Microsoft apps to your policy. You only need to add non-Microsoft apps.
- Don't add the bundle ID for the Microsoft Authenticator app to your SSO extension policy. Since it's a Microsoft app, the SSO extension will automatically work with it.
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 Teams or another Office app and signs in with their work account. If the device meets all compliance requirements, the device user will have access to their messages and calendar 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 and all Microsoft 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