Autopilot & Enrollmentdecimal -2145910760
Fix Intune Error 0x80180018
No valid Intune licence for the enrolling user — enrolment never starts, or the licence was assigned after sign-in.
Open the log below first. It is the quickest way to confirm which of the causes applies before you change anything.
Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider%4Admin.evtx
Folder: C:\Windows\System32\winevt\Logs\
Root causes
- The user has no Intune licence, or no Microsoft 365 licence that includes Intune.
- The licence was assigned after the user signed in, so enrolment never triggered.
- The licence assignment failed or was removed.
- The user signed in with a different account than the licensed one.
Step-by-step remediation
- In Entra ID check the user has an Intune licence assigned (Users > the user > Licenses).
- If the licence was just assigned, sign out and back in, then retry enrolment.
- Check the DeviceManagement-Enterprise-Diagnostics-Provider Admin log for the licence error around the failure time.
- Confirm automatic MDM enrolment scope includes the user (Entra ID > Mobility (MDM and MAM) > Microsoft Intune).
- Retry enrolment and confirm the device appears in Intune.
For the full diagnosis around this error, read Windows Autopilot Enrollment Status Page Stuck at 0% — Causes and Fixes.
Tighten the rollout around it
Enrollment and compliance errors usually trace back to rollout design and device permissions. See how the endpoint privilege management tools compare, and start the next import from a clean Autopilot hardware-hash file.
Compare Intune endpoint privilege management toolsRelated Error Codes in This Category
Other Autopilot & Enrollment errors with their own runbooks.
- 0x80180014The MDM service refused enrollment: Windows (MDM) is blocked by an enrollment restriction, or the reused Autopilot device record is blocked.
- 0x80180013The user has reached the Intune device limit (15 by default), so enrollment of another device is refused.
- 0x80180026MDM enrollment was blocked because another management agent is present: automatic MDM enrollment collides with the legacy Intune PC client.
- 0x8018002BGroup Policy based automatic MDM enrollment failed, normally because the UPN is non-routable or the MDM user scope is None.
- 0x800705B4A timeout (ERROR_TIMEOUT). In Autopilot it is typically TPM 2.0 attestation failing during self-deploying mode, or the ESP device phase timing out.
- 0x801C03EATPM attestation failed, so the device could not get a device token and failed to join Microsoft Entra ID.
- 0x8018000AThe device is already enrolled in another MDM — usually a stale enrolment, a cloned image, or a leftover work account.
- 0x801C0003The user is not authorised to join devices to Entra ID or enrol — device-join permission, device quota, or a device-type restriction blocks them.
- 0x80090016The TPM is not ready, or Windows does not own it, so device registration cannot save the device key (Keyset does not exist).
- 0x80070774Hybrid Autopilot timed out at sign-in: the device could not find or reach a domain controller, so it could not join the domain.