azureblog.co.uk
Intune error · Enrollment

0x8018002AAuto MDM Enroll: Failed (Unknown Win32 Error code: 0x8018002a)

Microsoft Entra hybrid joined (co-managed) devices fail to auto-enrol because per-user MFA is set to Enforced, which stops the Configuration Manager client enrolling with the signed-in user's credentials.

Hex0x8018002A
Decimal-2145910742 (unsigned 2149056554)
AreaEnrollment

How to fix it

Set per-user MFA to Enabled rather than Enforced, or temporarily bypass MFA during enrolment using Trusted IPs.

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 "0x8018002A" |
    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.