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

email

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.

Permissions authorized through Microsoft Entra ID#

The following permissions don’t have corresponding Exchange RBAC application roles and are therefore authorized through Microsoft Entra ID.

Context Panel, Context Sync and Smart Sequences#

Permission

Description

Functionality

Tasks.ReadWrite.All

Allows the app to create, read, update, and delete users’ tasks and task lists without a signed-in user.

Task synchronization

User.Read.All

Allows the app to read user profiles without a signed-in user.

Retrieving Microsoft 365 users’ email aliases to identify users across multiple email addresses during activity synchronization to Salesforce

Note

User.Read.All is used only to retrieve Microsoft 365 users’ email aliases. If your organization doesn’t grant this permission, Revenue Grid continues to synchronize mailbox activities by using users’ configured mailbox addresses. However, email aliases aren’t available, which can affect user matching and calendar activity processing. For more information, see Handling email aliases by Sync.

Foresight application permissions#

Permission

Description

Functionality

Chat.Read.All

Allows the app to read all one-to-one or group chat messages in Microsoft Teams.

Meetings IQ insights and analysis

OnlineMeetingArtifact.Read.All

Allows the app to read online meeting artifacts in the organization without a signed-in user.

Meetings IQ insights and analysis

OnlineMeetings.Read.All

Allows the app to read online meeting details in the organization without a signed-in user.

Meetings IQ insights and analysis

OnlineMeetingTranscript.Read.All

Allows the app to read all transcripts of online meetings without a signed-in user.

Meetings IQ insights and analysis

Calls.JoinGroupCall.All

Allows the app to join group calls and scheduled meetings in the organization without a signed-in user, with the privileges of a directory user.

Microsoft Teams Notetaker meeting participation and data collection

Calls.JoinGroupCallAsGuest.All

Allows the app to anonymously join group calls and scheduled meetings in the organization without a signed-in user.

Microsoft Teams Notetaker meeting participation and data collection

Calls.AccessMedia.All

Allows the app to directly access media streams in a call without a signed-in user.

Microsoft Teams Notetaker meeting participation and data collection

Calls.Initiate.All

Allows the app to place outbound calls to a single user and transfer calls to users in the organization’s directory without a signed-in user.

Microsoft Teams Notetaker meeting participation and data collection

Permissions authorized through Exchange RBAC#

These permissions are granted through Exchange Online RBAC for Applications. Administrators can grant them organization-wide or scope them to specific mailboxes.

Context Panel, Context Sync and Smart Sequences#

Permission

Description

Functionality

Mail.ReadWrite

Allows the app to create, read, update, and delete mail without a signed-in user.

Email saving and related Salesforce record retrieval in the Context Panel, email synchronization, and Smart Sequences email processing

Calendars.ReadWrite

Allows the app to create, read, update, and delete calendar events without a signed-in user.

Event saving and related Salesforce record retrieval in the Context Panel and event synchronization

Contacts.ReadWrite

Allows the app to create, read, update, and delete contacts without a signed-in user.

Contact synchronization

MailboxSettings.ReadWrite

Allows the app to create, read, update, and delete mailbox settings without a signed-in user.

Retrieving and updating mailbox settings for Context Sync, Book Me scheduling, and Smart Sequences

Mail.Send

Allows the app to send mail without a signed-in user.

Email sending in Smart Sequences and Context Panel stale thread reminders

Next steps#

Ready to proceed with setup? For step-by-step instructions, see:

For instructions on migrating from EWS to Microsoft Graph, see: