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.

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,589 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
821 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 16,616 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