0x80180026
Legacy Intune PC agent conflicts with automatic MDM enrollment
Answer: Microsoft documents this error when automatic MDM enrollment is enabled while the legacy Intune PC software client is installed on the Windows device.
Resolution playbook
Fix it, then prove it
Use the error record as the starting point; use tenant evidence to confirm the actual cause.
Likely causes
- This documented scenario applies to the legacy Intune PC agent. Validate the device state before changing tenant-wide enrollment scope.
- Enrollment scope, licensing, discovery, restriction, platform support, or device registration does not match the request.
- A previous workplace/MDM registration or enrollment limit is producing conflicting state.
Recommended fix
- Confirm the legacy Intune PC software client is installed.
- If the device should use modern MDM, uninstall the legacy Intune client before retrying.
- Only disable the tenant's MDM automatic-enrollment scope if that is genuinely the intended management design.
Verify
- Repeat the smallest operation that produced the failure.
- Confirm a fresh success in the authoritative service log or admin center, not only in the client UI.
- Record the new UTC timestamp and correlation/request ID so the retry can be distinguished from cached or older failures.
Escalate when
- The failure persists after the documented prerequisites and a new authentication/session attempt.
- Multiple users, apps, devices, or networks show the same error, suggesting tenant policy or service scope.
- You can provide the exact UTC time, tenant, application/resource, correlation or request ID, and sanitized logs.
Collect Windows enrollment diagnostics
mdmdiagnosticstool.exe -area "DeviceEnrollment;DeviceProvisioning;Autopilot" -zip "C:\Users\Public\Documents\MDMDiagReport.zip"Creates a local diagnostics archive. Review and redact tenant, user, and device identifiers before sharing.
Admin context
This documented scenario applies to the legacy Intune PC agent. Validate the device state before changing tenant-wide enrollment scope.
Evidence to preserve
- UTC timestamp and correlation/request ID
- Tenant, application, resource, and authentication flow
- Sanitized service log details and exact operation
Advertisement
