0
votes

I have been using outlook rest api's to read/create/update calendar events of outlook account.

Followed all the steps https://dev.outlook.com/RestGettingStarted/

It works very well for the subscription account's.

But the api does not work to load the calendar events of my personal outlook account ex: [email protected].

API responds with below error:

"error": {
    "code": "ErrorMissingEmailAddress",
    "message": "When making a request as an account that does not have a mailbox, you must specify the mailbox primary SMTP address for any distinguished folder Ids."
}

I have tried the same with outlook sandbox got the same response.

Any help on this to get this api working for any outlook account. Will be highly appreciated.

1

1 Answers

0
votes

This is likely due to your account not yet being enabled for the REST API. There's an issue with the v2 endpoint not returning the proper error message in this case.