Hello, I am not sure about the technical of using graph to query other users calendars.
The following is my use case;
I need to pull the calendars of around 30 people, I can manually go into outlook and add these calendars as they all have the following permission level set
Name - "My Organization"
Permission Level "Can view when I'm busy"
As I need to do this for may people I would like to use graph, I have used the sandbox at https://developer.microsoft.com/en-us/graph/graph-explorer with the following command
https://graph.microsoft.com/v1.0/users/******@myorg.com/calendarview?startdatetime=2022-05-09T11:17:10.755Z&enddatetime=2022-05-16T11:17:10.755Z
This gives me the response error
"code": "ErrorAccessDenied",
"message": "Access is denied. Check credentials and try again.",
This would be understandable however I am authenticated with my user account which is within the same organization as the users calendar that I am trying to pull as per the permissions mentioned earlier. So I should be at least able to query the calendar and find out when they are busy?