question

OmidRooholfada-9518 avatar image
0 Votes"
OmidRooholfada-9518 asked SarfarazSuleman-4122 edited

Outlook doesn't preserve iCal UID for events where invited from Google Calendar

When my Outlook calendar gets invited to an event from a Google calendar, the event that gets created on my Outlook calendar has a different iCalUID from the corresponding event in GCal.

However, the ID is preserved when my Google calendar gets an invite from Outlook. This makes me think that Outlook is parsing the .ics invitation incorrectly and not preserving iCalUID.

This behavior defeats the purpose of the iCal UID - having a global ID for events across calendars.

Any insight on why this discrepancy is happening?

office-vba-devmicrosoft-graph-calendaroffice-js-dev
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @OmidRooholfada-9518 ,


Please kindly understand that the Outlook tag here we mainly focus on general issues about Outlook desktop client. Looks like your issue might be more related to iCal UID. In order to better solve your problem, we will remove "Office Outlook ITpro" tag, and add "office-vba-dev", "office-js-dev" and "microsoft-graph-calendar"tag.


Thanks for your understanding and hope your question will be resolved soon!

1 Vote 1 ·

Adding right tags/teams to assist

0 Votes 0 ·

I am working on a calendar sync application and was having the same issue with implementing de-duplication between shared G-Cal and Outlook calendar events.

My solution (that is still in progress at the moment) is to look for the .ics attachment on the event. The .ics attachment contains the Original Google iCalUID.

Summarized workflow:
- If a calendar event comes in from Outlook and the organizer is not the current calendar subscriber (i.e. event was created by another user), then check for the .ics attachment.
- If no .ics attachment found, use the iCalUID included in the event payload.
- If .ics found, use the iCalUID from the .ics attachment.

Lastly, in order to save API calls to attachments for event changes, I have a mapping table in my DB that matches iCalUID to Outlook iCalUID. This way, I can save myself a trip to the API by performing a DB lookup first.

Hope that helps.



Also, Microsoft knows of this as an issue and had the fix as part of their roadmap last year https://developer.microsoft.com/en-us/outlook/blogs/microsoft-graph-calendar-events-icaluid-update/

However, it was postponed https://developer.microsoft.com/en-us/outlook/blogs/deferred-icaluid-update-on-ms-graph/ and they have not conveyed any new updates ☹️

0 Votes 0 ·

0 Answers