The Mobile Device Management (MDM) server failed to authenticate the user with Error code: 80180002

Situation: When using Windows 11, you may keep getting this message: The Mobile Device Management (MDM) server failed to authenticate the user with Error code: 80180002

Causes:

  • Insufficient permissions – Your organization manages most work Microsoft 365 accounts. This is usually because of some security settings. So while the account may belong to you, you are somewhat restricted in how you manage it.
  • Wrong configurations – If your device or account does not meet the prerequisites to join Azure AD, your account may be denied access.
  • Network change – If the user’s account is linked with a Microsoft account, it’s possible that the user has changed their network, and you need to link them with the correct Azure AD tenant again.
  • Device not on MDM – MDM is a security policy that determines the devices that can access Azure. If your device is not enrolled in Mobile Device Management (MDM), you might get the error 80180002.

Resolution 1: Add the account to your device

  1. Hit the Windows key and click on Settings.
  2. Click on Accounts on the left pane, then select Access work or school.
  3. Locate the account you’re trying to log in using, then disconnect it.
  4. Wait for a few moments, then add the account again

Resolution 2: Disable conditional access

  1. Sign in to your Azure account.
  2. Click on the Menu at the top left corner and select Azure Active Directory.
  3. Select Protect & secure on the left pane, then click on Conditional Access.
  4. Under the Access policy option, toggle it off.
  5. Azure AD conditional access allows you to control access to your applications and data based on the location of your users, their identity, and their device. When you disable this option, you allow users to join with any device without restrictions.

Resolution 3: Remove the account credentials

  1. Hit the Windows Search icon, type Credential Manager in the search bar, then click Open
  2. Click on Windows Credentials.
  3. Select MicrosoftAccount, click on it to expand, then hit Remove.
  4. You’ll get a command prompt asking you to confirm whether you want to remove the credentials, so click Yes.

Resolution 4: Change MDM and MAM settings

  1. Sign in to your Azure account.
  2. Click on Azure Active Directory under Azure services.
  3. Select Mobility (MDM and MAM) on the left pane
  4. Click on Microsoft Intune under Mobility (MDM and MAM).
  5. Find MDM user scope and MAM user scope options, set them to None then, click on Save.

Troubleshooting 5: Clear Microsoft Store Cache

To clear the Microsoft Store cache, follow these steps:

Press the Windows key + R to open the Run dialog box.

Type “wsreset.exe” (without the quotes) and press Enter.

Wait for the command to complete, and then restart your computer.

Try installing or updating Microsoft Office or any of its applications again.

Published by

Bob Lin

Bob Lin, Chicagotech-MVP, MCSE & CNE Data recovery, Windows OS Recovery, Networking, and Computer Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

Leave a Reply