Migrate from Exchange Web Services (EWS) to Microsoft Graph delegated (end-user) access#
Migrate Revenue Grid mailbox connectivity from Exchange Web Services (EWS) to Microsoft Graph delegated access to prepare for Microsoft’s retirement of EWS in Exchange Online.
With delegated access, Revenue Grid accesses Microsoft 365 in the context of each signed-in user. A Microsoft 365 administrator first grants tenant-wide consent for the required delegated permissions, and users then reconnect their Microsoft 365 accounts to authorize Revenue Grid to access their mailbox data.
For instructions on migrating to Microsoft Graph app-only access instead, see Migrate from Exchange Web Services (EWS) to Microsoft Graph app-only access.
Before you begin#
Understand how Revenue Grid uses Microsoft Graph#
Revenue Grid connects to Microsoft 365 mailboxes using the Microsoft Graph API, Microsoft’s modern and supported integration framework. This affects how mailbox access is authorized and how data sync behaves across mail, calendar, tasks, and other services.
Before granting admin consent, see How Revenue Grid uses Microsoft Graph to connect to Microsoft 365 to understand:
The differences between delegated and app-only access
Which permissions Revenue Grid uses and how they are authorized
Known Microsoft Graph limitations
Once you’re familiar with the integration model, confirm the prerequisites below.
Prerequisites#
Make sure the following conditions are met before proceeding:
You have a platform admin or profile admin account in Revenue Grid.
You have a Microsoft 365 admin account with permissions to grant tenant-wide consent.
Migrate to Microsoft Graph delegated access#
To migrate from EWS to Microsoft Graph delegated access:
Grant admin consent before changing the mailbox connectivity settings so users can authorize the new Microsoft Graph connection when they reconnect their accounts.
Step 1. Grant tenant-wide admin consent for Revenue Grid#
A Microsoft 365 administrator must grant tenant-wide admin consent for the delegated permissions required by Revenue Grid. After consent is granted, users can connect their Microsoft 365 accounts using these permissions without individually consenting to them.
If admin consent isn’t granted, users may see the following error when signing in:
Need admin approval
Revenue Grid needs permissions to access resources
in your organization that only an admin can grant.
Please ask an admin to grant permission to this app
before you can use it.
You can grant consent in one of three ways:
Grant consent via URL (recommended)#
Use this method if the Revenue Grid app is not yet installed in your tenant or if you want to grant only the baseline delegated permissions required by Revenue Grid. Depending on the Revenue Grid functionality your organization uses, you may need to add other delegated permissions to the consent request.
Important
If you’re using a dedicated Revenue Grid instance, request the client_id from Revenue Grid Support.
Copy the following URL into a text editor:
https://login.microsoftonline.com/{organization}/v2.0/adminconsent?client_id=336be6bf-83eb-47ad-93ef-32250063f88d&redirect_uri=https://portal.azure.com/TokenAuthorize&scope=https://graph.microsoft.com/offline_access%20https://graph.microsoft.com/User.Read%20https://graph.microsoft.com/User.ReadBasic.All%20https://graph.microsoft.com/MailboxSettings.ReadWrite%20https://graph.microsoft.com/Mail.ReadWrite%20https://graph.microsoft.com/Mail.Send%20https://graph.microsoft.com/Calendars.ReadWriteReplace
{organization}with your Microsoft 365 tenant ID. To get the tenant ID:If you’re using a dedicated Revenue Grid instance, replace the
client_idvalue (after=) with the one provided by Revenue Grid Support.Paste the completed URL into your browser and open it.
Review the requested permissions and select Accept.
Grant consent in the Microsoft Entra admin center#
Use this method if the Revenue Grid enterprise application already exists in your Microsoft 365 tenant.
This method grants admin consent to the permissions configured for the Revenue Grid application, which can include both delegated and application permissions. Application permissions aren’t required for delegated mailbox access. After granting consent, review the granted permissions and revoke any that your organization doesn’t need.
Sign in to Microsoft Entra admin center.
Go to Enterprise applications > All applications > Revenue Inbox.
Select Permissions > Grant admin consent for [Organization Name].
Sign in with your Microsoft 365 admin credentials and select Accept in the permissions dialog.
Grant admin consent during initial login to the Context Panel#
Use this method if you plan to use Context Panel and haven’t signed in before.
This flow also establishes the consent required for Context Panel to use Nested App Authentication (NAA). NAA allows the Outlook add-in to obtain Microsoft Graph access tokens for the signed-in user. Granting tenant-wide admin consent allows users to use the approved Microsoft Graph permissions without individually consenting to them.
For more information, see Microsoft’s Nested app authentication documentation.
Requirements:
Microsoft 365 credentials with permissions to grant tenant-wide consent.
Salesforce account with the System Administrator profile.
Context Panel installed.
Steps:
Open the Context Panel.
In the Permissions requested dialog, select Consent on behalf of your organization, then click Accept.
In the Context Panel, choose a sign-in method:
Enter your Salesforce System Administrator credentials and click Log In.
In the Allow access dialog, click Allow.
In the Context Panel, click Connect to Office 365.
Sign in using Microsoft 365 admin credentials.
In the Permissions requested dialog, select Consent on behalf of your organization, then click Accept.
After tenant-wide admin consent is granted, users can connect their Microsoft 365 accounts during sign-in without individually consenting to the approved delegated permissions.
Step 2: Update mailbox connectivity settings#
After granting tenant-wide admin consent, change the affected Revenue Grid profile from EWS to Microsoft Graph delegated access.
Sign in to the Revenue Grid platform.
In the upper-right corner, select your profile icon, and then select Settings.
Go to Administration → Profiles.
Open the user profile where connectivity needs to be changed.
In the Connectivity tab, under Email configuration, select:
Click Save to apply the changes.
These settings update how Revenue Grid connects to users’ mailboxes going forward.
Step 3: Ask users to reconnect their Microsoft 365 accounts#
Once mailbox connectivity is updated in Revenue Grid, all users assigned to the affected profile need to reconnect their Microsoft 365 mailboxes.
Share the following user guide if needed:
Step 4: Verify successful migration#
To confirm that the users are using the Microsoft Graph connection instead of the previous EWS connection:
(Optional) Revoke unneeded permissions#
If the consent method you used granted permissions that your organization doesn’t need, you can revoke them after granting admin consent.
Before revoking a permission, see How Revenue Grid uses Microsoft Graph to connect to Microsoft 365 to identify which permissions are required for the Revenue Grid functionality your organization uses.
If you granted consent through the Microsoft Entra admin center, the consent also includes application permissions configured for Revenue Grid. Application permissions aren’t required for delegated mailbox access unless your organization uses Revenue Grid functionality that specifically requires application access.
For instructions on reviewing and revoking permissions, see Review and revoke Microsoft Entra ID permissions for Revenue Grid.
Microsoft 365