azureblog.co.uk
← cd ~/intune-errors
// intune-errors · Enrollment

0x8018002BAuto MDM Enroll: Failed (Event ID 76)

Automatic MDM enrolment through Group Policy failed. The user UPN uses an unverified or non-routable domain (such as .local), or MDM user scope is set to None.

Hex0x8018002B
Decimal-2145910741 (unsigned 2149056555)
AreaEnrollment

How to fix it

Give affected users a valid, verified UPN suffix and let Microsoft Entra Connect sync, or set MDM user scope to All or Some under Microsoft Entra ID > Mobility (MDM and MAM) > Microsoft Intune.

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 lines
Get-WinEvent -LogName "Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin" -MaxEvents 200 |
    Where-Object Message -match "0x8018002B" |
    Format-List TimeCreated, Id, Message

Other enrollment errors

Search all 116 codes →