Trying to setup an Azure AD app registration for email scanning but the client uses an on-prem exchange server for mailboxes

Jordan Clark 0 Reputation points
2024-04-17T17:07:30.2966667+00:00

I am building support for OAuth 2.0 authentication for an email scan that my app performs. The idea of this scan is that a user can provide the credentials to gain access to the account and my app can store the access tokens and obtain access at any time without required the user to be logged in.

My current flow asks a user to create an app registration with the Azure AD and provide the client ID and tenant ID values so I can obtain an access token. The client that I am currently in talks with about setting this up informed me that their mailboxes are hosted on an on-prem exchange server. They have an office 365 tenant, but no mail goes through it.

Is there a way to perform the same action that the app registration would without an Azure AD and, if so, how complex would that change be?

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