Keep Revenue Grid EWS access working in Exchange Online until April 2027#

Microsoft begins phasing out Exchange Web Services (EWS) in Exchange Online on October 1, 2026. If your organization still uses EWS to connect Revenue Grid to Microsoft 365, your Exchange Online administrator must take action to maintain the connection during the phase-out period.

The configuration described in this article keeps Revenue Grid connected through EWS until Microsoft fully disables EWS in Exchange Online on April 1, 2027.

We recommend migrating to Microsoft Graph connectivity before this date.

For more information about Microsoft’s EWS retirement, see Exchange Online EWS, Your Time is Almost Up.

Prepare for EWS retirement changes#

To keep Revenue Grid connected to Exchange Online through EWS from October 1, 2026, administrators must:

  1. Verify whether Revenue Grid uses EWS to access users’ mailboxes.

  2. Ensure that EWS is enabled in Exchange Online at both the organization level and the user (mailbox) level for affected users.

  3. Add the Revenue Grid application ID (App ID) to the EwsAllowedAppIDs property in Exchange Online.

If Revenue Grid does not use EWS, no further action is required. The EWS retirement changes do not affect your Revenue Grid connection.

Before you begin#

Make sure you have:

  • Exchange Online administrator permissions.

  • A Platform administrator account in Revenue Grid.

  • The Exchange Online PowerShell module installed.

Step 1: Determine if Revenue Grid uses EWS#

Review the Mailbox access type at both the profile and user levels in the Revenue Grid Administration settings to determine whether Revenue Grid uses EWS.

Verify EWS usage at the profile level#

  1. Sign in to the Revenue Grid platform.

  2. In the upper-right corner, select your profile icon, and then select Settings.

  3. Under Administration, go to Profiles.

  4. Check the Mailbox access type column for each profile.

    Hint

    If the Mailbox access type column is not visible, select the gear icon :octicons-gear-24:, and then select the checkbox next to Mailbox access type.

  5. Based on the Mailbox access type, do one of the following:

    • If it is set to Microsoft 365 OAuth (EWS API) - end-user sign-in or Microsoft 365 OAuth (EWS API) - app-only access, Revenue Grid uses EWS for users assigned to the profile. Proceed to Step 2.

    • If it is set to Any, the mailbox access type can vary by user. Verify EWS usage for individual users.

    • Otherwise, Revenue Grid does not use EWS for users assigned to the profile. No further action is required for this profile.

Verify EWS usage for individual users#

If a profile has Mailbox access type set to Any, check the mailbox access type for its individual users:

  1. In the Revenue Grid Administration settings, go to either:

    • Users to view all users.

    • Profiles > Users to view users associated with a specific profile.

  2. Check the Mailbox access type for each user.

  3. Based on the Mailbox access type, do one of the following:

    • If it is set to Microsoft 365 OAuth (EWS API) - end-user sign-in or Microsoft 365 OAuth (EWS API) - app-only access, Revenue Grid uses EWS to access the users’ mailboxes. Proceed to Step 2 for these users.

    • Otherwise, Revenue Grid does not use EWS to access the users’ mailboxes. No further action is required for these users.

Step 2: Ensure that EWS is enabled in Exchange Online#

If Revenue Grid uses EWS, ensure that EWS is enabled at both the Exchange Online organization level and the user (mailbox) level for affected users.

Enable EWS at the Exchange Online organization level#

  1. Connect to Exchange Online PowerShell:

    Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com
    
  2. Enable EWS for the organization:

    Set-OrganizationConfig -EwsEnabled $true
    
  3. Verify that EWS is enabled:

    Get-OrganizationConfig | Select EwsEnabled
    

If EwsEnabled is True, EWS is enabled at the organization level.

Enable EWS at the Exchange Online user (mailbox) level#

Enable EWS for all Revenue Grid users identified in Step 1. Depending on how your users are managed, you can enable EWS:

Enable EWS for a specific user#

  1. Connect to Exchange Online PowerShell:

    Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com
    
  2. Enable EWS for the user’s mailbox:

    Set-CASMailbox -Identity user@yourdomain.com -EwsEnabled $true
    
  3. Verify that EWS is enabled:

    Get-CASMailbox -Identity user@yourdomain.com | Select EwsEnabled
    

If EwsEnabled is True, EWS is enabled for the user’s mailbox.

Enable EWS for multiple users from a CSV file#

To enable EWS for multiple affected users, provide their user principal names in a CSV file and apply the change in bulk.

  1. Create a CSV file, for example users.csv, with the following format:

    UserPrincipalName
    user1@yourdomain.com
    user2@yourdomain.com
    
  2. Connect to Exchange Online PowerShell:

    Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com
    
  3. Enable EWS for the users in the CSV file:

    $users = Import-Csv -Path "C:\Path\To\users.csv"
    $users | ForEach-Object { 
        Set-CASMailbox -Identity $_.UserPrincipalName -EwsEnabled $true 
    }
    
  4. Verify the changes:

    $users | ForEach-Object { 
        Get-CASMailbox -Identity $_.UserPrincipalName | 
        Select DisplayName, UserPrincipalName, EwsEnabled 
    }
    

Confirm that EwsEnabled is True for all affected users.

Step 3: Add the Revenue Grid App ID to EwsAllowedAppIDs#

Starting October 1, 2026, when EWS is enabled for an Exchange Online organization, only applications included in the EwsAllowedAppIDs property can use EWS. To keep Revenue Grid connected through EWS, add the applicable Revenue Grid App ID to this property.

For more details about EwsAllowedAppIDs, see Introducing EWSAllowedAppIDs: Preparing for the Final Phase of EWS Retirement.

Identify the Revenue Grid App ID#

The App ID depends on whether your organization uses a shared or dedicated Revenue Grid environment.

Shared Revenue Grid environment#

Shared Revenue Grid environments use the standard Revenue Grid applications listed below. Use the App ID that corresponds to the Mailbox access type identified in Step 1. If your organization uses both EWS mailbox access types, add both App IDs.

Mailbox access type

Application

App ID

Microsoft 365 OAuth (EWS API) - end-user sign-in

Revenue Inbox

336be6bf-83eb-47ad-93ef-32250063f88d

Microsoft 365 OAuth (EWS API) - app-only access

Revenue Inbox EwsAppOnly

959639d1-542d-4832-9b74-362ed0c32b5a

Note: The Revenue Inbox application is also used for Microsoft Graph connectivity. Therefore, the presence of Revenue Inbox (336be6bf-83eb-47ad-93ef-32250063f88d) in Microsoft Entra ID does not necessarily mean that your organization uses EWS. Check the Mailbox access type in Revenue Grid (Step 1) to determine whether your organization uses EWS.

Dedicated Revenue Grid environment#

Dedicated Revenue Grid environments use environment-specific App IDs.

If your organization uses a dedicated Revenue Grid environment, contact Revenue Grid Support to get the App ID for your environment. Do not use the shared-environment App IDs listed above.

Add the Revenue Grid App ID#

Check the current AppID allow list#

Check the current EwsAllowedAppIDs value to determine which procedure to follow.

  1. Connect to Exchange Online PowerShell:

    Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com
    
  2. Check the current AppID allow list:

    Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy |
        Format-List EwsAllowedAppIDs
    
  3. Based on the result, do one of the following:

Add the Revenue Grid App ID to an empty list#

Danger

Use this procedure only if you verified that EwsAllowedAppIDs is empty. If the property already contains App IDs, use the procedure for adding the Revenue Grid App ID to an existing list. Otherwise, you may replace the existing App IDs.

Set the applicable Revenue Grid App ID:

  • For Microsoft 365 OAuth (EWS API) - end-user sign-in in a shared environment:

    Set-OrganizationConfig -EwsAllowedAppIDs "336be6bf-83eb-47ad-93ef-32250063f88d"
    
  • For Microsoft 365 OAuth (EWS API) - app-only access in a shared environment:

    Set-OrganizationConfig -EwsAllowedAppIDs "959639d1-542d-4832-9b74-362ed0c32b5a"
    
  • If your organization uses both EWS mailbox access types in a shared environment:

    Set-OrganizationConfig -EwsAllowedAppIDs "336be6bf-83eb-47ad-93ef-32250063f88d,959639d1-542d-4832-9b74-362ed0c32b5a"
    
  • For a dedicated Revenue Grid environment, use the environment-specific App ID provided by Revenue Grid Support.

Proceed to Verify the AppID allow list.

Add the Revenue Grid App ID to an existing list#

Set-OrganizationConfig -EwsAllowedAppIDs replaces the current AppID allow list with the values you provide. To preserve existing App IDs, retrieve the current list, add the Revenue Grid App ID, and then write the complete updated list back.

  1. Retrieve the current AppID allow list:

    $current = Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy |
        Select-Object -ExpandProperty EwsAllowedAppIDs
    
  2. Set the Revenue Grid App ID that corresponds to the Mailbox access type identified in Step 1:

    • For Microsoft 365 OAuth (EWS API) - end-user sign-in in a shared environment:

      $revenueGridAppId = "336be6bf-83eb-47ad-93ef-32250063f88d"
      
    • For Microsoft 365 OAuth (EWS API) - app-only access in a shared environment:

      $revenueGridAppId = "959639d1-542d-4832-9b74-362ed0c32b5a"
      
    • For a dedicated environment, use the App ID provided by Revenue Grid Support.

  3. Combine the existing App IDs with the Revenue Grid App ID:

    $updated = @($current, $revenueGridAppId)
    
  4. Write the complete updated AppID allow list back:

    Set-OrganizationConfig -EwsAllowedAppIDs ($updated -join ",")
    

Verify the AppID allow list#

Verify that the required Revenue Grid App ID was added:

Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy |
    Format-List EwsAllowedAppIDs

Note: Changes to EwsAllowedAppIDs can take up to 24 hours to take effect.

Summary#

After you complete these steps, Revenue Grid can continue connecting to Exchange Online through EWS during Microsoft’s phased EWS retirement.

Microsoft will fully disable EWS in Exchange Online on April 1, 2027. Migrate to Microsoft Graph connectivity before this date to maintain Revenue Grid connectivity.