Create device groups
- Windows 11
- Windows 10
- Windows Holographic, version 2004 or later
HoloLens 2 devices require Windows Autopilot self-deploying mode. For more information about using Windows Autopilot to deploy HoloLens 2 devices, see Windows Autopilot for HoloLens 2. Assign to User is not applicable for self-deployment Autopilot mode on Hololens 2.
Create an Autopilot device group using Intune
In the Microsoft Endpoint Manager admin center, select Groups > New group.
In New Group, configure the following properties:
Group type: Select Security.
Group name and Group description: Enter a name and description for your group.
Azure AD roles can be assigned to the group: Select No, Azure AD roles aren't assigned to this group.
For more information, see Use cloud groups to manage role assignments in Azure AD.
Membership type: Choose how devices become members of this group. Select Dynamic Device. For more information, see Add groups to organize users and devices.
Owners: Select users that own the group. Owners can also delete this group.
Dynamic device members: Select Add dynamic query > Add expression.
Create rules using Autopilot device attributes. Autopilot devices that meet these rules are automatically added to the group. Creating an expression using non-autopilot attributes doesn't guarantee that devices included in the group are registered to Autopilot.
When creating expressions:
To create a group that includes all of your Autopilot devices, enter:
(device.devicePhysicalIDs -any (_ -contains "[ZTDID]")).
Intune's group tag field maps to the
OrderIDattribute on Azure AD devices. To create a group that includes all Autopilot devices with a specific group tag (the Azure AD device
(device.devicePhysicalIds -any (_ -eq "[OrderID]:179887111881")).
To create a group that includes all your Autopilot devices with a specific Purchase Order ID, enter:
(device.devicePhysicalIds -any (_ -eq "[PurchaseOrderId]:76222342342"))
Save your expressions.
Anything assigned to these attributes will only be assigned if the device is Autopilot registered.
For information about formatting and using a CSV file to manually add Windows Autopilot devices, see Manually register devices with Windows Autopilot.
Assign a user to a specific Autopilot device
Assigning a licensed user to a registered Autopilot device using Microsoft Endpoint Manager no longer pre-fills any user information as described below. Please see Updates to the Windows Autopilot sign-in and deployment experience for details on this change. This change does not impact user assigned policies and apps which are still deployed to the device when a licensed user is assigned. See Windows Autopilot for pre-provisioned deployment for details on this.
You can assign a licensed Intune user to a specific Autopilot device. This assignment:
- Pre-fills a user from Azure Active Directory in the company-branded sign-in page during Windows setup.
- Lets you set a custom greeting name.
- Doesn't pre-fill or modify Windows sign-in.
- Azure Active Directory Company Branding has been configured.
- Windows 10, version 1809 or later.
Assigning a user to a specific Autopilot device doesn't work if you are using ADFS.
In the Microsoft Endpoint Manager admin center, choose Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program > choose the device > Assign user.
Choose an Azure user licensed to use Intune and choose Select.
In the User Friendly Name box, type a friendly name or just accept the default. This string is the friendly name that displays when the user signs in during Windows setup.
Using Autopilot in other portals
If you aren't interested in mobile device management, you can use Autopilot in other portals. While using other portals is an option, we recommend you only use Intune to manage your Autopilot deployments. When you use Intune and another portal, Intune isn't able to:
- Display changes to profiles created in Intune, but edited in another portal.
- Synchronize profiles created in another portal.
- Display changes to profile assignments done in another portal.
- Synchronize profile assignments done in another portal.
- Display changes to the device list that were made in another portal.
Windows Autopilot for existing devices
You can group Windows devices by a correlator ID when enrolling using Autopilot for existing devices through Configuration Manager. The correlator ID is a parameter of the Autopilot configuration file. The Azure AD device attribute enrollmentProfileName is automatically set to equal "OfflineAutopilotprofile-<correlator ID>". So, arbitrary Azure AD dynamic groups can be created based off correlator ID by using the enrollmentprofileName attribute.
Because the correlator ID is not pre-listed in Intune, the device may report any correlator ID they want. If the user creates a correlator ID matching an Autopilot or Apple ADE profile name, the device will be added to any dynamic Azure AD device group based off the enrollmentProfileName attribute. To avoid this conflict:
- Always create dynamic group rules matching against the entire enrollmentProfileName value
- Never name Autopilot or Apple ADE profiles beginning with "OfflineAutopilotprofile-".
If you want all devices in the assigned groups to automatically convert to Autopilot, set Convert all targeted devices to Autopilot to Yes. All non-Autopilot devices in assigned groups will register with the Autopilot deployment service. Allow 48 hours for the registration to be processed. When the device is unenrolled and reset, Autopilot will enroll it. After a device is registered in this way, disabling this option or removing the profile assignment won't remove the device from the Autopilot deployment service. You must remove the device by deregistering the device from Autopilot.
After you have created a device group, you can configure and apply a Windows Autopilot deployment profile to each device in the group. Deployment profiles determine the deployment mode, and customize the OOBE for your end users. For more information, see Configure deployment profiles.
For more information about managing your Windows Autopilot devices, see What is Microsoft Intune device management?