Cannot authenticate with OAUTH to Exchange using IMAP, client credentials

Catalin Gidea 0 Reputation points
2023-09-27T20:41:30+00:00

When trying to authenticate to Exchange with IMAP protocol using OAUTH, client credentials.

We are receiving: A1 NO LOGIN failed

We are using javamail 1.6.2

Azure AD has been configured with conditional access, allowing IMAP connectivity.

Service was created and granted access to the user inbox.

We are obtaining the the Token correctly, but authentication fails (A1 NO LOGIN failed)

Any help would be appreciated.

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,292 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
544 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.