Troubleshoot Windows Autopilot Enrollment
A Windows Autopilot device that stops at “Something went wrong” usually fails at one of a few points: configuration, network, the out-of-box experience, Microsoft Entra join, or MDM enrollment. Microsoft’s own checklist walks those in order (Key troubleshooting activities (opens in a new tab)). This guide gets you to the logs fast and covers the error codes that come up most.
Before you start
- Roles: Intune Administrator for the Intune admin center steps.
- License: Autopilot needs Microsoft Entra ID P1 or P2 plus Intune (or another MDM service), which plans such as Microsoft 365 Business Premium or Microsoft 365 E3/E5 include; licenses still have to be assigned to the users who enroll (Autopilot licensing requirements (opens in a new tab)). The Intune column of Require a compliant device on License requirements covers the per-user or per-device Intune license.
- Check the basics first: Microsoft Entra ID and Intune configured as Autopilot requires, and the device able to reach the Autopilot network endpoints (Key troubleshooting activities (opens in a new tab)).
- Known issues: skim Microsoft’s Windows Autopilot known issues (opens in a new tab) list; several report and TPM attestation problems are listed there with workarounds.
Get the details
- Turn on the diagnostics page. In the Enrollment Status Page (ESP) profile, set Show app and profile configuration progress and Turn on log collection and diagnostics page for end users to Yes. On the device, select View Diagnostics or press Ctrl+Shift+D. It works on Windows 11, user-driven mode, with a work or school account (Diagnostics page (opens in a new tab)).
- Read the event log. Autopilot logs to Application and Services Logs > Microsoft > Windows > ModernDeployment-Diagnostics-Provider > Autopilot (Where Autopilot logs (opens in a new tab)).
- Collect diagnostics. Diagnostics are collected automatically on a failure; for uploads to work,
lgmsapeweu.blob.core.windows.netmust not be blocked (Diagnostics note (opens in a new tab)).
Common errors and fixes
- 0x80180014 when re-enrolling a device. For self-deploying or pre-provisioning mode, the Intune device record must be deleted before reuse: in Devices > Windows > Enrollment > Windows Autopilot > Devices, select the device and Unblock device, then redeploy. It also happens when Windows (MDM) is set to Block in a device platform restriction; set it to Allow (0x80180014 (opens in a new tab)).
- 80180018 “Something went wrong”. Common causes are a missing or wrong license on the user, or too many devices enrolled for the user (80180018 (opens in a new tab)).
- Too many devices. The default Microsoft Entra limit is 50 joined devices per user, and it’s configurable (Device limit (opens in a new tab)). Most Entra join failures are permissions on who can join devices (Most common join issue (opens in a new tab)).
- 0x80070774 during ESP (hybrid join). A domain mismatch between where the Intune Connector for Active Directory is installed and where device configuration is targeted (0x80070774 (opens in a new tab)).
- CSV import does nothing. The hardware hash is usually formatted wrong; Autopilot expects padded Base64 (Hash import (opens in a new tab)).
- Join type shows Microsoft Entra registered. The device was registered before it was joined. Delete its Intune, Microsoft Entra ID and Autopilot objects, then re-register and re-enroll (Join type (opens in a new tab)).
- Join fails after someone deleted the device object. The Microsoft Entra device created at import is Autopilot’s anchor for groups and the profile. Delete and reimport the device to fix it (Deleted device object (opens in a new tab)).
Gotchas
- Don’t delete Autopilot device objects in Microsoft Entra ID during cleanup. See Stale device cleanup.
- After a hardware change, the profile isn’t applied if the device is reimaged to an older Windows build than Microsoft lists (Hardware change (opens in a new tab)).
- Some policies are known to conflict with Autopilot (Known conflicting policies (opens in a new tab)).
Check it worked
- The device finishes the ESP and the user lands on the desktop.
- In the Microsoft Entra admin center the device shows as Microsoft Entra joined (or hybrid joined), and in Intune it shows as compliant once policies apply. For join state on the device, see dsregcmd troubleshooting.
Related on EntraReady: Troubleshooting device join, Require compliant devices, Windows LAPS with Intune, and Stale device cleanup.
Sources (Microsoft Learn): Windows Autopilot troubleshooting FAQ (opens in a new tab), Windows Autopilot known issues (opens in a new tab).
← All GuidesIs this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.