@Pradeep Narangoda
Thank you for posting this in Microsoft Q&A.
As Vasil Michev mentioned above there is no option to recover deleted device in Entra ID. Recycle bin is not yet supported and you can’t recover deleted devices, it’s a feature that MSFT working on.
You can refer the same in https://techcommunity.microsoft.com/t5/microsoft-entra/how-to-recover-or-re-add-device/m-p/1250422
However, if you are trying recover and login to any of the Entra ID joined device you can try to follow below steps,
Open the command prompt as an administrator
Enter dsregcmd /forcerecovery (You need to be an administrator to perform this action).
Click “Sign in” in the dialog that opens up and continue with the sign in process.
Sign out and sign in back to the device to complete the recovery.
https://docs.microsoft.com/en-us/azure/active-directory/devices/faq
Just for good measure I gave user temporarly administrator priviledges & followed the steps initially to remove the device
e.g.
- dsregcmd /debug /leave
- Reboot
- Add user to local-admins
- Log-off & on again
You can also submit feedback in Azure feedback portal.
https://feedback.azure.com/d365community/forum/22920db1-ad25-ec11-b6e6-000d3a4f0789
Let us know if you have any further questions.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.