Can't be able to fetch events, calendars and calendar view of the specific user

Karupusamy 0 Reputation points
2023-07-25T12:15:34.97+00:00

Hi All,

Can't be able to fetch calendar view of the specific user.

Fetch my calendars, events and calendar view are working well.

After we were trying to fetch calendars, events or calendar view of the specified user, it does not work.

Working API's:

/me/events

/me/calendars

/me/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}

Not working API's:

Throw error like

{

        "code": "ErrorItemNotFound",

        "message": "The specified object was not found in the store."

    }

/users/{id | userPrincipalName}/events

/users/{id | userPrincipalName}/calendars

/users/{id | userPrincipalName}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime}

Enabled permissions screenshot for your reference attached below:

User's image

Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,006 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.