how to get generate OAuth to receive e-mail for a legacy application running as a service

prakash anandaraj chinnappan 0 Reputation points
2023-01-19T08:57:07.96+00:00

We have been using basic authentication for reading emails in a legacy application running as a service. Since basic authentication is no longer supported, the application is broken.
How should we go about creating the auth token to read email? We can't have any browser integration to generate the auth token.

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.
495 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Glen Scales 4,426 Reputation points
    2023-01-23T00:27:09.7633333+00:00

    Look at using the client credentials flow, the requirement and methods to use this are outlined in [https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth

    0 comments No comments