Online Help | Desktop App

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:

  1. Go to the Microsoft Azure portal.

  2. Create a new app registration by navigating to Azure Active Directory > App registrations > + New registration.

  3. 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.

  4. Click + Add a platform to display the Configure platforms slideout.

  5. Select the Mobile and desktop applications tile.

  6. In the platform settings, add the Redirect URIs for your application [Web App URL]/admin-center and http://localhost.

  7. Note down the Application (client) ID (Client ID).

Configure Mail Connector settings:

  1. In Alloy Navigator, proceed to Admin Center > E-Mail Processing > Mail Connector and click New.

  2. Choose Exchange Online with OAuth Authentication as the server type for incoming mail.

  3. Select an API type. For optimal performance, we recommend using the Microsoft Graph option.

  4. Under Client check the option Client application registered in your Azure portal.

  5. 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.

  6. Enter the Client ID that you noted down after registering your application in Microsoft Azure (step 7 in the procedure above).

  7. Do one of the following:

    • For Single tenant configuration, enter the Tenant ID.

    • For Multi-tenant configuration, leave the field blank.

  8. 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.

  9. 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.

  10. Click Test Connection to confirm that the Mail Connector can connect to the specified mail service.

.