Microsoft Graph - Adding recurring event with exceptions

Viewed 297

How can I add a recurring event with exceptions using the Microsoft Graph API? Is this possible in Microsoft Graph at all?

Edit:

For instance, I want to create an event that will take place every Monday, starting 07/05/2021, but that will not occur on 07/12/2021. I already know how to create the recurring event, but I don't know how to create it with this exception.

1 Answers

You first need to find the correct Event Instance you want to change.

/events/{id}/instances?startDateTime={dateTime}&endDateTime={dateTime}

This will return a list of instances within the specified date range. You then parse the list for the specific instance you want to obtain its unique id and delete it like any normal event.

Related