Access denied when fetching resource (room) calendar

Donovan Charpin 1 Reputation point


I implemented the msgraph where I get the resources


Then, for each resource, I call the endpoint to get the calendar (from the room email address)


It works well with a client using only Microsoft 365 but for another client using both Microsoft 365, Azure AD and exchange, I'm not able to get the second call retrieving the calendar, I get this error

403 Forbidden: {"error":{"code":"ErrorAccessDenied","message":"Access is denied. Check credentials and try again."}}

The scopes are


The account that connected through Oauth2 is admin. We tried to connect to Outlook 365 with this account and I can see the resources and the calendars. We delegated the resource to the admin in Office 365 and Azure, I really don't understand this issue as it works with a client and not the other, there is maybe a misconfiguration in the account?


Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,321 questions
{count} votes