Skip to main content
80180026

80180026: Something went wrong joining Microsoft Entra ID

Joining a Windows computer to Microsoft Entra ID fails because MDM automatic enrollment is on and the old Intune PC software client is installed.

From Microsoft's documentation, checked 9 Nov 2026.

Microsoft Entra join with MDM automatic enrollmentEnrollmentwarning
Error text as Microsoft documents it
Something went wrong. Confirm you are using the correct sign-in information and that your organization uses this feature. You can try to do this again or contact your system administrator with the error code 80180026.

Also searched as: 0x80180026

What it means

Microsoft documents that this error occurs when both conditions are true: MDM automatic enrollment is enabled, and the Intune PC software client (Intune PC agent) is installed on the computer. Remove one of the two to let the join and enrollment complete.

Common causes

  • MDM automatic enrollment is enabled and the Intune PC software client is installed on the computer.
From Microsoft's documentation

How to fix it

1

Read the MDM enrollment log

Read the device's MDM diagnostics admin log around the failed join for the enrollment error.

Get-WinEvent -LogName "Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin" -MaxEvents 50
2

Uninstall the Intune PC client

Uninstall the Intune PC software client agent from the computer, then join again.

3

Or turn off MDM automatic enrollment

In the Azure portal go to Microsoft Entra ID > Mobility (MDM and MAM) > Microsoft Intune and set MDM user scope to None. That turns off MDM automatic enrollment for all users, so removing the client is usually the smaller change.

How to confirm it's fixed

  • The computer joins Microsoft Entra ID without the error.
The KBY Brief

Follow Microsoft Intune failures and fixes

A short email about twice a week with new runbooks, configuration traps and fixes from KBY Technologies.