Ciaccia
Ciaccia

Reputation: 402

Office 365 unified API error when deleting a calendar

Today I was playing with the new (beta) Office 365 unified APIs and I noticed a very strange behaviour, possibly a bug on Microsoft side.

When I try to delete a calendar using the unified APIs I get a 409 error, the same I get when I try to create a new calendar passing a name which already exists. Here below the REST details.

Request:

DELETE https://graph.microsoft.com/beta/me/calendars/AAMkAGZlO...6AAA= HTTP/1.1
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJ...
Host: graph.microsoft.com

Response:

HTTP/1.1 409 Conflict
{"error":{"code":"ErrorFolderExists","message":"A folder with the specified name already exists."}}

According to the specs (https://msdn.microsoft.com/office/office365/APi/calendar-rest-operations#Deletecalendars), 204 should be returned.

Is there a way to create a bug on Microsoft side, such as a bug tracker?

Thanks a lot in advance

Upvotes: 5

Views: 736

Answers (1)

user3279595
user3279595

Reputation: 1

This has been Service Exception processing request. Code: ErrorFolderExists, Message: A folder with the specified name already exists., Retry The reason for this error, is that the source platform has a native folder - 'Notes' for example, and the destination Exchange / Outlook also has a native Notes folder, but only for Outlook Notes.

Solution

Therefore the source folder needs to be renamed for a migration to work.

Upvotes: 0

Related Questions