question

SrinathR-7673 avatar image
0 Votes"
SrinathR-7673 asked Sheena-MSFT answered

How to get the deleted events from Graph API ?

Hi,

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

https://docs.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-calendarmicrosoft-graph-query-parameters
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Sheena-MSFT avatar image
0 Votes"
Sheena-MSFT answered

Hi @SrinathR-7673,

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".




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.