An API that connects multiple Microsoft services, enabling data access and automation across platforms
Getting 502 Bad Gateway error when using Microsoft Graph Beta Reports for Microsoft Government Cloud
I am getting an error when trying to use the Microsoft Graph Beta endpoint for the Reports API. Specifically the getM365AppUserDetail - (https://learn.microsoft.com/en-us/graph/api/reportroot-getm365appuserdetail?view=graph-rest-beta&tabs=http). The documentation states that the beta endpoint is available across US government L4 national deployment cloud, but when i am trying to get the API response, i am getting an error of 502 Bad Gateway, with the code of Unknown error. Here was the exact API response i got from calling the API.
I needed help on why Microsoft is throwing this error for the above endpoint when it states that its available in US government L4 national deployment cloud. All the Reports endpoints are throwing this error. Any leads will be really appericiated.
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"date": "2026-02-24T09:36:43",
"request-id": "f3603044-54d6-4672-a3d6-b98c4f828108",
"client-request-id": "f3603044-54d6-4672-a3d6-b98c4f828108"
}
}
}