How can I get the "uid" (iCalUId) of a deleted event referenced in a calendarView delta response?

Agustin Barto 1 Reputation point
2022-08-26T19:24:53.393+00:00

When an event is deleted, I get a calendarView delta response like the following:

{  
    "@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(event)",  
    "value": [  
        {  
            "@odata.type": "#microsoft.graph.event",  
            "id": "AQMkADAwATNiZmYAZC05MzkxLWQyMgAwLTAwAi0wMAoARgAAA_HWvQb_VDFDmeEbMo7WjVUHAOOOguis6mVJrB9JUhywi8QAAAIBDQAAAOOOguis6mVJrB9JUhywi8QABpRXkisAAAA=",  
            "@removed": {  
                "reason": "deleted"  
            }  
        }  
    ],  
    "@odata.deltaLink": "https://graph.microsoft.com/beta/me/calendarView/delta?$deltatoken=GilEv_jm8A4lKQ8gYeApGOApFsmaI3GWCiQifKpxYFjak-g-LAPh_dq1xj9-YR0SBqQIeQrEJ_U4-kTHt_eQwYJC93D5L3e-uk-W_8aA7cgafOs8v5e2CAaAVGKIdhyMbRlCf8SeRAxFlDew_h_vbp40t5t7gb0PJoYsnQUEM-w.GFpxaV1FYWUWwSfE8QUc4rQ28SvCBHEST0qIOC2aFl0"  
}  

Is there a way to get the "uid" (aka "iCalUId") of this event? I cannot hit the events endpoint as the object no longer exists.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sheena-MSFT 1,731 Reputation points
    2022-08-29T13:52:38.667+00:00

    Hi @Agustin Barto ,

    Currently there is no way to get the iCalUid of a deleted events using Graph API. When an event is cancelled it is deleted from the calendar. So there is no way to list deleted events and there properites.

    you can submit a feature request idea via this support link to suggest tweaks to the document content, which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".