Using OAuth2 for Office365, through Exchange ActiveSync (EAS)

Blog post: The Exchange ActiveSync v16.1 ad states that:

While we are not part of EAS 16.1, we also want to note that Office 365 and Outlook.com clients can now use the OAuth 2.0 protocol for authorization through EAS.

My question is: what area should be used in oauth request?

Is there an example of a possibly complete request?

Note: There was a question about using OAuth for Office365 with IMAP , but here I specifically ask about ActiveSync . I referred to this question in a comment on one of the answers to this thread .

Secondary problem :

Thanks to Jason's answer and some additional settings, we were able to create an oauth token using https://login.windows.net/common/oauth2 , but only for Office365 users (organization accounts), and not a Microsoft user account (live, hotmail, outlook.com ...)

The token allows access to the ActiveSync protocol (via https://eas.outlook.com/Microsoft-Server-ActiveSync ) and for the EWS API (via https://outlook.office365.com/EWS/Exchange.asmx ).

, Microsoft (hotmail, live, outlook.com). : https://login.live.com/oauth20_authorize.srf, activesync, EWS.

, (ActiveSync EWS)?

+1
1

, , :). Azure Active Directory:

enter image description here

- Exchange ( Office 365 Exchange Online) .

.. (https://apps.dev.microsoft.com), Azure Portal (https://portal.azure.com/), v1 Azure auth endpoints .

enter image description here

+1

All Articles