DELETE /users/{id | userPrincipalName}/events/{id} didn't give any error but event still exists in attendees calendar

Nipun Jain 0 Reputation points
2024-01-29T10:43:18.4266667+00:00

Hi,
I am using DELETE /users/{id | userPrincipalName}/events/{id} API to cancel events. This API works as expected in all the cases but recently I came through an incident when on calling this API, event got deleted from organizer calendar, however the attendees in the event( RESOURCE type ) were still able to see the event in their calendar and they didn't received the cancellation notification either. Any help here.

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

1 answer

Sort by: Most helpful
  1. Deepanshu Sharma 490 Reputation points Microsoft Vendor
    2024-02-12T03:00:33.0566667+00:00

    Hello

    When you delete an event using the API, it cancels the event in the organizer’s calendar. However, attendees (including RESOURCE type) might still see the event in their calendars without receiving a cancellation notification. To address this:

    1. Check Email Delivery: Ensure the cancellation email was delivered successfully.
    2. Allow Sync Time: Attendees’ calendars may take time to sync.
    3. Monitor Behavior: Different clients handle cancellations differently.
    4. Cleanup Tasks: Remove attachments and handle recurring events.
    5. Permissions: Verify your app has necessary permissions.
    0 comments No comments