ixp
latest
false
UiPath logo, featuring letters U and I in white

Communications Mining user guide

Last updated Oct 7, 2025

Exchange Integration with Azure service user

Introduction

This step-by-step guide will show you a popular method for creating a Microsoft Exchange application for Communications Mining™ in your Azure Cloud Platform. You will learn how to create an Application (client) with an ID and Client Secret, and find your existing Directory (tenant) ID. This will allow users to access Exchange mailbox integrations in Communications Mining.

Why is a successful integration important?

Failure to create an Exchange-Communications Mining™ application in Azure can lead to permissions errors that prevent users from accessing their mailbox integrations. To gain the full benefits of Communications Mining, follow these steps and complete the process in its entirety.

The step-by-step integration process

1. Sign into Azure

Sign into your Azure Cloud Portal.

2. Register a new application for Communications Mining

  1. Access the App Registrations menu and select the New Registration option.

  2. Register a new application as follows:
    1. Enter a name for your application, for example, reinfer-exchange-integration.
    2. Under Supported account types, select the single tenant option.
    3. Select Register to complete the registration.

      Azure will provide you an Application (client) ID and a Directory (tenant) ID as shown in the following image.



3. Create a client secret for your Communications Mining application

To keep your application secure, you must create a client secret to log into your application. First, select Certificates & Secrets under the Manage sidebar, then continue with the following steps:

  1. Select Client secrets if it is not automatically selected.
  2. Select New client secret.

  3. In the sidebar, add an easily recognizable description and select an expiry date. We recommend setting 12 months for the expiry date.
  4. Select Add to create a secret value for your Communications Mining™ application.



    Note: Azure displays the secret value to you only once, so make sure to copy it. If you ever lose your secret value, complete Step 3 again to create a new one.

4. Set API permissions

  1. Navigate to API permissions under the Manage sidebar.
  2. Select Add a permission.

  3. Select Microsoft APIs and then Microsoft Graph.

  4. Select Delegated permissions.
  5. In the Select permissions textbox, enter EWS.Access.
  6. Expand the EWS permission, and check the box for EWS.AccessAsUser.All.
  7. Select Add permissions.

  8. Returning to the API permissions menu, selet Grant admin consent for Communications Mining.
  9. Select Yes in the Grant admin consent confirmation pop-up

5. Give the service user access to the shared mailboxes

You will need a service account with access to the mailboxes you wish to connect to Communications Mining™.

  1. Create a service account:
  2. Grant a service account access to shared mailboxes. It is enough to grant the service account read-only access. Use one of the following methods to do this:

6. Sign into Communications Mining

Sign into Communications Mining through UiPath® Automation Cloud as normal.

7. Create a new integration in Communications Mining

  1. Navigate to the Integrations page through the gear icon.
  2. Select New Integration.

  3. Select an existing project and enter a name for your integration. Optionally, add a title.
  4. Select Continue.

  5. Populate your oauth authority using the tenant ID generated in Step 2, in the following format: https://login.microsoftonline.com/{tenant_id}.
  6. Populate username and password of your service account.
  7. Populate your client ID generated in Step 2.
  8. Populate your Client Secret generated in Step 3.
  9. Select Validate & Save Credentials.
  10. Select Continue.

  11. Select Add Mailbox to open the mailbox form.
  12. Enter the email address for which you want to copy emails into Communications Mining.
  13. Select Add Mailbox again to save the mailbox.

    Select Create Integration.



Final steps

You have now successfully created an integration between Communications Mining™ and Microsoft Exchange through Azure. You can disable the integration using the toggle, as shown in the following image. To delete it, select the trash can icon.



You can also enable attachment syncing at mailbox level on an Exchange integration. The streams API then makes the attachments retrievable via an attachment reference. Check more about syncing attachments in the Attachments and Using Exchange Integrations pages.

If you have any questions or need assistance with the integration process, contact UiPath® support.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.