Microsoft Graph Java API FindRoomLists question

Leo Kishore 1 Reputation point
2020-12-14T14:03:04.67+00:00

I am having an issues with , I get 'Access is denied. Check credentials and try again.', Places calls are working along with other calls but as the documentation states either. My permissions are Calendars.ReadWrite, place.read.all, user.read, user.read.all. Is this call working for others?

I am using both the FindRoomLists call exactly as it is in the documentation and also the customRequest with the url. It clearly seems to be hitting the beta URL but unless there is another permission I need to turn on, not sure why this is not responding with data.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,506 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,831 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 25,476 Reputation points Microsoft Employee
    2020-12-16T19:49:15.047+00:00

    Hi @Leo Kishore ,

    I would check to make sure you get a result for findRooms at https://developer.microsoft.com/en-us/graph/graph-explorer with the credentials you're using. A stretch could be a policy on your Azure AD tenant, like MDM, that could be blocking the request. I would also verify that your accessToken does indeed have the appropriate scopes needed.

    Regards,
    Ryan