Hi,
I am trying to use modern authentication to access by outlook inbox using java with the help of https://learn.microsoft.com/en-us/azure/active-directory/develop/scopes-oidc , https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code
- Registered the app in Azure AD with the client secret and an redirect uri
- Got the authorization code and access token using the OAuth flow
- When i try to access my inox using IMAP with the received access token , it is failing with the following error
As per the azure sign in logs, it seems it is taking access token as my password
Any suggestions would be really helpful.
Thanks!