Configure the Exchange 2016 EWS External URL for a Hybrid Migration
Question details
Determine whether and how to configure the external EWS URL on Exchange 2016 during a hybrid migration.
- Product
- Microsoft Exchange Server 2016 and Microsoft 365
- Device & OS
- not provided
- Scenario
- Migrating from Exchange 2010 to a Microsoft 365 hybrid environment with an Internet-facing Exchange 2016 server.
- Observed behavior
- The Exchange Deployment Assistant reports that an external FQDN is missing from Exchange 2016 virtual directories.
Identify the Internet-facing Exchange 2016 server, the planned external mail hostname, and the EWS virtual directory identity. Confirm that the hostname is covered by a trusted certificate and review the planned DNS and HTTPS routing before making changes.
Set and verify the external EWS URL on Exchange 2016
Use this approach when the Deployment Assistant reports a missing external EWS hostname on the Exchange 2016 server.
Virtual directory settings are configured per server. An external URL already set on Exchange 2010 does not automatically configure the Exchange 2016 virtual directory.
Open the Exchange Management Shell and run: Get-WebServicesVirtualDirectory -Server EX2016 | Format-List Identity,InternalUrl,ExternalUrl. Replace EX2016 with your Exchange 2016 server name and note the virtual directory identity.
Run: Set-WebServicesVirtualDirectory -Identity "EX2016\EWS (Default Web Site)" -ExternalUrl https://mail.example.com/EWS/Exchange.asmx. Replace the identity and hostname with those used in your deployment.
Run Get-WebServicesVirtualDirectory -Server EX2016 | Format-List Identity,InternalUrl,ExternalUrl again and confirm that ExternalUrl contains the intended HTTPS address. Review other virtual directory URLs called out by the Deployment Assistant separately.
In your DNS, firewall, and load-balancer administration tools, verify that the external hostname and HTTPS traffic follow the hybrid deployment plan. Confirm the certificate covers the hostname, then rerun the relevant Deployment Assistant checks.

Use WPS Office for Documents During Your Microsoft 365 Migration
WPS Office is a free, lightweight alternative for everyday document work, with a familiar interface and Microsoft Office format support to help users move between suites. It does not configure or repair Exchange hybrid services.

Frequently Asked Questions
Do I need to configure EWS on Exchange 2016 if it is already configured on Exchange 2010?
Yes. Check the Exchange 2016 virtual directory separately in Exchange Management Shell with Get-WebServicesVirtualDirectory -Server EX2016, and set its external URL if it is missing.
What should the EWS external URL look like?
It normally uses HTTPS and the EWS endpoint, such as https://mail.example.com/EWS/Exchange.asmx. Replace the example hostname with the external hostname specified in your deployment plan.
Does setting the external URL update DNS or firewall rules?
No. The Exchange virtual directory setting does not change external DNS, firewall, or load-balancer routing. Check those separately using your infrastructure administration tools.
How can I check the exact EWS virtual directory identity?
In Exchange Management Shell, run Get-WebServicesVirtualDirectory -Server EX2016 | Format-List Identity,InternalUrl,ExternalUrl, replacing EX2016 with the server name. Use the returned identity in the Set-WebServicesVirtualDirectory command.




