How to get the deleted events from Graph API ?

Srinath R 1 Reputation point
2021-09-09T07:32:15.93+00:00

Hi,

I'm actually using the delta query api in order to sync my DB with the outlook events.

https://learn.microsoft.com/en-us/graph/delta-query-events?tabs=http#step-1-sample-initial-request

However, I can get only the added events but not the deleted events.

I can't find the @removed attribute as mentioned in the doc.

Say initially I had 5 events and I deleted 2 events. What I expect from the api is a way for me to know and differentiate between the existing events and deleted events.

But what I get is the remaining 3 active events instead of (3 active + 2 deleted events). So using this info, I can't sync my DB easily.

I tried checking the SOF posts but in vain.

Could you guys kindly tell how to get my deleted events also using the delta query api?
And also how to get a list of deleted events without delta query api?

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

1 answer

Sort by: Most helpful
  1. Sheena-MSFT 1,721 Reputation points
    2022-02-04T14:40:46.417+00:00

    Hi @Srinath R ,

    Please check this thread.

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

    0 comments No comments