Event update flag - Microsoft Outlook Calendar Graph API

Inrecovery 21 Reputation points
2021-08-03T11:27:46.703+00:00

Hi,

Is there a way to update only one instance of the recurring series?

If I work with the master id all the events get updated automatically but in outlook I can only update the master and leave the rest as they were.

Can anyone help me how to only update the master and leave the rest with Graph API?

Thank you,
Bogi

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,273 questions
0 comments No comments
{count} votes

Accepted answer
  1. Damacharla, Tirumala 76 Reputation points
    2021-08-26T13:43:51.203+00:00

    You can update one of the instances from a recurring reservation by specifying the OccurrenceID in place of Event ID:
    https://graph.microsoft.com/v1.0/users/<<ResourceName>>/events/<<OccurrenceID>>.

    Thanks,
    Tirumala Damacharla

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Deva-MSFT 2,266 Reputation points Microsoft Employee
    2021-08-24T11:44:55.297+00:00

    I haven't worked on the exact scenario. Being said that if the event you're updating is the master event of a recurring series, contains multiple attendees, and if it has instances that have been updated separately - you will see multiple notification emails will be sent out; one for the master series and one per instance that has been updated.

    0 comments No comments

  2. Inrecovery 21 Reputation points
    2021-10-28T22:03:42.403+00:00

    Hi @Damacharla, Tirumala ,

    Thank you for your answer.
    Unfortunately only the slave events have OccurrenceIDs the master event doesn't return me one when I create the event.
    I can edit the slave events without any issues, but not the master. The edit for the masterId always changes every event in that series.\

    Can you tell me how to get the occurrenceId for the master?

    BEst regards,
    Bogi

    0 comments No comments

  3. Damacharla, Tirumala 76 Reputation points
    2021-10-29T17:20:12.887+00:00

    Hi,

    You can get Occurrence Details using the Event ID and Instance Start Time and End Time.
    For Ex:
    https://graph.microsoft.com/v1.0/users/<<RESOURCENAME>>/events/<<EVENTID>>/instances/?startDateTime=2021-08-01T08:00:00.0000000&endDateTime=2021-08-10T10:00:00.0000000
    Here StartDateTime is the Reservation Instance Start Time, and endDateTime is the Reservation Instance End Time.
    If you want to connect, send me an email: tirumala.damacharla@Stuff .com.

    Regards,
    Tirumala Damacharla


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.