0
votes

I have found out that EWS API is authenticated from OAuth 2.0. I want to call the GetEvents API [1] of EWS. The hard part to understand is how to get the authorization from users for this action. Can someone point me out to the relevant docs on how to register an App and getting the client ID and secret for EWS.

[1] - http://msdn.microsoft.com/en-us/library/aa566199(v=exchg.150)

1

1 Answers

0
votes

There is no MSDN documentation on the specifics for using OAuth with EWS at this time, although there is for the O365 REST APIs. To register an app that uses Exchange Online, you'll have to follow the steps provided in the Enabling Microsoft Azure portal access to manage applications using the OAuth2 protocol blog post, but the rest of the steps for EWS (not REST) haven't been documented yet. I can update this post when that documentation has been written.