question

RustleLaws-8222 avatar image
0 Votes"
RustleLaws-8222 asked LuDaiMSFT-0289 commented

Is there a way to trigger Autopilot reset on a device using Microsoft graph?

Went through the site and the documentation but there is no clear way to do it.
There is a cleanWindowsDevice action but I'm uncertain it does the same thing.

With cleanWindowsDevice action, you have the otion to keep data but it does not say anything about keeping it Azure joined

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

mem-intune-generalmem-intune-enrollmentazure-ad-device-managementmem-intune-graph
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LuDaiMSFT-0289 avatar image
0 Votes"
LuDaiMSFT-0289 answered LuDaiMSFT-0289 commented

@RustleLaws-8222 Thanks for posting in our Q&A.

For this issue, I have checked the request in my lab. I enter "F12" to open DevTools and then click on "Autopilot Reset" in the intune portal. I find that its action is "Wipe" in the request.
147623-image.png

147596-image.png

It is suggested to try in your lab and get the detailed information about the request.

Hope it will help.


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (42.0 KiB)
image.png (45.6 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Nice! This saves me a great deal of time. I'm still waiting for a test device to see what shows up in devtools.
This makes sense.

0 Votes 0 ·

@RustleLaws-8222 I'm glad that it gives you a little idea. Hope everything goes well with you. : )

1 Vote 1 ·