Microsoft Exchange/365 Integration: Troubleshooting Authorization

Microsoft Exchange/365 Integration: Troubleshooting Authorization

Microsoft Exchange/365 Integration: Troubleshooting Authorization

  1. Overview​​​​​

When you connect a Microsoft work account (Exchange/Microsoft 365) to the MeasureSquare CRM, Microsoft may block the authorization. This article covers the two most common causes and how to resolve each:

  1. The consent page says the app needs admin approval
  2. The Microsoft account does not have a license

Note: The screenshots in this article use two test accounts: one with the Global Administrator role and one standard user with no admin role.


When a user without an admin role tries to authorize their Microsoft account, Microsoft displays a Need admin approval message and the authorization cannot continue.

Microsoft Need admin approval prompt shown to a non-admin user

There are two ways to resolve this. Use Solution 1 if someone with a Microsoft admin account is available to sign in. Use Solution 2 if users need to request approval from their admin.

Solution 1: Sign in with an admin account

Step 1: Sign in with an admin account. On the Need admin approval screen, select Have an admin account? Sign in with that account. The Permissions requested screen for MeasureSquare-CRM appears.

Permissions requested screen when signed in with an admin account

Step 2: Check the box and accept. Select Consent on behalf of your organization, then click Accept.

Consent on behalf of your organization checkbox selected, then Accept

Step 1: Enable the admin consent workflow. Your Microsoft administrator must turn on the admin consent workflow in Microsoft Entra. See Microsoft's guide: Enable the admin consent workflow.

Step 2: Re-authorize and request approval. The user authorizes the Microsoft account in the CRM again. An Approval required screen now appears.

Approval required screen with justification field

Enter a justification for the request (for example, "Apply for using M2-CRM"), then click Request approval.

Approval required screen with justification entered and Request approval button

A Request pending screen confirms the admin has been notified. The user will be notified by email once the admin reviews the request.

Request pending confirmation screen

Step 3: Admin reviews and approves the request. The administrator opens the pending request, selects Review permissions and consent, and clicks Accept. See Microsoft's guide: Review and take action on admin consent requests.

Admin reviewing the consent request in Microsoft Entra and accepting permissions

Step 4: Authorize the Microsoft work account in the CRM. The user can now authorize their account. An Authorization succeeds message appears.

CRM Authorization succeeds message

The account then shows as Connected in the CRM settings, with Microsoft as the provider.

CRM settings Contact tab showing the Microsoft account Connected

Note: Your organization only needs to consent to these permissions once. When an admin accepts with Consent on behalf of your organization selected, the app gets access for all users in the organization, and no one else will be prompted to review these permissions.

Consent on behalf of your organization text highlighted


Issue 2: The account does not have a Microsoft 365 license

If the Microsoft account has no license assigned, authorization fails with an error asking the user to check whether they have a Microsoft 365 license.

CRM error asking the user to check for a Microsoft 365 license

Solution: Purchase a license and assign it to the account

Your Microsoft administrator must purchase a license and assign it to the user. In the Microsoft 365 admin center, go to Active users, select the user, open the Licenses and apps tab, and select an available license (Exchange Online (Plan 1) is shown below). Once the license is assigned, retry the authorization in the CRM.

Microsoft 365 admin center Active users with Exchange Online license assigned