Mar 24 2020
12:48 PM
- last edited on
Jan 14 2022
04:33 PM
by
TechCommunityAP
Mar 24 2020
12:48 PM
- last edited on
Jan 14 2022
04:33 PM
by
TechCommunityAP
Hi,
To try and make a long story short, I have 2 devices, Device 1 one belonged to me and Device 2 belonged to someone previously. I had taken Device 2 because the specs we're better and am giving Device 1 to a new-hire. My initial thought was to delete Device 1 and just re-add it to Azure AD under the new owner. After I had done that I came across an extremely simple PowerShell cmdlet that made adding a new owner and removing the old owner very fast and painless. I used this cmdlet to add me as the new owner of Device 2 but had already deleted Device 1. I'm now stuck trying to figure out how to get Device 1 back into AD and change the owner. How can I do this?
Thanks
Mar 25 2020 08:06 AM
Mar 25 2020 11:01 AM
Hi, @Moe_Kinani
From looking at the command I assume this makes a spare device on AD to which I can then add the device to the already existing user?
Mar 25 2020 04:01 PM
Jun 01 2021 07:39 AM
I was able to resolve this using the following steps:
For Azure AD joined devices Windows 10 devices, take the following 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.
1) dsregcmd /debug /leave
2) Reboot
3) Add user to local-admins
4) Log-off & on again
5) dsregcmd /forcerecovery (I was unable to use the GUI, it did not “work” e.g. no sign-in screen showed.)
I used this for:
Fix Office 365 Error 70003: Your Organization Has Deleted This Device - Technipages
It might resolve your issue aswell
Jul 16 2021 01:06 PM
Feb 13 2023 05:04 AM
Apr 10 2023 01:39 PM
This saved me. I accidentally deleted a device from the admin portal and my employee could not recieve emails. The "dsregcmd /forcerecovery" wouldn't launch until the user was set up as an admin, and on a fresh restart. We are up and running now. Thank you!!!
Aug 21 2023 08:30 PM