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

0x80180026Something went wrong. Confirm you are using the correct sign-in information...

Joining a Windows device to Microsoft Entra ID fails because MDM automatic enrolment is enabled and the legacy Intune PC software client (PC agent) is installed on the device.

Hex0x80180026
Decimal-2145910746 (unsigned 2149056550)
AreaEnrollment

How to fix it

Either uninstall the Intune PC software client from the computer, or set MDM user scope to None 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 "0x80180026" |
    Format-List TimeCreated, Id, Message

Other enrollment errors

Search all 116 codes →