方宇凡
方宇凡

Reputation: 23

Failed to list all calendars with microsoft graph api

I'm currently trying to deal with calendars using graph api.
Last week, I've tried to use

https://graph.microsoft.com/v1.0/users/{user_id}/calendars

and

https://graph.microsoft.com/v1.0/users/{user_id}/calendars?$top=500

to list the calendars from my_calendar groups.
However, only the calendars I've created months ago can be listed, and all the calendars I create today are not listed. (there are only 15 calendars)

Note. I've tried to use

  1. UI: https://outlook.office.com/calendar/view/month
  2. graph explorer sending api: post https://graph.microsoft.com/v1.0/users/{user_id}/calendars to create the calendar.
    However, all the new calendars I create can not be listed by the list calendars api.

Best regards,
Thank you in advance~!

Upvotes: 1

Views: 592

Answers (1)

Shweta
Shweta

Reputation: 351

List calendars - Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group.

For getting delegated shared calendars, use this documentation.

Upvotes: 1

Related Questions