Error retrieving iCalUId using Microsoft Graph API with delegate access in Outlook (classic)

Lars Schieffer 0 Reputation points
2024-09-24T09:29:58.8766667+00:00

We are currently developing an add-in for Outlook that needs to support both the classic version on Windows and the web-based version.

To match events, we need to store the corresponding iCalUId's. These are obtained using the Microsoft Graph API with the following steps:

  1. Get the item ID using saveAsync (see saveAsync).
  2. Convert the item ID to a RestId v2 (see converttorestid).
  3. Use our graph API client to get the corresponding iCalUId

This process works on Windows as well on the web for creating appointments in calendars owned by the current user. 

But using delegate access the graph api return an 404 error for appointments using Outlook (classic) on Windows, containing the following body:

{
     "error": {
         "code": "ErrorItemNotFound",
         "message": "The specified object was not found in the store."
     }
}

To make it precise, it still works for calendars using delegate access in Outlook on the web.

We appreciate any clarification or assistance provided on this matter.

Best regards,

Lars Schieffer

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Your answer

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