Can Event id change?

Dian Derksen 1 Reputation point
2020-06-10T07:45:35.607+00:00

Hello everyone,

We have a hybrid model of native appointments merged with appointments from our clients Outlook fetched by using the Microsoft Graph API.

https://learn.microsoft.com/en-us/graph/api/resources/event?view=graph-rest-1.0[event][1]

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().

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,218 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,821 Reputation points
    2020-06-10T07:47:19.267+00:00

    Hi,

    Outlook is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated Outlook forum over here:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=outlook

    https://answers.microsoft.com/en-us/msoffice/forum/msoffice_outlook

    (Please don't forget to accept helpful replies as answer)

    Best regards,
    Leon

    0 comments No comments

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.