azureblog.co.uk
Intune error · Enrollment

0x80180002MENROLL_E_DEVICE_AUTHENTICATION_ERROR

The MDM server failed to authenticate the user during enrolment.

Hex0x80180002
Decimal-2145910782 (unsigned 2149056514)
AreaEnrollment

How to fix it

Confirm the user is signing in with the correct work account. Check the DeviceManagement-Enterprise-Diagnostics-Provider Admin event log on the device for the failing step and retry the enrolment.

Find it on the device

Enrolment errors are logged in Event Viewer under Applications and Services Logs › Microsoft › Windows › DeviceManagement-Enterprise-Diagnostics-Provider › Admin:

powershell3 lineshover a line number for notes
Get-WinEvent -LogName "Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin" -MaxEvents 200 |
    Where-Object Message -match "0x80180002" |
    Format-List TimeCreated, Id, Message
What each line does
  1. Line 1: Reads win event details.
  2. Line 2: Keeps only the items that match the condition.
  3. Line 3: Shows every property of each result as a list.

Other enrollment errors

Search all 116 codes →

Spotted something out of date or wrong? Tell us and we'll fix it.