InTune device wipe option

Mark Tuffey
Tera Expert

We are using Tokyo and have Integration HUB ITL and Service Graph for InTune functioning. We would like to have flow that has the option to either delete a device in InTune or wipe a device via InTune. In Flow Designer I see the choice to delete but not wipe. Is this possible, and if so what am I missing or not seeing?

Cheers

Mark

1 ACCEPTED SOLUTION

Rahul Priyadars
Giga Sage
Giga Sage

Service Graph for InTune - will populate CMDB data.

Intune Spoke do not have Wipe Option in built and you are seeing it right.

You can try consuming MS InTune API in flow designer for Wiping

https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-wipe?view=graph-rest-1.0

POST /deviceManagement/managedDevices/{managedDeviceId}/wipe

Regards

RP

View solution in original post

2 REPLIES 2

Rahul Priyadars
Giga Sage
Giga Sage

Service Graph for InTune - will populate CMDB data.

Intune Spoke do not have Wipe Option in built and you are seeing it right.

You can try consuming MS InTune API in flow designer for Wiping

https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-wipe?view=graph-rest-1.0

POST /deviceManagement/managedDevices/{managedDeviceId}/wipe

Regards

RP

Hi Rahul,
Could you please share the solution on how you achieved this? I’m a little confused about what needs to be passed for the managed device IDs in the URL.

 

https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/{managedDeviceId}/wipe Content-type: application/json Content-length: 141 { "keepEnrollmentData": true, "keepUserData": true, "macOsUnlockCode": "Mac Os Unlock Code value", "persistEsimDataPlan": true }