Cancelling calendar events via MS Graph no longer working

Steve Coombes 20 Reputation points
2023-03-06T13:49:13.8533333+00:00

Hello

On of our applications cancels Calendar events via MS Graph. It has been working fine but has now started returning error 'Your request can't be completed. You need to be an organizer to cancel a meeting.'

The application has permission 'Calendars.ReadWrite' (type=application).

It is a Java application using the MS Graph client. As far as I know, nothing has changed in the app or in the calendars.

Kind regards

Steve

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

Accepted answer
  1. Andy David - MVP 140.8K Reputation points MVP
    2023-03-06T13:52:59.5+00:00

    Are you sending a delete or cancel?

    Delete is needed here according to the documentation:

    https://learn.microsoft.com/en-us/graph/api/event-delete?view=graph-rest-1.0&tabs=http

    Cancel only works for the organizer:

    https://learn.microsoft.com/en-us/graph/api/event-cancel?view=graph-rest-1.0&tabs=http

    User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful