Error code :80180006

Chadi Boustani 200 Reputation points
2024-01-11T08:44:32.21+00:00

Hello Everyone. Trying to enroll devices with microsoft intune using company portal. When trying to sign in receiving error code :80180006 Server message: Unknown error code 0x80180006 Environment is WIN 10 pro 22H2: build 19045. Any advice on how to fix? Thanks

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,602 questions
{count} votes

22 answers

Sort by: Most helpful
  1. Neil Wilson 0 Reputation points
    2024-01-19T15:36:05.79+00:00

    Someone posted on here earlier but it seems to have disappeared - but thank you anyway! Resolved for us by changing the MAM/WIP intune setting to "Some" and excluding (well, not including) certain users (in particular those with AD joined machines - they are not hybrid joined, just AAD registered) - took about 20-30 mins to take effect but it worked. User's image

    Thank you!


  2. RikC 0 Reputation points
    2024-01-19T21:16:43.5233333+00:00

    I was looking at this thread as I installed a new PC with Windows 11 Pro and tried to connect to my work account and kept getting the 80180006 error when trying to do so. And when trying the option --> 'Enroll only in device management' as recommended in this topic and got a 80180014 error which stated that my version of windows wasn't supported by my company which struck me as odd. So I contacted my company helpdesk and they gave me a standard answer about running windows update when getting an actual answer Thus, I saw all the recent messages in this topic and figured this problem might resolve itself in due time and that I was just unlucky in my timing in getting a new pc. Then I figured I'd try one more thing - install office and connect it to the company account. And this worked after unchecking 'allow the company to manage my device'. After that my account also is displayed in the configuration screen as a connected work/school account! So I somehow bypassed this problem as an end user in this manner :-).

    0 comments No comments

  3. James Walz 0 Reputation points
    2024-01-23T15:23:58.7033333+00:00

    I have a fix. On the domain PC, login with a domain admin account/Global Admin Account and add the PC/LAPTOP to "Account>Access Work or School" and "Enroll only in device Management." Make sure you us the Global Admin Account to enroll the deivce. Use the following URL "https://enrollment.manage.microsoft.com/enrollment/discovery.svc "/ to enroll. It worked for me. Then reboot. If you check the portal for the device it will ONLY show up as Intune Registered. Now log in with the users domain account and add the work account. Once thats completed the device will show up as a "Corporate" Device, and Entra Registered.


  4. Abhinav 0 Reputation points
    2024-01-24T19:10:44.7166667+00:00

    Faced the same issue while setting up a new Windows 11 laptop for an employee, and trying to add their O365 account through "Access Work or School".

    Resolved by following these steps:

    1. Access Work or School
    2. Enroll only in device management -> add user O365 credentials
    3. Restart computer
    4. Access Work or School -> Add a work or school account (Connect) -> enter user O365 credentials
    5. Look for "Connected by username@org.ca (Connected to <org> MDM)" -> Disconnect
    6. Voila! Issue resolved.
    0 comments No comments

  5. John Doe 5 Reputation points
    2024-01-31T13:10:26.2566667+00:00

    I just had a call with a Microsoft representative and during that call we found a permanent workaround that works for our use case.

    The fix is to register the device via MS Edge and uncheck the box that says "Allow my organization to manage my device".

    Afterwards, the device is registered in the "Work or School account" options.

    The steps are described in this MS article:
    https://learn.microsoft.com/en-us/entra/identity/conditional-access/how-to-app-protection-policy-windows#sign-in-to-windows-devices

    Client Information:
    W10 22H2
    Active Directory joined (on-prem)