Skip to main content
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

  1. In Entra ID check the user has an Intune licence assigned (Users > the user > Licenses).
  2. If the licence was just assigned, sign out and back in, then retry enrolment.
  3. Check the DeviceManagement-Enterprise-Diagnostics-Provider Admin log for the licence error around the failure time.
  4. Confirm automatic MDM enrolment scope includes the user (Entra ID > Mobility (MDM and MAM) > Microsoft Intune).
  5. 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 tools

Other Autopilot & Enrollment errors with their own runbooks.

Search all 46 error codes