Microsoft Graph List places API with National Cloud endpoint

Disha Hegde 1 Reputation point
2021-10-19T08:35:56.087+00:00

I am trying to use the following US National Cloud URL along with access token to list rooms as per this document https://learn.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http.

https://graph.microsoft.us/v1.0/places/microsoft.graph.room?$top=5000
https://dod-graph.microsoft.us/v1.0/places/microsoft.graph.room?$top=5000

I am getting the following error

org.springframework.web.client.HttpClientErrorException: 400 Bad Request

However it works fine with global endpoint

https://graph.microsoft.com/v1.0/places/microsoft.graph.room?$top=5000

Is List places API not supported with US endpoints or is there anything additional required to make the request? How do I find out if it is supported in US environment?

Microsoft Security | Microsoft Graph
{count} votes

Your answer

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