Unable to register device on entra id

Hrushikesh Kulkarni 0 Reputation points
2026-08-17T13:06:56.19+00:00

Unable to login on any app of Microsoft like OneDrive, Outlook, Team. It reaches to Registering your device and fails. I have tried removing the device from Entra ID and removing Credentials from Windows credentials.User's image

Microsoft Security | Microsoft Entra | Other

1 answer

Sort by: Most helpful
  1. AI answer

    2026-08-17T13:07:17.49+00:00

    Since the device was already removed from Microsoft Entra ID and Windows credentials were already cleared, the next supported recovery path depends on the device state.

    1. Check whether the device is still connected under Settings > Accounts > Access work or school.
      • If the work account is listed, select it and choose Disconnect.
      • Restart the device.
    2. Re-register the device based on its join type:
      • Microsoft Entra registered device: after disconnecting, register it again from Settings > Accounts > Access work or school > Connect.
      • Microsoft Entra joined device: open an elevated PowerShell window and run:
             dsregcmd /forcerecovery
        
        Then complete the sign-in prompt.
      • Microsoft Entra hybrid joined device: open an elevated PowerShell window and run:
             dsregcmd /leave
        
        Then restart the device and sign in with the domain credential.
    3. If the device was deleted from the tenant and app sign-in now fails, this matches the documented recovery for missing device objects. Home tenant administrators should verify when and why the device object was deleted.
    4. If the device shows as Pending in Microsoft Entra ID, run:
         dsregcmd /leave
      
      Restart the device. The device registration process starts again through the scheduled task under Task Scheduler Library > Microsoft > Windows > Workplace Join > Automatic-Device-Join Task.
    5. If this is a Windows 10/11 device that shows duplicate Microsoft Entra registered and Microsoft Entra hybrid joined records, that dual state can cause nondeterministic device evaluation and access issues. On Microsoft Entra registered devices, remove the local registered state from Settings > Accounts > Access Work or School > Disconnect, then register again.
    6. For broader device registration troubleshooting, use the Device Registration Troubleshooter Tool. If device health is Pending, use option 5. If the device does not have a PRT, use option 6.

    Note: dsregcmd /leave disconnects the device from its current Microsoft Entra registration state. On registered devices, removing registration can also affect SSO until the device is registered again.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.