I already have an app registered with Microsoft Azure for Microsoft 365 add-in. Can I reuse the Application ID and Key of that app for the Exchange email integration?

No. The latest version of the Exchange email integration uses Microsoft Graph API. That’s why we recommend you create a separate app for the Exchange email integration.

If you have reused the application ID and key of Microsoft 365 add-in, do these two things first:

  1. Disable the Exchange email integration on that application.
  2. Revoke the admin consent and remove the application mail permissions on that application.

Disable the Exchange Email Integration

  1. In the Setup and Maintenance work area, use the Manage Microsoft 365 task:
    • Offering: Sales
    • Functional Area: Integrations
    • Task: Manage Microsoft365
  2. On the Manage Microsoft 365 page, go to the Email Integration tab.
  3. Unselect the Email Integration Enabled check box.
  4. Save and close.

Revoke Admin Consent and Remove the Application Mail Permissions

  1. Sign in Microsoft Azure.
  2. Find the Microsoft Azure application for Microsoft 365 add-in.
  3. Go to the API Permissions tab.
  4. In Office 365 Exchange Online, find the Mail.ReadWrite and Mail.Send Application permissions. Select mail permissions.
  5. Right-click on the Mail.ReadWrite permission and select Revoke Admin Consent. Repeat this for the Mail.Send permission. Revoke admin consent on the mail.readwrite and mail.send permissions.
  6. Next, right-click on the Mail.ReadWrite permission and select Remove permission. Repeat this for the Mail.Send permission.Remove the mail.readwrite and mail.send permissions.
  7. Now, create a new app for Exchange email integration using the steps provided in Set Up in Microsoft Azure in the Exchange Email Integration for Digital Sales topic.