Additional Microsoft Entra services and features related to identity, access, and network security
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.
- 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.
- 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:
Then complete the sign-in prompt.dsregcmd /forcerecovery - Microsoft Entra hybrid joined device: open an elevated PowerShell window and run:
Then restart the device and sign in with the domain credential.dsregcmd /leave
- 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.
- If the device shows as Pending in Microsoft Entra ID, run:
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.dsregcmd /leave - 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.
- 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.