0

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 this global endpoint -

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

Since places API was not supporting I tried to use the graph beta API -

https://graph.microsoft.us/beta/users/{0}/findRooms

This works fine with national cloud end point.But this does not list more than 100 rooms.

Is there any other API which I can use to list the more than 100 rooms which is also supported by national cloud API?

dev_101
  • 321
  • 4
  • 14

0 Answers0