Decommission Device
A 3-step recipe with Microsoft Endpoint Configuration Management. We can help you get access.
Recipe · 3 steps
Decommission Device
with Microsoft Endpoint Configuration Management · Information Technology Management
Confirm a device, wipe it, then delete the device record.
- Read the managed device to confirm it exists before wiping it.
- Factory reset the device, removing data per the supplied retention flags.
- Delete the managed device record from Intune.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer token for Microsoft Graph (DeviceManagementManagedDevices.ReadWrite.All).
- managedDeviceId: The unique identifier of the managed device to decommission.
- keepEnrollmentData: Whether to keep enrollment data through the wipe.
- keepUserData: Whether to keep user data through the wipe.
For your developer
Arazzo workflow microsoft-endpoint-configuration-management:decommission-device, 3 operations: getManagedDevice → wipeManagedDevice → deleteManagedDevice. Specs on APIs.io.