Configuration ManagerTroubleshooting

Co-management not working? CoManagementHandler.log, enrollment errors and workload status

Why Configuration Manager clients don't become co-managed: read CoManagementHandler.log and the MDM enrollment events, fix scope, licence and MFA causes, and check who owns each workload.

You've enabled co-management and filled the pilot collection, yet Intune shows nothing. Or it shows the device, but your Intune policies never take effect. In this post I'll follow the co-management chain on a Windows client (policy, join, MDM enrollment, workload flags) and show what CoManagementHandler.log and the enrollment events tell you at each step.

Errors this guide fixes

  • Device is not MDM enrolled yet. All workloads are managed by SCCM.CoManagementHandler.log+1 more guide
  • Auto MDM Enroll: Failed (Unknown Win32 Error code: 0x...)Event Viewer (Event ID 76)
  • 0x8018002bEvent Viewer (Event ID 76)
  • 0x80180018Event Viewer (Event ID 76)
  • 0x80180014Event Viewer (Event ID 76)
  • 0x8018002aEvent Viewer (Event ID 76)
  • MDM Session: Failed to get Microsoft Entra Token for sync sessionDeviceManagement-Enterprise-Diagnostics-Provider
  • Sync wasn't fully successful because we weren't able to verify your credentialsAccess work or school
How this guide is organised: Symptoms → Why it happens → How to fix it → Verify the fix → Key takeawaysFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (5 steps: Prove the client has the co-management policy; Confirm the device is hybrid joined; Read the MDM enrollment events; Re-trigger enrollment; Check which authority owns the workload). 4. Verify the fix. 5. Key takeaways. Toolbox: 0xCAA2000C, 0x801C03F2, 0x8018002B, CoManagementHandler.log, dsregcmd /status.1Symptoms2Why it happens3How to fix it4Verify the fix5Key takeaways1Prove the client hasthe co-manageme…2Confirm the deviceis hybrid joined3Read the MDMenrollment events4Re-triggerenrollment5Check whichauthority owns th…TOOLBOX0xCAA2000C0x801C03F20x8018002BCoManagementHandler.logdsregcmd /statusHow this guide is organised: Symptoms → Why it happens → How to fix it → Verify the fix → Key takeawaysFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (5 steps: Prove the client has the co-management policy; Confirm the device is hybrid joined; Read the MDM enrollment events; Re-trigger enrollment; Check which authority owns the workload). 4. Verify the fix. 5. Key takeaways. Toolbox: 0xCAA2000C, 0x801C03F2, 0x8018002B, CoManagementHandler.log, dsregcmd /status.1Symptoms2Why it happens3How to fix it1Prove the client has the co-management policy2Confirm the device is hybrid joined3Read the MDM enrollment events4Re-trigger enrollment5Check which authority owns the workload4Verify the fix5Key takeawaysTOOLBOX0xCAA2000C0x801C03F20x8018002BCoManagementHandler.logdsregcmd /status
At a glance: how this guide is organised · 5 fix steps · 5 key tools

Symptoms#

  • A pilot device is missing from the Intune admin center, or shows ConfigMgr (tenant attach) rather than Co-managed under Managed by.
  • The Monitoring › Co-management dashboard shows devices pending or failed, with enrollment errors.
  • The device logs event ID 76: Auto MDM Enroll: Failed (Unknown Win32 Error code: 0x...).
  • Access work or school says Sync wasn't fully successful because we weren't able to verify your credentials.
  • The device is co-managed, but Intune policies for one area never apply.

Why it happens#

A device is only co-managed when every link in this chain holds:

LinkWhat must be trueWhere to look
1. PolicyThe client is in the Intune Auto Enrollment collection and has received the co-management settingsCoManagementHandler.log, the client's Configurations tab
2. IdentityThe device is Microsoft Entra hybrid joined (or Entra joined)dsregcmd /status
3. EnrollmentMDM user scope, licences, enrollment restrictions and MFA allow the enrollmentDeviceManagement-Enterprise-Diagnostics-Provider and AAD event logs
4. WorkloadsThe workload you care about points to Intune for this deviceCo-management properties, workload flags in CoManagementHandler.log

Microsoft notes that most issues come from a setup step that was skipped or not completed, so check configuration before you blame the device.

How to fix it#

1. Prove the client has the co-management policy#

Open %WinDir%\CCM\Logs\CoManagementHandler.log in CMTrace or OneTrace. A device that has the policy but hasn't enrolled yet logs entries like these:

Text
Auto enrollment agent is initialized.
Device is not enrolled.
AAD-Join Info: type = 1 DeviceId = '<device ID>' TenantId = '<tenant ID>' ... EnrollmentUrl = 'https://enrollment.manage.microsoft.com/enrollmentserver/discovery.svc'
Device is not MDM enrolled yet. All workloads are managed by SCCM.
Value of CoManagementFlags retrieved: 0x2001
There is no scheduled tasks under "EnterpriseMgmt"

No recent auto-enrollment entries means the client hasn't received the policy. Check that the device is in the collection you chose as Intune Auto Enrollment, that automatic enrollment isn't set to None, and then run a machine policy cycle. The settings arrive as a baseline whose name starts with CoMgmtSettings. You'll find it on the Configurations tab of the Configuration Manager control panel applet, where Evaluate runs it again. In large environments enrollment is staggered, so a device may simply be queued.

2. Confirm the device is hybrid joined#

Run dsregcmd /status. You need AzureAdJoined : YES as well as DomainJoined : YES. A common join failure is 0x801c03f2: Microsoft Entra ID can't find the device's public key because the computer object hasn't synced yet. My dsregcmd guide covers the fixes. Also check that the client setting Automatically register new Windows 10 domain joined devices with Microsoft Entra ID is Yes.

3. Read the MDM enrollment events#

The real error code is in Applications and Services Logs › Microsoft › Windows › DeviceManagement-Enterprise-Diagnostics-Provider › Admin, where event 75 means a successful automatic enrollment and event 76 a failure. Token problems appear alongside them in Microsoft › Windows › AAD › Operational.

PowerShell
Get-WinEvent -LogName 'Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin' -MaxEvents 300 |
  Where-Object Id -in 75, 76 | Format-List TimeCreated, Id, Message
CodeWhat it meansFix
0x8018002bMDM isn't configured: MDM user scope is None (or excludes the user), or the UPN uses an unverified or non-routable suffix such as .localSet the scope in Entra ID › Mobility (MDM and MAM) › Microsoft Intune; give users a verified, routable UPN suffix
0x80180018The user's licence state blocks enrollmentAssign an Intune licence; see 0x80180018 and its neighbours
0x80180014A platform restriction blocks Windows (MDM)Allow Windows (MDM) in the default restriction, the only one device-token enrollment uses
0x8018002aThe AAD log also shows AADSTS50076 / 0xCAA2000C (interaction required). Legacy per-user MFA set to Enforced blocks enrollment with the signed-in user's credentialsDon't leave per-user MFA Enforced for these users, or use trusted IPs during enrollment
0x80180023 with 0x800706D9The dmwappushservice service is missingImport HKLM\SYSTEM\CurrentControlSet\Services\dmwappushservice from a healthy device on the same Windows version, restart and re-register

If enrollment works but sync fails with the verify your credentials message, the Admin log shows MDM Session: Failed to get Microsoft Entra Token for sync session with 0xcaa2000c. Per-user MFA, or Conditional Access requiring MFA for all cloud apps, is blocking the token. Microsoft's documented fixes are to turn off legacy per-user MFA for those users, or to exclude the Microsoft Intune app (0000000a-0000-0000-c000-000000000000) from the MFA policies. Weigh that exclusion against your security baseline first.

4. Re-trigger enrollment#

Nothing needs rebuilding: the policy retries at its next evaluation. To hurry a test device along, request machine policy, evaluate the CoMgmtSettings baseline and watch the log:

PowerShell
Invoke-CimMethod -Namespace root\ccm -ClassName SMS_Client -MethodName TriggerSchedule `
  -Arguments @{ sScheduleID = '{00000000-0000-0000-0000-000000000021}' }
Get-Content "$env:WinDir\CCM\Logs\CoManagementHandler.log" -Tail 30 -Wait

5. Check which authority owns the workload#

If a co-managed device ignores an Intune policy, check the workload first. In the co-management properties, each workload is set to Configuration Manager, Pilot Intune or Intune. With Pilot Intune, only devices in that workload's collection on the Staging tab switch.

  • A device must be enrolled and in the workload's pilot collection. If it's in a staging collection but not in Intune Auto Enrollment, it never switches.
  • Value of CoManagementFlags retrieved is a bitmask of the workloads handed to Intune. Don't decode it by hand: compare it with a healthy pilot device. If it doesn't change after you move a slider, the device hasn't picked up the new policy yet.
  • Exception: a baseline set to Always apply this baseline even for co-managed clients keeps applying after device configuration moves to Intune.

For planning the switch itself, see my workloads guide.

Verify the fix#

  • Event 75 (Auto MDM Enroll: Succeeded) is logged and no new event 76 follows.
  • CoManagementHandler.log no longer reports Device is not MDM enrolled yet, and Task Scheduler has an enrollment folder under Microsoft › Windows › EnterpriseMgmt.
  • Sync on the work account's Info page completes without a credentials error.
  • Intune shows the device as Co-managed with a fresh check-in.

Key takeaways#

  • Check the chain in order (policy, join, enrollment, workloads) and fix the first broken link.
  • CoManagementHandler.log shows what the client is attempting. Event 76 shows why enrollment failed.
  • Before you widen the pilot, confirm the default enrollment restriction allows Windows (MDM) and the MDM user scope covers your users.
  • Keep Intune Auto Enrollment as the superset collection, and build each workload's pilot collection from it.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)