Microsoft is retiring Exchange Web Services (EWS) in Exchange Online. Vitaniums Datahive 365 Backup uses EWS for some Exchange Online backup functionality and is transitioning this functionality to Microsoft Graph.


Microsoft will begin enforcing changes to EWS access from 1 October 2026. Customers using the Vitanium Datahive 365 Backup service should therefore make the changes described in this article before 1 October 2026 to prevent disruption to their Microsoft 365 backups.


The most important action before 1 October 2026 is to ensure that Exchange Web Services remains available to the Datahive backup application.


You will need the Datahive 365 Application ID supplied by Vitanium for your Microsoft 365 organisation.

1. Open PowerShell

Open Windows PowerShell as an administrator on a computer where you can connect to Microsoft Exchange Online.

If the Exchange Online PowerShell module is not already installed, install it with:

Install-Module ExchangeOnlineManagement
PowerShell

2. Connect to Exchange Online

Run:

Connect-ExchangeOnline
PowerShell

Sign in using an account with sufficient Exchange Online administrative permissions.

3. Check the current EWS setting

Run:

Get-OrganizationConfig | Format-List EwsEnabled
PowerShell

For example, you may currently see:

EwsEnabled :
Text

A blank value represents $null, which is the default for many Microsoft 365 tenants.


Microsoft plans to change tenants that remain at $null to $false as its October 2026 EWS enforcement is rolled out. This would block EWS and cause Exchange Online backups to fail.


We therefore recommend explicitly setting the value to $true.

Run:

Set-OrganizationConfig -EwsEnabled $true
PowerShell

Then confirm:

Get-OrganizationConfig | Format-List EwsEnabled
PowerShell

You should now see:

EwsEnabled : True
Text

4. Check the existing EWS Application ID allow list

Next run:

Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy |    Format-List EwsAllowedAppIDs
PowerShell

Do not overwrite any existing Application IDs.


Other applications in your Microsoft 365 tenant may also rely on EWS and therefore need to remain in the list.


5. Add the Datahive Application ID

Set the Datahive Application ID supplied by Vitanium:

$appId = "YOUR-DATAHIVE-APPLICATION-ID"
PowerShell

For example:

$appId = "a1234abc-e000-1234-asdf-asad33s8481e"
PowerShell

Then safely retrieve the existing list and add the Datahive application without removing any existing entries:

$current = (Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy).EwsAllowedAppIDs

$updated = @($current) + $appId 

$updated = $updated | Select-Object -Unique 

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

PowerShell

Microsoft currently requires the complete allow list to be written back; there is no incremental “add one App ID” option. The commands above therefore preserve the existing entries before adding the Datahive Application ID.


6. Verify the configuration

Run:

Get-OrganizationConfig | Format-List EwsEnabled Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy |    Format-List EwsAllowedAppIDs
PowerShell

Confirm that:

EwsEnabled : True
Text

and that the Veeam Application ID supplied by Vitanium appears in:

EwsAllowedAppIDs