Configuring Exchange Online with user's tenant app
This article will guide you through the process of connecting to Exchange Online using an application registered in the user's tenant.
IMPORTANT: This option is compatible with any API type, Microsoft Graph or EWS. For optimal performance, we recommend using Microsoft Graph.
To connect to Exchange Online using a custom application in your Azure portal, proceed as described below.
Register your application in Microsoft Azure:
-
Go to the Microsoft Azure portal.
-
Create a new app registration by navigating to Azure Active Directory > App registrations > + New registration.
-
Register your application as described here. During the registration, you will provide a name for your application and choose whether to configure it as single-tenant or multi-tenant.
-
Click + Add a platform to display the Configure platforms slideout.
-
Select the Mobile and desktop applications tile.
-
In the platform settings, add the Redirect URIs for your application
[Web App URL]/admin-center
andhttp://localhost
. -
Note down the Application (client) ID (Client ID).
Configure Mail Connector settings:
-
In Alloy Navigator, proceed to Admin Center > E-Mail Processing > Mail Connector and click New.
-
Choose Exchange Online with OAuth Authentication as the server type for incoming mail.
-
Select an API type. For optimal performance, we recommend using the Microsoft Graph option.
-
Under Client check the option Client application registered in your Azure portal.
-
Optionally check My organization is in the US Government Cloud. If this option is enabled, the application will operate within the specific boundaries and compliance requirements of the Microsoft Government Cloud.
-
Enter the Client ID that you noted down after registering your application in Microsoft Azure (step 7 in the procedure above).
-
Do one of the following:
-
For Single tenant configuration, enter the Tenant ID.
-
For Multi-tenant configuration, leave the field blank.
-
-
Click the Sign in hyperlink to sign in to the Microsoft account for the Mail Connector. If you're already signed in with another account, you can change it by clicking the Change hyperlink and choosing the account you need.
-
Specify which folder on the server the Mail Connector will monitor for incoming messages. The default folder is Inbox. If needed, you can use a subfolder, such as Inbox/Support.
- Click Test Connection to confirm that the Mail Connector can connect to the specified mail service.
.