Microsoft graph API: finding event by iCalUid

Viewed 2618

I would like to decline one instance of recurring meeting. I only have masterSerieId, iCalId, time of that instance.

Do you know how I could cancel that instance?

Do I have to query using masterId and time of the instance to find event id or there is a way I would just find eventId using iCalId?

2 Answers

You can use OData query options to filter on just the event that has that particular iCalUId.

For instance: GET https://graph.microsoft.com/v1.0/me/events?$filter=iCalUId eq '<your iCalUId>'

Sadly the calendar view endpoint does not include events which are part of an event series if you match against a given iCalUId. So if an event has a seriesMasterId which is not null, you wont find it by filtering for the iCalUId.

Related