recover a deleted device from entra

Will Skeens 0 Reputation points
2024-02-27T10:28:51.2+00:00

Is it possible to recover a recently deleted device from entra dashboard?

Microsoft Security | Microsoft Entra | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Smith 2,931 Reputation points Microsoft Employee
    2024-02-27T13:27:47.3933333+00:00

    Hi WIll,

    Thank you for contacting the Q&A community.

    Unfortunately there is no recycle bin support for devices and therefore when they are deleted they are hard deleted immediately.

    To add a device back to Entra ID you can perform the following steps.

    If the device is deleted in Microsoft Entra ID, you need to re-register the device. To re-register, you must take a manual action on the device. See the following steps for instructions to re-register based on the device state. To re-register Microsoft Entra joined Windows 10/11 and Windows Server 2016/2019 devices, take the following steps: 1. Open the command prompt as an administrator.

        1. Enter `dsregcmd.exe /debug /leave`.
    
           1. Sign out and sign in to trigger the scheduled task that registers the device again with Microsoft Entra ID.
    

    For down-level Windows OS versions that are Microsoft Entra hybrid joined, take the following steps: 1. Open the command prompt as an administrator.

        1. Enter `"%programFiles%\Microsoft Workplace Join\autoworkplace.exe /l"`.
    
           1. Enter `"%programFiles%\Microsoft Workplace Join\autoworkplace.exe /j"`.
    

    For Microsoft Entra joined devices Windows 10/11 devices, take the following steps: 1. Open the command prompt as an administrator

        1. Enter `dsregcmd /forcerecovery` (You need to be an administrator to perform this action).
    
           1. Click "Sign in" in the dialog that opens up and continue with the sign in process.
    
              1. Sign out and sign in back to the device to complete the recovery.
    

    For Microsoft Entra registered Windows 10/11 devices, take the following steps:

    1. Go to Settings > Accounts > Access Work or School.
    2. Select the account and select Disconnect.
    3. Click on "+ Connect" and register the device again by going through the sign in process.

    https://learn.microsoft.com/en-us/entra/identity/devices/faq#i-disabled-or-deleted-my-device--but-the-local-state-on-the-device-says-it-s-still-registered--what-should-i-do

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.

    1 person found this answer helpful.

Your answer

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