How Revenue Grid uses Microsoft Graph to connect to Microsoft 365#
Revenue Grid uses Microsoft Graph to connect to Microsoft 365 and access the data required for Revenue Grid features, including emails, calendar events, contacts, and other supported Microsoft 365 data.
Revenue Grid supports two Microsoft Graph access models: delegated (user-authorized) access and application (admin-authorized) access. This article explains how these access models work, how Revenue Grid access to Microsoft 365 is authorized, and which Microsoft Graph permissions Revenue Grid uses.
About Microsoft Graph#
Microsoft Graph is Microsoft’s unified API for accessing data across Microsoft 365 services such as Exchange Online, Microsoft Teams, and OneDrive.
Revenue Grid uses Microsoft Graph to support secure Microsoft 365 connectivity across Revenue Grid products and features.
Microsoft Graph provides the following benefits:
Modern authentication: Uses OAuth 2.0 token-based authentication through Microsoft Entra ID instead of legacy authentication methods.
Granular access control: Allows administrators to control which Microsoft 365 resources and data an application can access.
Broader access across Microsoft 365: Supports integration with services beyond Exchange Online, such as Microsoft Teams and OneDrive.
Centralized administration: Provides administrators with tools for managing application permissions and access.
Long-term Microsoft 365 support: Microsoft Graph is Microsoft’s strategic API for Microsoft 365, while EWS in Exchange Online is being retired.
Access models supported by Revenue Grid#
Revenue Grid supports two Microsoft Graph access models for connecting to Microsoft 365 mailboxes:
Delegated access#
In delegated access scenarios, Revenue Grid accesses Microsoft 365 resources in the context of the signed-in user.
A Microsoft 365 administrator grants tenant-wide admin consent for the delegated permissions required by Revenue Grid. Users then sign in to Microsoft 365 during onboarding, allowing Revenue Grid to access Microsoft 365 in their user context.
Access model detail |
Delegated access (user-authorized) |
|---|---|
Consent required |
Tenant-wide delegated consent granted by a Microsoft 365 admin as a one-time action |
Access scope |
Limited to the data the signed-in user has access to |
Authentication |
OAuth 2.0 |
User involvement |
Required during onboarding to sign in and establish the user context |
Key benefits |
Least-privilege access model; consent applies per user but is centrally authorized by admin |
Limitations |
Requires initial admin action; sync may stop if user revokes consent or token expires |
Learn more:
Application access#
With application access, also known as app-only access, Revenue Grid connects to Microsoft 365 using an application identity instead of acting on behalf of a signed-in user. Users don’t need to authorize mailbox access individually.
Revenue Grid application permissions are authorized through Microsoft Entra ID and Exchange Online RBAC for Applications. Supported Exchange mailbox permissions are granted through Exchange RBAC and can be scoped to specific mailboxes. Application permissions that aren’t supported by Exchange RBAC are authorized through Microsoft Entra ID and apply tenant-wide.
Existing Revenue Grid configurations that authorize Exchange mailbox application permissions through Microsoft Entra ID continue to be supported. Exchange Online RBAC for Applications is Microsoft’s recommended method for controlling application access to Exchange Online mailboxes, so Revenue Grid recommends it for new app-only configurations. Existing customers can also migrate to Exchange RBAC to control mailbox access more granularly. For details, see Application permission consent and access.
Access model detail |
Application access (admin-authorized app-only access) |
|---|---|
Consent required |
Tenant-wide admin consent for Microsoft Entra ID permissions; Exchange mailbox permissions are granted separately through Exchange RBAC |
Access scope |
Microsoft Entra ID application permissions apply tenant-wide; Exchange RBAC permissions can apply organization-wide or be scoped to specific mailboxes |
Authentication |
OAuth 2.0 using an application identity |
User involvement |
Not required during onboarding to authorize mailbox access |
Key benefits |
Centralized administration; mailbox access can be scoped through Exchange RBAC |
Limitations |
Some required application permissions don’t have an equivalent Exchange RBAC application role and must be granted tenant-wide. |
Learn more:
Microsoft Graph limitations#
When using Microsoft Graph for mailbox access, certain limitations apply:
General limitations#
Supported accounts: Only Microsoft 365 cloud mailboxes are supported. On-premises Exchange accounts are not supported via Graph.
Authentication: Only OAuth 2.0 is supported.
Email sync: Email saving via a custom folder is not supported.
Task sync limitations#
The following task-related features are not supported when using Microsoft Graph:
Syncing recurring tasks
Syncing task categories
Permissions used by Revenue Grid#
Revenue Grid requests Microsoft Graph permissions based on the configured access model, the deployed Revenue Grid components and enabled functionality.
Note
Revenue Grid processes data in accordance with its privacy policy.
Delegated permissions#
Delegated permissions are used when Revenue Grid accesses Microsoft 365 resources in the context of the signed-in user.
Core delegated permissions#
The following permissions are required for the Revenue Grid integration, regardless of the deployed Revenue Grid components or enabled functionality.
Permission |
Description |
Functionality |
|---|---|---|
Allows the app to read your users’ primary email address |
User authentication and profile access |
|
profile |
Allows the app to see your users’ basic profile (e.g., name, picture, user name, email address) |
User authentication and profile access |
offline_access |
Allows the app to see and update the data you gave it access to, even when users are not currently using the app. |
User authentication and profile access |
User.Read |
Allows users to sign-in to the app, and allows the app to read the profile of signed-in users. It also allows the app to read basic company information of signed-in users. |
User authentication and profile access |
User.ReadBasic.All |
Allows the app to read a basic set of profile properties of other users in your organization on behalf of the signed-in user. This includes display name, first and last name, and email address. |
Organization user identification |
Mail.Read |
Allows the app to read the signed-in user’s mailbox. |
Email saving and related Salesforce records retrieval in Context Panel, email synchronization, Smart Sequences email processing, Foresight email context analysis |
Context Panel, Context Sync and Smart Sequences delegated permissions#
Permission |
Description |
Functionality |
|---|---|---|
Mail.ReadWrite |
Allows the app to create, read, update, and delete* email in user mailboxes. |
Email saving and related Salesforce records retrieval in Context Panel, email synchronization, Smart Sequences email processing |
Mail.ReadWrite.Shared |
Allows the app to create, read, update, and delete mail a user has permission to access, including their own and shared mail. |
Email saving and related Salesforce records retrieval in Context Panel, and email synchronization in shared mailboxes |
MailboxSettings.ReadWrite |
Allows the app to create, read, update, and delete user’s mailbox settings. |
Retrieving and updating mailbox settings for Context Sync, Book Me scheduling, and Smart Sequences |
Mail.Send |
Allows the app to send mail as users in the organization. |
Email sending in Smart Sequences and Context Panel stale thread reminders |
Calendars.ReadWrite |
Allows the app to create, read, update, and delete events in user calendars. |
Event saving and related Salesforce records retrieval in Context Panel, and event synchronization |
Calendars.ReadWrite.Shared |
Allows the app to create, read, update and delete events in all calendars in the organization user has permissions to access. This includes delegate and shared calendars. |
Event saving and related Salesforce records retrieval in Context Panel, and event synchronization in shared calendars |
Contacts.ReadWrite |
Allows the app to create, read, update, and delete user contacts. |
Contact synchronization |
Tasks.ReadWrite |
Allows the app to create, read, update, and delete the signed-in user’s tasks and task lists, including any shared with the user. |
Task synchronization |
* Revenue Grid does not delete emails from user mailboxes.
Foresight delegated permissions#
Permission |
Description |
Functionality |
|---|---|---|
Chat.Read |
Allows an app to read 1 on 1 or group chats threads, on behalf of the signed-in user. |
Meeting insights and analysis |
OnlineMeetingArtifact.Read.All |
Allows the app to read online meeting artifacts on behalf of the signed-in user. |
Meeting insights and analysis |
OnlineMeetingRecording.Read.All |
Allows the app to read all recordings of online meetings, on behalf of the signed-in user. |
Meeting insights and analysis |
OnlineMeetings.Read |
Allows the app to read online meeting details on behalf of the signed-in user. |
Meeting insights and analysis |
OnlineMeetingTranscript.Read.All |
Allows the app to read all transcripts of online meetings, on behalf of the signed-in user. |
Meeting insights and analysis |
Application permissions#
Revenue Grid application permissions are authorized through Microsoft Entra ID or Exchange Online RBAC for Applications, depending on whether a corresponding Exchange RBAC application role is available. The sections below group the permissions by authorization method and the Revenue Grid functionality that uses them.
Important
Even when application-level mailbox authorization is configured for Context Sync, Context Panel users still require core delegated Microsoft Graph permissions for user sign-in and Context Panel functionality. These delegated permissions are separate from application-level access permissions and are used to authenticate users in Outlook and support Context Panel functionality operating in the user context.
Microsoft Graph permission consent and access control#
How Revenue Grid permissions are authorized and how access is controlled depends on whether Revenue Grid uses delegated or application access.
Delegated permission consent and access#
For delegated access, a Microsoft 365 administrator grants tenant-wide admin consent for the Revenue Grid delegated permissions. This allows users in the organization to use the previously approved permissions without individually consenting to them.
Users still sign in to Microsoft 365 to establish their user context. Revenue Grid can then access only the Microsoft 365 resources and data that both the granted delegated permissions and the signed-in user’s own permissions allow.
For configuration instructions, see Configure user-authorized mailbox access for Microsoft 365 (end-user logon).
Application permission consent and access#
Microsoft 365 administrators manage Revenue Grid application permissions through Microsoft Entra ID and Exchange Online RBAC for Applications.
For app-only access, application permissions that aren’t supported by Exchange RBAC are granted through Microsoft Entra ID admin consent. Supported Exchange application permissions are granted through Exchange RBAC and can be scoped to the mailboxes Revenue Grid needs to access.
For configuration instructions, see Configure admin-authorized mailbox access for Microsoft 365 (Microsoft Graph app-only).
Migrate from Application Access Policies (existing customers)#
Application Access Policies is the legacy method for limiting application access to specific Exchange Online mailboxes that has been replaced by Exchange Online RBAC for Applications.
Don’t use Application Access Policies for new access configurations. Microsoft plans to announce their deprecation, after which existing configurations will need to migrate to RBAC for Applications.
If your organization currently uses Application Access Policies with Revenue Grid, see Configure Exchange Online RBAC for Applications for an existing app-only connection for migration instructions.
Next steps#
Ready to proceed with setup? For step-by-step instructions, see:
For instructions on migrating from EWS to Microsoft Graph, see:
Microsoft 365