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

0x80180018Something went wrong.

Enrolment in Intune or another MDM fails. Common causes are incorrect or missing licences assigned to the user, or too many devices enrolled for the user.

Hex0x80180018
Decimal-2145910760 (unsigned 2149056536)
AreaEnrollment

How to fix it

Check the user has the correct Intune licence assigned and has not reached the device enrolment limit.

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

Other enrollment errors

Search all 116 codes →