Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
how to fetch all calendars except birthday and festival
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Hi @刘珊珊(人人事业部/saas事业部/chime) ,
You can use $filter odata query parameter in your graph API endpoint to list all calendars expect birthdays and festivals.
for example https://graph.microsoft.com/v1.0/me/calendars?$filter= name ne 'Birthday' and name ne 'festival'.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.