Other Intune-related topics, including unsupported scenarios and platform-specific behaviors
Windows wipe from Graph API
I would like to perform a wipe on Windows devices.
I am currently using:
POST /deviceManagement/managedDevices/{managedDeviceId}/wipe
and
Request:
{
"keepEnrollmentData": false,
"keepUserData": false,
"macOsUnlockCode": "Mac Os Unlock Code value",
"persistEsimDataPlan": false
}
I am getting error: Bad Request - 400
I am suspecting that macOsUnlockCode is causing the issue. What should be the value of: macOsUnlockCode ?
Also, I would really appreciate if there are any step by step guidance to achieve the wipe from Graph Explorer using the given command.
Microsoft Security | Intune | Other
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms