Upnify CRM
← Back to product

CRM · Communication

How to connect Microsoft 365 through the API

Authorize a Microsoft 365 mailbox to send or receive email from CRM.

Editorial illustration about connecting Microsoft 365 to CRM

Published on October 21, 2026

If your organization uses Microsoft 365, connect the mailbox from CRM through OFFICE 365 / OUTLOOK (API). Microsoft handles the authorization and links the mailbox to CRM for sending or receiving email, depending on the selected mode.

When to use it: choose this connection when your mailbox is hosted in Microsoft 365 and CRM needs to send, receive, or do both through the authorized account.

Before connecting

  • Confirm whether you need Outgoing, Incoming, or Incoming/Outgoing.
  • Make sure you can access the correct Microsoft 365 mailbox.
  • The first authorization may require a Microsoft 365 administrator with access to the Microsoft Entra admin center (Azure) to approve the app.

Initial Azure authorization (administrator only)

Before users connect their mailboxes, an authorized administrator must approve Upnify\u2019s consent for the organization. They need to sign in to Microsoft Entra in Azure with an account allowed to grant admin consent. The person connecting their mailbox does not need an Azure administrator role.

  1. Sign in to portal.azure.com with a Microsoft Entra administrator account.
  2. Open Enterprise applications, search for Upnify, and select it.
  3. In the application menu, open Permissions. Review the permissions Upnify requests and, if your organization approves them, select Grant admin consent for Upnify.
  4. Refresh the page and confirm that Azure reports the consent was granted. If the option is unavailable, contact your Microsoft Entra administrator.

This is the organization\u2019s initial authorization step. Do not revoke existing permissions or grant permissions beyond those shown in the current request. See Microsoft\u2019s guide to granting admin consent and its guidance on roles that can manage applications.

Microsoft Azure Enterprise applications list showing Upnify
Find and open Upnify under Enterprise applications to review its settings.
Microsoft Azure confirmation after granting admin consent to Upnify
After consent is approved, Azure displays a confirmation in the permissions panel.

Authorize Microsoft 365

  1. In CRM, open Personal settings > Email accounts and select New.
  2. Choose the email type you need and select OFFICE 365 / OUTLOOK (API).
  3. Review the information and select Microsoft 365 to start.
  4. On Microsoft\u2019s page, sign in with the mailbox you want to connect and review the permission request.
  5. Approve the authorization if your policy allows it. If Microsoft says approval is required, ask your Microsoft 365 administrator to review and grant consent.
  6. Return to CRM and confirm the account is connected before using it.
Microsoft 365 button to start the API connection from CRM
CRM opens Microsoft authorization for this method; you do not need to configure SMTP servers or ports.
Incoming and outgoing email mode for a Microsoft 365 mailbox
Choose the email workflow before starting authorization.

If Microsoft says \u201CApproval required\u201D

This means your organization\u2019s policy does not allow each user to grant consent on their own. Ask your Microsoft Entra administrator to review the request and complete the initial authorization described above. Do not share your password or switch to an SMTP connection to resolve this message. Microsoft explains the Mail.Read and Mail.Send email permissions.

Important: Microsoft 365 through the API uses Microsoft authorization. Do not enter an SMTP server, port, or password for this option. SMTP/IMAP is a separate method and applies only when you select that account type. See the SMTP/IMAP guide.