Hi,
i am trying to authenticate a personal Micrsoft account (Outlook.com account) using ExchangeActiveSync with OAuth. The application is registered on AzureAD. In order to use the OAuth v2.0 protocol for personal Microsoft accounts, the manifest config is set to:
"accessTokenAcceptedVersion": 2,"signInAudience": "AzureADandPersonalMicrosoftAccount",
ExchangeActiveSync permission is also added.
I tried to fetch authorization code with the scope parameter set to
offline_access https://outlook.office365.com/EAS.AccessAsUser.All
But I got a invalid_scope response
example://example.oauth2redirect?error=invalid_scope&error_description=The provided value for the input parameter 'scope' is not valid. The scope 'offline_access https://outlook.office365.com/EAS.AccessAsUser.All' does not exist.
Is ExchangeActiveSync supported by the AD OAuth v2 protocol? If it is, what is the correct scope to use it?
Thanks,