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:
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.
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.
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.
Step 2: Check the box and accept. Select Consent on behalf of your organization, then click 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.
Enter a justification for the request (for example, "Apply for using M2-CRM"), then click Request approval.
A Request pending screen confirms the admin has been notified. The user will be notified by email once the admin reviews the request.
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.
Step 4: Authorize the Microsoft work account in the CRM. The user can now authorize their account. An Authorization succeeds message appears.
The account then shows as Connected in the CRM settings, with Microsoft as the provider.
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.
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.
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.