How to get deleted event(s) part of a given series

Cristiano Degiorgis 40 Reputation points
2024-05-30T12:32:15.4566667+00:00

I need to retrieve deleted event(s) from a given recurrent series.
I'm creating a PowerBI report based on Outlook calendar. Leveraging the recurrnces data structures I have been able to build all events of a given series but I'd like to delete the event(s) that have been eventually deleted by the user manually. The flag "isCancelled" part of the event entity does not seem to fit my needs.

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

Accepted answer
  1. CharanyaB-MSFT 1,806 Reputation points Microsoft Vendor
    2024-05-30T18:49:09.2933333+00:00

    Hello @Cristiano Degiorgis,

    Based on current research, there is no Graph API available that retrieves a list of deleted occurrences of a recurring event. Since this feature is not present, you may consider submitting a feature request. The Microsoft team will review this for possible inclusion in future Microsoft Graph API updates.

    Alternatively, setting up a subscription to track calendar changes through webhooks is possible. This allows you to detect events with change types such as "created," "updated," or "deleted."

    Documentation reference: https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http

    You can also use the /delta API to track event changes. However, it won't provide information on deleted occurrences directly. You can, nevertheless, compare the previous occurrences with the current ones.

    Hope this helps.

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

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 1,405 Reputation points Microsoft Vendor
    2024-06-03T08:59:27.58+00:00

    Hi @Cristiano Degiorgis

    After research, the Graph Api does not currently provide the ability to retrieve a list of all deleted events of a recurring event, and someone has asked the same question before, and you can check this link.

    So, we suggest that you can submit a feature request idea using this support link, which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.

    Hope this helps.

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

    0 comments No comments