About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
An administrator runs gpupdate /force on a Windows device that is enrolled in Microsoft Intune and joined to both Active Directory and Microsoft Entra ID, and the output ends with a warning: "Windows failed to apply the MDM Policy settings." The computer and user policy lines both say "completed successfully", so the warning looks like a fault. Microsoft's page for this message says it is expected on a device that is already enrolled, and the only work is to prove that the device really is enrolled.
Nothing in this walk-through changes a device, a policy or a tenant setting.
What the error means
Microsoft's page names the exact scenario: a Microsoft Entra hybrid joined Windows device, enrolled in Intune, where gpupdate /force returns this warning:
The following warnings were encountered during computer policy processing:
Windows failed to apply the MDM Policy settings. MDM Policy settings might have its own log file. Please click on the "More information" link.
The cause on the page is that the Auto MDM Enrollment with Microsoft Entra Token Group Policy Object (GPO) applies to the device. When you run gpupdate /force, that policy tries to enrol the device in MDM again. The device is already enrolled, so the attempt is refused and Group Policy reports a warning. Microsoft's words: "This behavior is expected. You can safely ignore the warning message."
The page backs this with a log line. With Group Policy Service debug logging turned on, the file %windir%\debug\usermode\Gpsvc.log records the MDM Policy extension returning 0x8018000a:
ProcessGPOList: Extension MDM Policy returned 0x8018000a.
ProcessGPOs(Machine): Extension MDM Policy ProcessGroupPolicy failed, status 0x8018000a.
And the page states: "The 0x8018000a error means that the device is already enrolled."
Likely causes
| Situation | What you see | Meaning |
|---|---|---|
| Device already enrolled and the auto-enrolment GPO applies | The warning after gpupdate /force; Gpsvc.log shows 0x8018000a |
Expected, per Microsoft. No action |
| The warning appears but the device is missing from Intune | The device is not listed, and no Event ID 75 is logged | Microsoft's warning page does not cover this. Check the enrolment itself, using the checks below |
| Enrolment was never triggered | Neither event 75 nor event 76 in the enrolment log | A Group Policy or task problem, not an enrolled-device warning |
The first row is the one Microsoft's page covers. The other two are separated using Microsoft's separate Group Policy auto-enrolment troubleshooting page, which lists the checks and events below.
Prove the cause before changing anything
All of these read only. The aim is to show that the warning appears on a device that is genuinely enrolled.
- On the device, run
dsregcmd /statusat the command line. Microsoft's auto-enrolment page expects these values in the output:
Device State
AzureAdJoined: YES
DomainJoined: YES
SSO State
AzureAdPrt: YES
-
In the Microsoft Intune admin center, find the device in the device list and confirm it is listed. Microsoft's page does not give a menu path for this check, so use the device list and search by computer name.
-
In Event Viewer on the device, open Applications and Services Logs > Microsoft > Windows > DeviceManagement-Enterprise-Diagnostic-Provider > Admin. Microsoft says Event ID 75 ("Auto MDM Enroll: Succeeded") means enrolment succeeded. Event ID 76 means failure, in the form "Auto MDM Enroll: Failed (Unknown Win32 Error code: 0x8018002b)".
-
Open Task Scheduler and go to Microsoft > Windows > EnterpriseMgmt. The task named "Schedule created by enrollment client for automatically enrolling in MDM from Microsoft Entra ID" exists when the enrolment Group Policy setting was deployed. The page says the task is scheduled to run every 5 minutes during one day.
-
In Applications and Services Logs > Microsoft > Windows > Task Scheduler > Operational, Event ID 107 is logged when the task is triggered and Event ID 102 when it completes. Microsoft notes that the log shows whether auto-enrolment was triggered, not whether it succeeded.
-
Optionally, for the policy view, run
gpresult /h GPReport.htmlfrom the command line, which writes the report file to the current folder. Microsoft's warning text itself points toGPRESULT /H GPReport.htmlfor detail on Group Policy.
Example (illustrative): at contoso.com.au a server team runs gpupdate /force on the finance laptop fin-lt07 and sees the warning. dsregcmd /status shows AzureAdJoined YES, DomainJoined YES and AzureAdPrt YES. The Admin log holds Event ID 75 from the original enrolment, and the laptop is listed in Intune. That matches the first row of the table, so the warning is the expected one.
Fix
If the device is enrolled, the fix is to do nothing. Microsoft's page says you can safely ignore the warning, and gives no step that would remove it. There is no changing step for this case, so there is no command to run, no setting to record and nothing to undo.
If the device is not enrolled, Microsoft's explanation for the warning does not apply and the enrolment itself needs checking. Microsoft's Group Policy auto-enrolment page lists what to verify before you look at logs:
- A valid Intune license is assigned to the user who is trying to enrol the device.
- Auto-enrolment is enabled for all users who will enrol devices.
- MDM user scope is set to All, and MAM User scope is set to None. The page says MAM, if set, takes precedence over MDM scope.
- The MDM discovery URL is
https://enrollment.manage.microsoft.com/enrollmentserver/discovery.svc. - The device runs Windows 10 version 1709 or later and is Microsoft Entra hybrid joined.
- The Group Policy setting is deployed: Computer Configuration > Policies > Administrative Templates > Windows Components > MDM > Enable automatic MDM enrollment using default Microsoft Entra credentials.
- The device is not enrolled through the classic PC agent.
- In Microsoft Entra Device settings, Users may join devices to Microsoft Entra ID is set to All, and the user has not passed the Maximum number of devices per user quota.
- In Intune enrolment restrictions, enrolment of Windows devices is allowed.
Two further outcomes are on the page. If Event ID 7016 with error code 2149056522 is logged in the Task Scheduler Operational log, the device is already enrolled in another MDM solution, and Microsoft's fix is to unenrol it from that MDM. That is a change to how the device is managed, and Microsoft's page gives no steps for it, so no steps are given here. If the task did not start because of a Group Policy issue, the page says to force a Group Policy update with gpupdate /force, the same command that produced the warning, then continue troubleshooting in Active Directory if it persists.
Confirm the fix
For an enrolled device there is nothing to confirm beyond the proof above: the warning appears, dsregcmd /status shows the joined state, the device is listed in Intune, and Event ID 75 is on record.
For a device that was not enrolled and has been corrected, confirm that Event ID 75 ("Auto MDM Enroll: Succeeded") is logged and that the device now appears in the Intune device list. The warning after gpupdate /force is expected to remain once the device is enrolled, so its presence does not by itself mean failure.
What to watch afterwards
- Event ID 76 in the DeviceManagement-Enterprise-Diagnostic-Provider Admin log. Microsoft's auto-enrolment page says this event indicates a failed auto-enrolment.
- New devices that show the warning but do not appear in the Intune device list.
- Changes to MDM user scope, MAM user scope or the Group Policy enrolment setting, which would change what the warning means for the next device.
- A note in your runbook that the warning is expected on enrolled hybrid devices, so staff do not raise a ticket each time.
Read next
Related articles you may want next.
- TroubleshootingGroup Policy Not Applying: gpresult, Events and SYSVOLA Group Policy setting missing on a hosted server: read gpresult as the affected user, check loopback, filter one run's events, then check SYSVOL state.Read article
- TroubleshootingAADSTS53003: Access has been blocked by Conditional Access policies — finding which policy blocked the sign-inAADSTS53003 BlockedByConditionalAccess: read the Entra sign-in log, find the policy that blocked the user, test with What If and change it safely.Read article
- CloudEntra ID Conditional Access: tenant lockout, break-glass accounts and how to test policy safelyHow Conditional Access locks administrators out, how to build emergency accounts that work under mandatory MFA, and a safe order for testing policy.Read article
Risks and limits
These steps have not been run or lab-tested.
The warning page covers Microsoft Entra hybrid joined devices enrolled in Intune with the Auto MDM Enrollment with Microsoft Entra Token Group Policy setting, and gives no Windows version range. The Group Policy auto-enrolment page names Windows 10 version 1709 and later. Microsoft's warning page gives no menu path for finding the device in Intune and no count of how often the warning occurs. A second page, the one for 0x8018000a on Windows enrolment, gives a different cause for the same code on a device where another user holds the work connection: a different user has already enrolled the device or joined it to Microsoft Entra ID. If the device is not enrolled and the warning is not the already-enrolled case, use the list above rather than ignoring it.
Sources
- Windows failed to apply the MDM Policy settings on Microsoft Entra hybrid joined devices — Microsoft Learn, page dated 2026-03-30, accessed 1 December 2026
- Troubleshooting Windows 10 Group Policy-based auto-enrollment in Intune — Microsoft Learn, page dated 2026-03-30, accessed 1 December 2026
- Troubleshooting Windows device enrollment errors in Intune — Microsoft Learn, page dated 2026-03-30, accessed 1 December 2026
This article was originally published on .