none
Microsoft Graph API "List Events" function does not support getting deleted/canceled events RRS feed

  • Question

  • Just wanted to make sure that Microsoft Graph API "List Events" function does not support getting deleted/canceled events.

    been trying to get these events using the API and also the Microsoft graph explorer and no such events returned.

    also bumped into this post that others couldn't get canceled/deleted events too:

    https://stackoverflow.com/questions/43182544/microsoft-graph-api-not-returning-cancelled-events

    how do i get canceled/deleted events?

    Thursday, June 20, 2019 5:39 AM

All replies

  • Anyone? 

    am i in the right forum? is it active?

    Sunday, June 23, 2019 4:18 AM
  • Hey,

    it is possible to get this.

    You have to filter for the "isCancelled" property.

    for example:

    https://graph.microsoft.com/v1.0/me/events/?$filter=isCancelled eq true

    https://graph.microsoft.com/v1.0/me/calendarView?startDateTime=2019-01-01T00:00:00.000000&endDateTime=2019-08-01T00:00:00.000000&$filter=isCancelled eq true

    if you are not getting cancelled events, look at your outlook calendar if you find a cancelled meeting. if not, there is maybe something like an exchange setting for this.

    If you cant find anything, than use the MS Graph changeNotification (webhook) endpoint, with that you receive notifications for changes in events. with that you could create an event and cancel it, to see when it is really deleted. Maybe there is an auto cleanup tool running in your company

    Tuesday, July 30, 2019 6:42 PM