Receiving notification for deleted non series-master events

%3CLINGO-SUB%20id%3D%22lingo-sub-2724556%22%20slang%3D%22en-US%22%3EReceiving%20notification%20for%20deleted%20non%20series-master%20events%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2724556%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20have%20information%20about%20a%20deleted%20occurrence%20in%20a%20series%2C%20using%20the%20Graph%20API%20%3F%3CBR%20%2F%3EOr%20is%20the%20only%20solution%20to%20retrieve%20the%20series-master%2C%20fetch%20all%20occurrences%20and%20find%20the%20one%20who%20has%20been%20deleted%20by%20comparing%20the%20result%20with%20the%20data%20stored%20on%20our%20side%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI've%20subscribed%20to%20change%20notifications%20and%20it%20works%20great%20if%20you%20get%20an%20update%20on%20an%20occurrence%2C%20e.g.%20a%20changed%20start%20time%20for%20an%20occurrence.%20In%20that%20case%20when%20you%20call%20%2Finstances%20you%20correctly%20get%20an%20exception%20for%20that%20specific%20occurrence.%3C%2FP%3E%3CP%3EOn%20the%20other%20hand%20if%20you%20delete%20an%20occurrence%20there%20is%20no%20exception%20when%20you%20call%20%2Finstances.%20The%20corresponding%20occurrence%20json%20object%20is%20simply%20removed%20from%20the%20JSON%20response%20in%20that%20case.%20This%20is%20not%20really%20handy%20when%20you%20get%20an%20update.%20How%20do%20you%20know%20which%20occurrence%20is%20to%20be%20removed%3F%20Only%20way%20seems%20to%20re-import%20everything.%20Do%20you%20have%20better%20suggestions%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThank%20you%20for%20your%20time.%3CBR%20%2F%3E%3CBR%20%2F%3EP.S.%20I've%20posted%20this%20also%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-graph-security-api%2Freceiving-notification-for-deleted-non-series-master-events%2Fm-p%2F2371572%23M304%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-graph-security-api%2Freceiving-notification-for-deleted-non-series-master-events%2Fm-p%2F2371572%23M304%3C%2FA%3E%3CBR%20%2F%3EI%20guess%20that%20wasn't%20the%20right%20place%2C%20that's%20why%20I've%20reposted%20it%20here.%20Sorry%20for%20any%20inconvenience.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

Is it possible to have information about a deleted occurrence in a series, using the Graph API ?
Or is the only solution to retrieve the series-master, fetch all occurrences and find the one who has been deleted by comparing the result with the data stored on our side?

I've subscribed to change notifications and it works great if you get an update on an occurrence, e.g. a changed start time for an occurrence. In that case when you call /instances you correctly get an exception for that specific occurrence.

On the other hand if you delete an occurrence there is no exception when you call /instances. The corresponding occurrence json object is simply removed from the JSON response in that case. This is not really handy when you get an update. How do you know which occurrence is to be removed? Only way seems to re-import everything. Do you have better suggestions?


Thank you for your time.

P.S. I've posted this also here: https://techcommunity.microsoft.com/t5/microsoft-graph-security-api/receiving-notification-for-delet...
I guess that wasn't the right place, that's why I've reposted it here. Sorry for any inconvenience.




0 Replies