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

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

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

1 answer

Sort by: Most helpful
  1. answered 2023-01-23T00:27:09.7633333+00:00
    Glen Scales 3,871 Reputation points Microsoft MVP

    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

    No comments