I'm working on a project where I add and update sports calendars to a user's Outlook calendar.
I'm facing a consistent issue where I can't delete ANY calendars via the API or the desktop web application.
Every time I delete a calendar through the API, I receive the following code and message:
{
code: 'ErrorFolderExists',
message: 'A folder with the specified name already exists.'
}
Any ideas?
My API call is something like:
DELETE https://outlook.office.com/api/v2.0/me/calendars/:calendarId
The only solution I've seen is to rename the calendar and then delete it, but I'm hoping for something a little more stable.
Any help would be appreciated!