How to check if EWS is enabled in Exchange Online#

Exchange Web Services (EWS) access must be allowed in Exchange Online at both the organization level and the user (mailbox) level for Revenue Grid users who connect through EWS.

This article explains how to check EWS access at both levels and identify where you need to enable it.

Microsoft is phasing out EWS in Exchange Online starting October 1, 2026 and will fully disable it on April 1, 2027. If your organization uses EWS to connect Revenue Grid to Microsoft 365, see Keep Revenue Grid EWS access working in Exchange Online until April 2027 for the complete configuration required during the retirement period.

How EWS access is determined#

EWS access in Exchange Online is controlled by the EwsEnabled setting at both the organization and user (mailbox) levels:

  • True or Null — EWS access is allowed at that level.

  • False — EWS access is blocked at that level.

EWS access is allowed only when both levels permit it. If EwsEnabled is False at either the organization or user level, EWS access is blocked.

Organization level

User level

EWS access

True or Null

True or Null

Allowed

True or Null

False

Not allowed

False

True or Null

Not allowed

False

False

Not allowed

Important

Starting October 1, 2026, the EwsEnabled settings alone are not sufficient to maintain Revenue Grid EWS access. The applicable Revenue Grid App ID must also be included in the Exchange Online EwsAllowedAppIDs property. For the complete configuration, see Keep Revenue Grid EWS access working in Exchange Online until April 2027.

Before you begin#

Make sure you have:

  • Exchange Online administrator permissions.

  • The Exchange Online PowerShell module installed.

Check EWS at the organization level#

To check whether EWS is enabled for your Exchange Online organization:

  1. Connect to Exchange Online PowerShell:

    Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com
    
  2. Check the organization-level EWS setting:

    Get-OrganizationConfig | Select-Object EwsEnabled
    
  3. Check the EwsEnabled value:

    • If the value is True or empty (Null), EWS is allowed at the organization level.

    • If the value is False, EWS is blocked at the organization level.

If EWS is disabled, see How to enable EWS at the Exchange Online organization level.

Check EWS at the user (mailbox) level#

You can check the EWS setting for a specific user or multiple users.

Check EWS for a specific user#

  1. Connect to Exchange Online PowerShell:

    Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com
    
  2. Check the user’s EWS setting:

    Get-CASMailbox -Identity user@yourdomain.com | Select-Object EwsEnabled
    
  3. Check the EwsEnabled value:

    • If the value is True or empty (Null), EWS is allowed at the user (mailbox) level.

    • If the value is False, EWS is blocked for the user’s mailbox.

If EWS is disabled for a Revenue Grid user who connects through EWS, see How to enable EWS at the Exchange Online user (mailbox) level.

Check EWS for multiple users#

  1. Connect to Exchange Online PowerShell:

    Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com
    
  2. Check the EWS setting for all mailboxes:

    Get-CASMailbox -ResultSize Unlimited |
        Select-Object DisplayName, UserPrincipalName, EwsEnabled
    
  3. Review the EwsEnabled value for the Revenue Grid users who connect through EWS.

    • True or empty (Null) — EWS is allowed at the user (mailbox) level.

    • False — EWS is blocked at the user (mailbox) level.

To enable EWS for affected users, see How to enable EWS at the Exchange Online user (mailbox) level for individual and bulk configuration options.