We have a hybrid model of native appointments merged with appointments from our clients Outlook fetched by using the Microsoft Graph API.
Our Outlook synchronisation app shows duplicate events. After some research it seems that these event duplicates all have different IDs. These IDs are fetched via the getId() method on Event. Before we write a new appointment in our database, we check if the Event ID exists in our database, but since it seems to change (sometimes) it is hard to determine if the event already exists within our database.
I just did a test to see if getICalUid() would help, but it seems that the iCalUid only exists on Event type occurence and not Event type singleInstance.
Could anyone help me to get a unique Event identifier? I would have guessed this is done by using getId().