0
votes

Does anyone know what happens to an enrolled InTune device if the device is deleted via the Microsoft Graph API? Does that wipe the managed data on the device and remove it from InTune?

I cannot seem to find any documentation that answers this question.

2

2 Answers

1
votes

The instructions in your link are used to delete a Azure AD registered device, not used to delete the managed devices in Intune. So the answer for your question is "No", if you want to delete managed devices and wipe data in Intune using Microsoft Graph API, you should run the DELETE & POST requests as the followings:

POST https://graph.microsoft.com/beta/managedDevices/{id}/wipe
DELETE https://graph.microsoft.com/beta/managedDevices/{id}

For more details about the Intune Graph API, please refer to docs here.

0
votes

If you "Delete" The managed device (enrolled device), it will remove the device from list All Devices.

And the most important, you can't manage the device again, for example if you use Windows Autopilot your device will be stuck - cannot login.

both Graph API or Direct from Azure AD give same result