Forum Discussion
Arun_Joseph
Dec 22, 2021Copper Contributor
Intune APIs not working since Yesterday [Dec 21 IST]
APIs we are using:
Doc: https://docs.microsoft.com/en-us/graph/api/intune-devices-manageddevice-list?view=graph-rest-1.0
API: {{GRAPH_API_V1}}/deviceManagement/managedDevices?
$filter=operatingSystem%20eq%20'Android'
Doc: https://docs.microsoft.com/en-us/graph/api/intune-devices-manageddevice-executeaction?view=graph-rest-beta
API: {{GRAPH_API_BETA}}/deviceManagement/managedDevices/executeAction
Response:
{
"error": {
"code": "UnknownError",
"message": "{\"ErrorCode\":\"Forbidden\",\"Message\":\"{\\r\\n \\\"_version\\\": 3,\\r\\n \\\"Message\\\": \\\"An error has occurred - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: 526d6bdf-6f83-47a9-bf81-ca89df4f6b6d - Url: https://fef.msuc02.manage.microsoft.com/DeviceFE/StatelessDeviceFEService/deviceManagement/managedDevices?api-version=2021-04-07&$filter=operatingSystem+eq+%27Android%27\\\",\\r\\n \\\"CustomApiErrorPhrase\\\": \\\"\\\",\\r\\n \\\"RetryAfter\\\": null,\\r\\n \\\"ErrorSourceService\\\": \\\"\\\",\\r\\n \\\"HttpHeaders\\\": \\\"{\\\\\\\"WWW-Authenticate\\\\\\\":\\\\\\\"Bearer realm=\\\\\\\\\\\\\\\"urn:intune:service,c3998d6e-2e37-4c56-87b5-7b444ee1cb26,f0f3c450-59bf-4f0d-b1b2-0ef84ddfe3c7\\\\\\\\\\\\\\\"\\\\\\\"}\\\"\\r\\n}\",\"Target\":null,\"Details\":null,\"InnerError\":null,\"InstanceAnnotations\":[]}",
"innerError": {
"date": "2021-12-22T05:28:40",
"request-id": "526d6bdf-6f83-47a9-bf81-ca89df4f6b6d",
"client-request-id": "526d6bdf-6f83-47a9-bf81-ca89df4f6b6d"
}
}
}
- Hi,
not a licensing issue ? as I am not seeying any issues here (or maybe not yet :))
Happen to have another tenant to test it with?
8 Replies
Sort By
Hi good morning how do you use them? Delegated permissions or application permissions. I have seen some issues with the graph api in the past
Powershell Graph IsEncrypted and dealing with API errors (call4cloud.nl)
I will try to see whats happening at my side
- Arun_JosephCopper Contributorapplication permissions
- Could you try to see what happens with delegated permissions? to rule some stuff out... just like I told in that blog... I have seen it working with delegated permissions and breaking with application permissions