Forum Discussion
Deleted Device from Intune - Lost recovery key
- Apr 28, 2025
Only registered devices are automatically deleted from Entra after you delete them from Intune.
If your devices are provisioned via Autopilot, they will not be deleted from Entra after you delete them from Intune as the Entra object is linked to the Autopilot enrollment.
If you have a local administrator, you can try to clean the TPM and install a new OS image on your device.
And for the next time it happens, hope not to, go directly under the
https://account.microsoft.com/devices/recoverykey with the user account for the specific device, you should be able to find the key.
Good luck!
If you delete a device from Intune then it should still be visible in Entra unless you deleted from there as well. You can try opening a case with Microsoft to see if they are able to provide you the recovery key.
Thanks for your response. I did not delete the device from Entra, but it no longer shows there. This has happened to us once before with the exact same result. I wonder if there is a setting somewhere that is causing the device to be deleted in Entra too?
- rahuljindalApr 29, 2025Bronze Contributor
It does depend on how the device was enrolled in Intune. Especially if it was enrolled in Intune outside of AP process.
- Bogdan_GuineaApr 28, 2025Iron Contributor
Hy,
No, there is no setting for this, unfortunatly.
Only registered devices are automatically deleted from Entra after you delete them from Intune.
If your devices are provisioned via Autopilot, they will not be deleted from Entra after you delete them from Intune as the Entra object is linked to the Autopilot enrollment.
If you have a local administrator, you can try to clean the TPM and install a new OS image on your device.
And for the next time it happens, hope not to, go directly under the
https://account.microsoft.com/devices/recoverykey with the user account for the specific device, you should be able to find the key.
Good luck!
- AndrewDawsonApr 27, 2025Brass Contributor
HiLuuk_P
Your device is not toast, worst case if you can’t locate the bitlocker key you can usually reset a device using the manufacturers built in boot image, during the reset you can clear the TPM and start over. If this is not an option then check their website for a bootable usb image, lastly you can create an image from Microsoft site with vanilla windows (might be missing a few required drivers during the setup phase)
Entra device cleanup is possible but unlikely, look for the cleanup settings (default is disabled) or a third party tool/script cleaning up records. The service may be there, just using a name you don’t expect, have a look for a decode without an Intune object and activity ending when it was last used.
Best of luck.