Measures to Continue Using EWS Through April 2027

Microsoft announced it would be discontinuing the Exchange Web Service (EWS) in Exchange Online (Microsoft 365).

To ensure that the interface between Exchange Online and JustRelate CRM continues to work through April 2027, you must explicitly enable EWS in your tenant and allow the Microsoft Entra app registration used by JustRelate CRM in your organization settings.

We are already developing an update to our interface. It is currently in the beta phase and is expected to be released in October 2026. You are welcome to request a beta implementation for testing purposes.

Documentations

We used these documents and information to assess the issue of the EWS shutdown and formulate our current recommendation.

EWS configuration and queries

1. Connect to Exchange Online via PowerShell

Copy
Connect-ExchangeOnline

To use the the PowerShell on the local client you have to install the Exchange Online Module for PowerShell. 

Copy
Install-Module -Name ExchangeOnlineManagement -Force

2. Check the status of the EWSEnabled property

Copy
Get-OrganizationConfig | fl EWSEnabled
EwsEnabled :

If the value for EwsEnabled is NULL or False, it needs to be set to True.

Copy
Set-OrganizationConfig -EWSEnabled $True

3. Configure a list of allowed apps

To retrieve existing IDs use the following Get-OrganizationConfig command:

Copy
Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy | Format-List EwsAllowedAppIDs

To set allowed ID use the following Set-OrganizationConfig command:

Copy
Set-OrganizationConfig -EwsAllowedAppIDs "AppID-1,AppID-2,AppID-3"

It is not possible to add individual AppIDs to the list. The complete list must always be entered in the EwsAllowedAppIDs value.

Changes to the parameters may take up to 24 hours to take effect. This is because the Exchange Online in-memory cache is only updated every 24 hours.

4. Verifying the new settings

To list all settings, load this information from the Exchange backend:

Copy
Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy | Format-List *EWS*
EwsAllowEntourage :
EwsAllowList :
EwsAllowMacOutlook :
EwsAllowOutlook :
EwsApplicationAccessPolicy :
EwsBlockList :
EwsEnabled : True
EwsOperationAccessPolicyEnabled :
EwsOperationAccessPolicyAllowList :
EwsOperationAccessPolicyPopulated : True
EwsAllowedAppIDs : AppID-1,AppID-2,AppID-3

The following properties are the Important ones:

  • EwsEnabled = True
  • EwsOperationAccessPolicyPopulated = True
  • EwsAllowedAppIDs = <the AppID for JustRelate CRM>