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

0x80180031MENROLL_E_MDM_NOT_CONFIGURED

Mobile device management is not configured.

Hex0x80180031
Decimal-2145910735 (unsigned 2149056561)
AreaEnrollment

How to fix it

Check that Microsoft Intune is configured as the MDM application under Microsoft Entra ID > Mobility (MDM and MAM) with the correct MDM user scope.

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 "0x80180031" |
    Format-List TimeCreated, Id, Message

Other enrollment errors

Search all 116 codes →