Configure Virtual Directories for an Exchange 2003 Hybrid Deployment
Applies to: Exchange Server 2010 SP1
Topic Last Modified: 2012-07-23
Estimated time to complete: 5 minutes
You need to configure the external fully qualified domain name (FQDN) of your Exchange 2010 hybrid server on several virtual directories. This helps the hybrid server determine the domain names that must be added to the digital certificate that you'll create in a later step.
In this step, you'll configure the external FQDN as the external URL on the Exchange Web Services (EWS), Outlook Address Book (OAB), and the Exchange ActiveSync (Microsoft-Server-ActiveSync) virtual directories. The external FQDNs for Outlook Web App (OWA) and the Exchange Control Panel (ECP) directories were set during the installation of the hybrid server.
Learn more at: Understanding Client Access
|This topic is meant to be read as part of the Microsoft Exchange Server 2003 and Office 365 Hybrid Deployment checklist. Information or procedures in this topic may depend on prerequisites configured in topics earlier in the checklist. To view the checklist, see Checklist - Exchange 2003 and Office 365 Hybrid Deployment.|
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Exchange ActiveSync virtual directory settings" entry in Client Access Permissions.
Run the following commands in the Shell on the hybrid server to set the external FQDN of the hybrid server as the external URL on these virtual directories:
Set the external URL on the EWS virtual directory.
Set-WebServicesVirtualDirectory "EWS (Default Web Site)" -ExternalUrl "https://mail2.contoso.com/ews/exchange.asmx"
Set the external URL on the OAB virtual directory.
Set-OabVirtualDirectory "OAB (Default Web Site)" -ExternalUrl "https://mail2.contoso.com/oab"
Set the external URL on the Microsoft-Server-ActiveSync virtual directory.
Set-ActiveSyncVirtualDirectory "Microsoft-Server-ActiveSync (Default Web Site)" -ExternalUrl "https://mail2.contoso.com/Microsoft-Server-ActiveSync"
To verify that you've successfully configured the external URL on the virtual directories on the hybrid server, run the following commands:
Verify that the external URL is set on the EWS virtual directory
Get-WebServicesVirtualDirectory "EWS (Default Web Site)" | Format-Table Name, ExternalUrl
Verify that the external URL is set on the OAB virtual directory
Get-OabVirtualDirectory "OAB (Default Web Site)" | Format-Table Name, ExternalUrl
Verify that the external URL is set on the Microsoft-Server-ActiveSync virtual directory
Get-ActiveSyncVirtualDirectory "Microsoft-Server-ActiveSync (Default Web Site)" | Format-Table Name, ExternalUrl
Each of the commands that you run will return the name of the virtual directory, and the value that's stored in the ExternalUrl property. The value stored in the ExternalUrl property should match the value that you provided when you configured the virtual directory.
Having problems? Ask for help in the Office 365 forums. To access the forums, you'll need to sign in using an account that's granted administrator access to your cloud-based service. Visit the forums at: Office 365 Forums