Error Code 80180018

Copper Contributor

While Enrolling windows devices in Intune with EMS E3 licenses assigned to users we are getting the error code 80180018

8 Replies

Hi @HarshJ8,

error can be related to these reasons:

  1. Incorrect or missing licenses assigned to the user.
  2. Too many devices enrolled for the user.
  3. If the user account previously had a device connected to Azure AD, you must first disconnect and delete that device from all device portals.

Here are some potential solutions:



Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.


If the post was useful in other ways, please consider giving it Like.


Kindest regards,


Leon Pavesic
(LinkedIn)
(Twitter)

Hello @LeonPavesic we have already tried the above mentioned steps but we are still not able to enroll devices in Intune
Did you run the troubleshooter (the only one that helps :) ) in the intune portal itself as i also mention in part 5.3: https://call4cloud.nl/2022/06/enrollmenterrorsintune/#part5
Even when you assigned the proper license, it could be that it doesn't flip on the intune part of the license....
Besides the error you mention, in the events logs that i also mention in that blog any other useful error in it that could tell you more about whats going on
Also.... how are you enrolling the device... as an existing device? hybrid? autopilot?

@Rudy_Ooms_MVP we have already run the troubleshooter it shows Account is enabled and license is assigned . We are trying to enroll device through the Autopilot mode, we have also tried other ways to enroll the device such as enrolling the device through the company portal app, directly enrolling the device to Azure AD.

Thats kinda weird because:

https://learn.microsoft.com/en-us/windows/client-management/mdm-diagnose-enrollment
0x80180018 "idErrorMDMLicenseError", // MENROLL_E_USERLICENSE There was an error with your license. You can try to do this again or contact your system administrator with the error code {0}.

Is everyone getting the same error who you are trying to enroll?
Yes we tried with 3 different users and 4 different devices but the same error pops up
Which windows build number/version are you using? I assume you also tried to enroll the device from a different network?
I assume the authority is also set to MDM?
https://learn.microsoft.com/en-us/mem/intune/fundamentals/mdm-authority-set
Windows 10 Enterprise, Version 21H1(19043.1766), we have tried from a different network also, authority is set to MDM.

Just FYI, we are trying to enroll different devices with different OS and everything