question

ShaozeWang-3593 avatar image
ShaozeWang-3593 asked ·

What would be the response for getting calendarviews from an outlook account that doesn't have calendar enabled?

When we query the O365 api for the Outlook Calendar endpoint, sometimes the error response is not consistent. Some times it is 400, and some times is it 409. We are wondering if one of the error code means the email doesn't have a valid calendar.


azure-active-directory
1 comment
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Are you using https://outlook.office.com/api/v2.0/me/calendars endpoint to access the calendars. What do you mean by "outlook account doesn't have calendar enabled" ? Are you trying to fetch any specific calendar ?

Please note that if you are building a new app it is strongly recommended to use Microsoft Graph-based Outlook REST API for all the new functionalities.


0 Votes 0 · ·

1 Answer

LeonLaude avatar image
LeonLaude answered ·

Hi,

Q&A currently supports the products listed over here https://docs.microsoft.com/en-us/answers/products (more to be added later on).

You might want to reach out to the experts in the Office 365 Developers forum over here:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=Office365forDevelopers

(Please don't forget to accept helpful replies as answer)

Best regards,
Leon


Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.