'Outlook Calendar ItemIds are different for Appointment Organizer and Appointment Attendee
We are developing an Addin for Outlook Calendar using Office JS, such Addin being used by both Organizers and Attendees, using the same Taskpane JS code. We need thus to obtain a unique UID for the same appointment.
As documented,
- as Organizer using the
Office.AppointmentComposeinterface we use the methodgetItemIdAsync, i.e.,Office.context.mailbox.getItemIdAsyncand only after saving the Item for the ItemId to be available, and - as Attendee using the
Office.AppointmentReadinterface we use the propertyItemId, that is,Office.context.mailbox.item.itemId
But they are not the same!
In the Addin JS code of the Attendee, how can I identify the ItemId of the Organizer of the appointment, in which the Attendee was invited for?
How can we have a common UID for Organizer and Attendee? Is there a EWS request I can make with Office.context.mailbox.makeEwsRequestAsync? Which XML request code then?
Solution 1:[1]
The appointment uid is exposed in both EWS (UID property) and in Graph (uid property). They will be the same for both the organizer and the attendee.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dmitry Streblechenko |
