Windows Autopilot Device Preparation: Intune Grouping
In this article
Windows Autopilot device preparation with enrollment time grouping in Intune lets you assign a device to a group during OOBE, so the right apps and policies apply automatically. To set it up, create a device group, configure a device preparation policy with that group, assign the policy to devices, and ensure the device is registered. You need Intune and Autopilot access, and the device must be registered with Autopilot. Labels can differ slightly by Intune version or region.
What You'll Need
- Microsoft Intune admin access with permission to create groups, policies, and Autopilot devices.
- A device registered with Windows Autopilot (hardware hash uploaded).
- An Entra ID (Azure AD) group for devices, or rights to create one.
- Windows 11 (or supported Windows 10) device with internet access during OOBE.
Step-by-Step
- Create a device group in Entra ID. Go to the Microsoft Entra admin center > Groups > New group. Set Group type to Security, give it a clear name (e.g., "Autopilot – Sales Laptops"), and set Membership type to Assigned or Dynamic. If using Dynamic, add a rule that matches your devices (e.g., device.deviceModel -eq "Latitude 5440"). Save.
- Register the device with Autopilot. In Intune admin center, go to Devices > Windows > Windows enrollment > Devices (under Windows Autopilot). Import the hardware hash CSV if not already done. Ensure the device appears with a profile status of Assigned or Not assigned.
- Create a Windows Autopilot device preparation policy. In Intune, go to Devices > Windows > Windows enrollment > Device preparation policies (or Enrollment > Device preparation). Click Create policy. Name it, then under Enrollment time grouping, select the device group you created in step 1. This is the group the device will join during OOBE. Save.
- Assign the policy to devices. Open the policy, go to Assignments, and add the same device group (or a group containing the devices). The policy applies to devices, not users. Save.
- Assign the device to a user (optional but recommended). In Intune > Devices > All devices, select the Autopilot device, and set Primary user if you want user-targeted apps. For enrollment time grouping, the device group is what matters.
- Start OOBE on the device. Reset the device or boot it for the first time. Connect to the internet. The device should check Autopilot, download the device preparation policy, and join the group you specified. Sign in with a user account that has Intune enrollment rights.
- Verify group membership. After enrollment, check Entra ID > Groups > your device group > Members. The device should appear. Then confirm apps and policies assigned to that group are applied (Intune > Devices > your device > Managed apps / Device compliance).
Common Mistakes
- Assigning the policy to a user group instead of a device group. Device preparation policies target devices.
- Forgetting to register the hardware hash. Without it, Autopilot cannot identify the device.
- Using a dynamic group rule that does not match the device attributes (e.g., wrong model string). Test the rule.
- Not waiting for group membership to process. Dynamic groups can take minutes to update.
- Skipping the primary user assignment when user-targeted apps are needed.
Tips
- Use clear naming for groups and policies so you can trace which policy applies to which device set.
- Test with one device before rolling out to many.
- Keep the device group membership static if you want precise control; use dynamic only when you are confident in the rule.
- Document the group name in the policy description for future reference.
Troubleshooting
If the device does not join the group during OOBE, first confirm the device is registered in Autopilot and the policy is assigned to the correct device group. Check Entra ID group membership after enrollment; if the device is missing, review the dynamic rule or add it manually. If OOBE fails with an error, restart the device and try again. Ensure the user signing in has permission to join devices to Entra ID. For policy conflicts, review Intune > Devices > your device > Device configuration and look for failed assignments. If apps do not install, verify they are assigned to the device group and not only to users. As a last resort, remove the device from Autopilot, re-import the hash, and re-enroll.
Frequently Asked Questions
What is enrollment time grouping in Autopilot device preparation?
It is a setting that assigns the device to a specified Entra ID group during OOBE, so group-targeted apps and policies apply immediately.
Can I use a dynamic group for enrollment time grouping?
Yes, but the rule must match device attributes. Dynamic membership may take time to update, so verify the device appears in the group after enrollment.
Does the device need to be registered with Autopilot first?
Yes. The hardware hash must be uploaded and the device visible in Intune Autopilot devices.
What happens if the group is not found during OOBE?
Enrollment may continue but the device will not join the group, so policies may not apply. Check the group name and assignment.
Can I change the group after enrollment?
Yes, you can update the policy or move the device to another group, but changes apply on next policy refresh or re-enrollment.
Is enrollment time grouping available for all Windows versions?
It requires a supported Windows version and Intune configuration. Check Microsoft documentation for current requirements.