Intune - what permissions are missing wiping PC?
Hello,
I am trying to wipe out the PC using graph API.
Request:
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:
What is still missing?