Note: PowerShell integration requires a ShareGate Migrate Pro or Enterprise subscription. It is not available on the Essentials plan.
Starting October 1, 2026, Microsoft will block EWS requests by default across all Exchange Online tenants, with a full, permanent shutdown planned for April 1, 2027.
ShareGate Migrate currently uses EWS for mailbox migrations with Copy mailboxes.
To avoid disruptions to your mailbox migrations, we recommend configuring your tenant to allow EWS for ShareGate before August 31, 2026.
What's changing
Microsoft's timeline
August 31, 2026
Deadline to configure your tenant to keep EWS enabled. Tenants that set EWSEnabled to True and configure an EWS allow list before this date will be excluded from the automatic October 1 block.
October 1, 2026
EWS is blocked by default in all Exchange Online tenants that have not opted in. Microsoft will set EWSEnabled to False for any tenant still on the default setting.
Tenant administrators can still re-enable EWS after this date, but there will be a service interruption.
April 1, 2027
EWS is permanently shut down in Exchange Online. No re-enablement will be possible after this date.
ShareGate Migrate's plan
ShareGate Migrate currently uses EWS for Copy mailboxes only.
For all other migration scenarios, this change has no impact.
What you need to do
To keep the above mailbox features working after October 1, 2026, configure your tenant's EWS allow list to include ShareGate before August 31, 2026.
Note: These steps must be performed in both your source and destination tenants.
What you'll need
Access to Exchange Online PowerShell
Exchange admin permissions or higher
The ExchangeOnline Management module in PowerShell
Add ShareGate Migrate to your EWS allow list
Open PowerShell.
Run the following command:
Set-OrganizationConfig -EWSEnabled $true -EWSAllowList @{Add="ExchangeServicesClient/*"} -EwsApplicationAccessPolicy EnforceAllowListThis enables EWS for your tenant and adds
ExchangeServicesClient/*to your EWS allow list. ShareGate Migrate uses this UserAgent to make EWS calls.Warning: The
ExchangeServicesClient/*pattern matches any app built on Microsoft's EWS library, not ShareGate specifically. Before running this command, check whether any other apps in your organization use EWS with a different UserAgent, as they will be blocked byEnforceAllowList. You can add their UserAgent strings toEWSAllowListas needed. ShareGate has no visibility into third-party apps in your tenant.To confirm the change was applied successfully, run:
Get-OrganizationConfig | Select-Object EWSEnabled, EWSAllowList, EwsApplicationAccessPolicy
The output should show
EWSEnabledasTrue,ExchangeServicesClient/*listed underEWSAllowList, andEwsApplicationAccessPolicyset toEnforceAllowList.Repeat these steps in your destination tenant if it is a different Microsoft 365 organization.
Note: This command can take up to 4 hours to take effect across your tenant. We recommend running it outside of a planned migration window.
Important: This configuration is temporary. After April 1, 2027, Microsoft will permanently disable EWS in Exchange Online regardless of tenant settings.
We are working with Microsoft to ensure ShareGate Migrate no longer requires EWS.
