azureblog.co.uk
← cd ~/events
// events/76 · Intune MDM

Event ID 76Auto MDM Enroll: Failed

Automatic MDM enrolment failed. The commonly seen code 0x8018002b means the UPN uses an unverified or non-routable suffix (such as .local) or the MDM user scope is None.

LogMicrosoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin
SourceDeviceManagement-Enterprise-Diagnostics-Provider
AreaIntune MDM

What to check

Check the user's UPN suffix is verified in Entra ID and the MDM user scope includes the user. For Autopilot hybrid devices, check whether the associated Entra device was deleted.

Codes you'll see in this event

CodeMeaning
0x8018002bUnverified or non-routable UPN suffix, or MDM user scope set to None.

Find it with PowerShell

Run on the machine that logs it.

powershell2 lines
Get-WinEvent -FilterHashtable @{ LogName = 'Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin'; Id = 76 } -MaxEvents 50 |
    Format-List TimeCreated, Id, Message

Hunt for it in Sentinel or Log Analytics

This works once a data collection rule sends the Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin log to your workspace, where it lands in the Event table.

kql5 lines
Event
| where TimeGenerated > ago(7d)
| where EventLog == "Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin" and EventID == 76
| project TimeGenerated, Computer, Source, RenderedDescription
| order by TimeGenerated desc

Related Intune MDM events

Search all 123 event IDs →