Share via

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 Security | Microsoft Graph
0 comments No comments

Your answer

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