Recover a deleted device (PC) from AAD

Occasional Visitor
Hi. We are using Intune and Autopilot to enroll new PCs. By mistake we deleted a device in Azure portal that already was enrolled. Now the user cannot login on her computer. We have tried to run “Restore-AzureADMSDeletedDirectoryObject“ in Powershell, but i says it cannot find object ID. Is there any other way around this, or do we need reset Windows 10 and re-enrol? Pretty scary how easily you can delete a device with no warnings about the consequences.
0 Replies