Graph: Calendar: Delete API: Deleted Items Still Present in Search

totally_gizmo 96 Reputation points
2022-10-21T16:11:41.427+00:00

Prior to October 14, the Delete API for calendars worked every time.

Now, I am experiencing a strange situation. I delete several calendars that match a regex based off the calendar name.
The API will run no error. Refreshing the screen causes all of the deleted calendars to repopulate. All of the calendars that return have the same name, but new M365ID's

Function call

Client().UsersById(user).CalendarsById(calendarID).Delete(ctx, nil)

Any help on this would be greatly appreciated.

======================

Upon more troubleshooting, the calendar names are being entered in the following format:
TestCalendar: 21-October

As unlikely as it seems, the space or the colon seems to be having an effect upon deleting the item permanently.
Still troubleshooting.

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

2 answers

Sort by: Most helpful
  1. totally_gizmo 96 Reputation points
    2022-10-21T20:05:47.773+00:00

    The calendar is ending up in the Deleted Folders according to PostMan. Is there anyway to purge the folder from this location?

    0 comments No comments

  2. HarmeetSingh7172 4,811 Reputation points
    2023-01-04T22:57:56.087+00:00

    Hello @totally_gizmo

    Based on my understanding and testing, it seems to be a bug. I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from
    http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.