Reading a shared calendar using Microsoft Graph APIs

I can read the events belonging to the default My Calendars folder using

https://graph.microsoft.com/v1.0/users/MYEMAILID/events

However, I cannot navigate to events inside a shared calendar or folders, the hierarchy looks like this:

My calendars

  • The calendar
  • Abc
  • Xyz
  • INR

I want to access events from "MNO".

Tried the following, but does not work:

- get calendar groups first

https://graph.microsoft.com/v1.0/users/MYEMAILID/calendarGroups

he returns with JSON with details for Calendar, ABC, and XYZ, but nothing for MNO.

Please note that I imported .pst into my Outlook, which as a result I see the "MNO" folder in Outlook with 709 events, but nothing in the Graph API

Also tried to get calendars inside this group using

https://graph.microsoft.com/v1.0/users/MYEMAILID/calendarGroups('MNO')/calendars

, , JSON, Outlook ,

+4

Source: https://habr.com/ru/post/1677693/


All Articles