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?