How Revenue Grid uses Exchange Web Services (EWS) to connect to Microsoft Exchange on-premises#

Revenue Grid connects to on-premises Microsoft Exchange servers using Exchange Web Services (EWS).

Important for Microsoft 365 customers

Microsoft is retiring EWS in Exchange Online in October 2026. If Revenue Grid currently connects to your Microsoft 365 mailboxes through EWS, migrate to Microsoft Graph before EWS is retired.

Revenue Grid supports Microsoft Graph delegated and app-only access for Microsoft 365. For information about these access models, see How Revenue Grid uses Microsoft Graph to connect to Microsoft 365.

EWS remains a supported connection method for Exchange on-premises only.

Supported EWS access models#

Revenue Grid supports the following EWS access models for connecting to Exchange on-premises:

Basic authentication#

In basic authentication, users (or admins) provide individual Exchange credentials for each mailbox Revenue Grid needs to access. The platform uses these credentials to connect over HTTPS via EWS.

Considerations:

  • Requires users to authorize mailbox access individually.

  • Not scalable for larger organizations or service-based automation.

Learn more:

Exchange impersonation#

Exchange impersonation allows Revenue Grid to use a single service account to access user mailboxes on their behalf. This account must be assigned the ApplicationImpersonation role in Exchange.

Key benefits:

  • Enables centralized control over mailbox access

  • Simplifies deployment at scale

  • Reduces dependency on individual credentials

Requirements:

  • A dedicated Exchange account with a mailbox and license assigned. Without a mailbox and license, Revenue Grid will not be able to access resource mailboxes (e.g., meeting rooms).

  • The ApplicationImpersonation role assigned to the service account

  • All target mailboxes must reside in the same Exchange organization

Learn more:

Controlling and filtering Revenue Grid EWS traffic#

If your organization restricts EWS access, you can allow Revenue Grid traffic by filtering based on its UserAgent string.

Note: Revenue Grid can configure a custom UserAgent string if needed. Contact Revenue Grid Support to request one.

To securely manage EWS access for Revenue Grid:

  • Use an allow list to permit only Revenue Grid’s EWS UserAgent and block unapproved applications.

  • Combine organization-wide EWS policies with mailbox-level controls (for example, Set-CASMailbox) to enable EWS only for mailboxes Revenue Grid needs to access.

  • Apply network-level filtering (such as firewall or proxy rules) based on the UserAgent string to restrict external EWS traffic.

For details, see Control access to EWS in Exchange.

Legacy EWS connectivity for Exchange Online#

Revenue Grid continues to support existing Microsoft 365 integrations that use Exchange Web Services (EWS) with Exchange Online. However, Microsoft is retiring EWS in Exchange Online, so Revenue Grid recommends migrating these connections to Microsoft Graph.

Existing Revenue Grid EWS connections can use either:

  • Delegated access — Revenue Grid accesses a mailbox in the signed-in user’s context using the EWS.AccessAsUser.All delegated permission.

  • App-only access — Revenue Grid uses its application identity to access Exchange Online mailboxes without requiring users to authorize their mailboxes individually. It uses the Microsoft Graph User.Read.All application permission authorized through Microsoft Entra ID and the Application EWS.AccessAsApp role assigned through Exchange Online RBAC for Applications.

Existing EWS app-only connections may still use the tenant-wide full_access_as_app permission instead of Application EWS.AccessAsApp. For information about updating an existing app-only connection to use Exchange RBAC, see Configure Exchange Online RBAC for Applications for an existing app-only connection.

For new Microsoft 365 configurations, use Microsoft Graph instead of EWS.

Next steps#

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

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