Thank you for reaching Microsoft Q&A!
I understand that your Microsoft Entra Hybrid Join – Devices Stuck in "Pending" Status" this problem can be caused by several factors.
- The device object is moved to another organizational unit (OU) that isn't in the sync scope in Microsoft Entra Connect Sync.
- Microsoft Entra Connect Sync recognizes this change as the device object being deleted in the on-premises Active Directory. Therefore, it deletes the device in Microsoft Entra ID.
- The device object was moved back to the OU in the sync scope.
- Microsoft Entra Connect Sync creates a pending device object for this device in Microsoft Entra ID.
- The device fails to complete the device registration process because it was registered previously.
To fix the problem, unregister the device by running dsregcmd /leave
at an elevated command prompt, and restart the device. The device will reinitiate the device registration process through the scheduled task. For Windows 10-based devices, the scheduled task is under Task Scheduler Library > Microsoft > Windows > Workplace Join > Automatic-Device-Join Task.
Reference: https://learn.microsoft.com/en-us/answers/questions/1161747/hybrid-azure-ad-joined-device-registration-pending
Hope this helps. Do let us know if you any further queries by responding in the comments section.
Thanks,
Akhilesh.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.