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
Outlook
A family of Microsoft email and calendar products.
3,844 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,035 questions
0 comments No comments
{count} votes

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.