Having Trouble deleting a device

Jose Martinez 1 Reputation point
2022-08-31T20:29:05.5+00:00

Hello,
A while ago I removed a device from my organization's Azure AD Directory. So the device no longer appears in the Azure list of devices, but the device itself still shows in its Settings that it is connected to the organization. And nobody except for one user can log into it. This is creating a problem, since not even an admin can get it. And the only user can log into the device no longer works for the organization. Can somebody tell me how to completely remove this device?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
605 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,827 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SubhashSharma-MSFT 666 Reputation points Microsoft Employee
    2022-09-01T17:00:59.663+00:00

    Hi @Jose Martinez

    Thank you for reaching out.

    The reported issue is expected when device is deleted from Azure AD. Please review below article for details.
    I disabled or deleted my device in the Azure portal or by using Windows PowerShell. But the local state on the device says it's still registered. What should I do?

    Before attempting to disconnect please ensure you have another local account using which you can login to the device. To manage the local accounts please browse to Run > lusrmgr.msc

    To completely disconnect the device please open command prompt as an administrator and run the below.

    dsregcmd.exe /debug /leave  
    

    I hope this helps in resolving the issue.

    ----------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments