Device in Azure AD showing “Pending” for Registered state for some time.
Admin command prompt: dsregcmd /debug /leave
Restart computer
Wait for Azure Active Directory Connect synchronization services (Azure AD Connect sync) to sync device before adding to Intune MDM.
Assist to ITProMentor.