Getting other users calendars with Graph

AnotherUserHere 1 Reputation point

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 200230-image.png
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 with the following command  

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?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,761 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sheena-MSFT 1,731 Reputation points

    Hi @AnotherUserHere ,

    Could you please check your admin roles of your user account by which you are trying to fetch other user calendar with in the organization. As per my testing after providing admin roles to my user account I was able to fetch other user calendar with permission Can view when I'm busy.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments