Intune - what permissions are missing wiping PC?

Konrad Wojciechowski (Nokia) 40 Reputation points
2025-05-21T09:06:04.7433333+00:00

Hello,

I am trying to wipe out the PC using graph API.

Request:
3

I am attaching my configuration in Azure (which was done based on:
https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-wipe?view=graph-rest-1.0&tabs=http

I am receiving the following: Forbidded error:

{"error":{"code":"Forbidden","message":"{\r\n "_version": 3,\r\n "Message": "User is not authorized to perform this operation - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: c484e189-6a1f-468f-805c-31c04f4ea604 - Url: https://fef.msub07.manage.microsoft.com/DeviceFE/StatelessDeviceFEService/deviceManagement/managedDevices('e1d8eb81-91a4-43ef-aff7-d8ab9c3e62d0')/microsoft.management.services.api.wipe?api-version=2024-06-14\",\r\n "CustomApiErrorPhrase": "",\r\n "RetryAfter": null,\r\n "ErrorSourceService": "",\r\n "HttpHeaders": "{}"\r\n}","innerError":{"date":"2025-05-21T08:51:53","request-id":"c484e189-6a1f-468f-805c-31c04f4ea604","client-request-id":"c484e189-6a1f-468f-805c-31c04f4ea604"}}}

Here are the screenshots:
1

2

What is still missing?

Microsoft Security | Intune | Enrollment
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.