Device registration in Co-Management - Error 0x8018002b

Copper Contributor

Hi All,

 

I am a bit stumped as we have been experiencing issues getting devices into the co-managed state correctly on several of our machines. We did extensive testing on this several months ago and successfully joined 10-15 machines before refocusing our efforts on building out our policies. Machines are showing up in both EPM(Endpoint Manager) and AAD (Azure Active Directory) but have SCCM listed as the MDM authority in AAD.

 

Image 1, Source AAD

JoelTR_0-1611879763639.png

Image 2, Source EPM

JoelTR_1-1611879940111.png

 

Interestingly on the users devices the co-management status is set to 1 we are unable to push apps such as the company portal down to the machine.

This value is managed by the Co-Management sliders in SCCM and increases based on how much of the load is managed by Intune. Therefore currently Intune is not managing the device at all, despite it showing up in Intune as Co-Managed. All test cases of this are part of the Pilot collection in SCCM and all sliders are set to Intune Pilot.

 

I have collected logs on all of the devices that have this issue and have noticed this error is present on all of them and users are not getting the MFA prompt to set up intune in the first instance. 

 

"Auto MDM Enroll: Device Credential (0x0). Failed (Unknown Win32 Error code 0x8018002b)"

 

This leads me to believe that devices are using the incorrect credential (Device) to sign up for Microsoft EPM despite the following Policy.

JoelTR_4-1611880212486.png

 

I have tried the below solutions to no success:

Microsoft Solution

Troubleshooting Windows device enrolment problems in Microsoft Intune - Intune | Microsoft Docs

One of the following conditions should be the cause

  1. UPN Contains an unverified or non-routable domain, such as .local - Checked @edu address used
  2. MDM user Scope set to None - Checked, set to Some. User is in included group with licenses assigned

 

Community Solution

[SOLVED] Intune with AADJ - Cannot auto enrol - Azure Forum - Spiceworks

  1. Wait 12 hours… , Waited 48h no change
  2. Ensure MDM enrolment Group Policy uses user credential, not device - Checked, See image of Policy above

 

It could be that i am missing something obvious but I would appreciate help finding that component :).

2 Replies

Responding to a possibly deleted comment received by email, here is a bit more information that may help: 

The Co-Management handler logs are as follows:

JoelTR_0-1612216247937.png

Two of the errors that stick out to me are:

  1. Merged value for setting 'CoManagementSettings_AutoEnroll' is 'False' CoManagementHandler 28/01/2021 10:05:26 AM 10380 (0x288C)
  2. New merged workloadflags value with co-management max capabilities '255' is '1' CoManagementHandler 28/01/2021 10:05:26 AM 10380 (0x288C)

This issue seems to point to the SCCM collection being unable to set new values for Auto-Enrol & Capabilities. Note that I am no expert in SCCM and I am just presenting what i see in the logs.

 

Non-Compliant Devices (Active)

JoelTR_2-1612217532818.png

 

Unknown Devices (Inactive)

JoelTR_3-1612217565062.png

 

Note that all devices were active before the auto-enrol process was started and 1 of the inactive devices was successfully co-managed before having SCCM removed. 

Please feel free to reach out if any other logs or information would help investigate this issue.

@JoelTR 

Was this ever resolved?  We just started seeing an almost identical issue, but it mainly impacts our cloud pcs.