Microsoft is retiring Exchange Web Services (EWS) in Exchange Online. EWS is the protocol Veeam currently uses to back up Exchange Online mailboxes.
Microsoft begins disabling EWS tenant by tenant on October 1, 2026. Tenants that have not explicitly enabled EWS will be blocked automatically as the rollout proceeds.
EWS is fully and permanently shut down for all tenant on April 1, 2027.
If you take no action before October 1, your Exchange Online mailbox backups will fail.
The detailed information is below:
Run below steps to connect to Exchange Online PowerShell and keep EWS enabled in your tenant.
1.Login to VBM365 server or any machine.
2.Run below command to load the Exchange Online PowerShell module.
Set-ExecutionPolicy RemoteSigned

Install-Module -Name ExchangeOnlineManagement

Import-Module ExchangeOnlineManagement

3.Run below command to connect to Exchange Online PowerShell.
Connect-ExchangeOnline -UserPrincipalName cary@carysun.com

4.Run below command against the Exchange Online tenant to check the current value of EwsssEnabled first.
Get-OrganizationConfig | Format-List EwsEnabled

5.If the current value is anything other than $true, run below command to set the value to $true.
Set-OrganizationConfig -EwsEnabled $true

Run below steps to review the Veeam Application ID and ensure the IDs are on the allow list. Veeam app registrations must be included so that backups can continue using EWS during the period before the Microsoft Graph transition is complete.
1.Login to Veeam Backup for Microsoft management server.
2.Open Veeam Backup for Microsoft 365 connect console.
3.Open the Organizations view, right-click the Microsoft 365 organization, and select Edit Organization.

4.Click Next on the Organization deployment type page.

5.Click Next on the Microsoft 365 connection settings page.

6.Click Next on the Select how to connect the Microsoft 365 organization page.

7.The Application ID is listed in the application settings. Take a note for the Application ID and click Cancel.

8.Run below command against the Exchange Online tenant to check the current value of EwsAllowAppIDs
Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy | Format-List EwsEnabled, EwsAllowedAppIDs

9.If the current value doesn’t include Veeam Application IDs, run below command to add it.
Set-OrganizationConfig -EwsEnabled $true -EwsAllowedAppIDs "cc29bfdb-2e4f-4dff-9069-29075193259a"

10.Login to Microsoft Azure portal, review and ensure the required Microsoft Graph permissions are assigned to your Veeam app registrations in Microsoft Entra ID.
The detail required permissions for backup is below link.
https://helpcenter.veeam.com/docs/vbo365/guide/ad_app_permissions_sd.html#permissions-for-backup
The detail required permissions for restore is below link.
https://helpcenter.veeam.com/docs/vbo365/guide/ad_app_permissions_sd.html#permissions-for-restore

I hope you enjoy this post.
Cary Sun
X: @SifuSun
Web Site: carysun.com
Blog Site: checkyourlogs.net
Blog Site: gooddealmart.com
Amazon Author: Amazon.com/author/carysun
Author: Cary Sun
Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.
Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun