Share via


Configure Exchange Web Services

 

Estimated time to complete: 5 minutes

The external fully qualified domain name (FQDN) of your Internet-facing Exchange 2016 Mailbox server needs to be configured on several virtual directories for a hybrid deployment. If you’ve already configured these virtual directories in your organization, you should skip to the How do I know this worked section below and verify that the virtual directories are correctly configured with the external FQDN of the Exchange 2016 Mailbox server.

Note

By completing this checklist step, the external URL on the Exchange Web Services (EWS), Outlook Address Book (OAB), Outlook Web App (OWA), Exchange Control Panel (ECP), and the Exchange ActiveSync (Microsoft-Server-ActiveSync) virtual directories will be reset to the external FQDN of your Internet-facing Exchange 2016 Mailbox server.

How do I do this?

You can use the EAC to set the external FQDN of the Exchange 2016 Mailbox servers as the external URL on these virtual directories:

  1. Open the EAC and navigate to Servers > Virtual directories.

  2. In the Select server field, click the down arrow  Down Arrow Icon and select the Exchange 2016 Mailbox server to update.

  3. Click Configure external access domain Configure icon.

  4. On the Configure external access domain page, click Add Add Icon.

  5. On the Select a Server page, select the Exchange 2016 Mailbox servers you want to configure and click Add. Click OK.

  6. On the Configure external access domain page, enter the externally accessible FQDN of your Internet-facing Exchange 2016 Mailbox server in the Enter the domain name you will use with your external Client Access servers text box. For example, mail.contoso.com.

    Note

    The text on Configure external access domain page incorrectly refers to "Client Access" servers when it should say "Mailbox" servers instead.

  7. Click Save.

  8. Click Close when the wizard completes.

How do I know this worked?

To verify that you've successfully configured the external URL on the required virtual directories on your Configure external access domain Mailbox servers, 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 FQDN value that you provided when you configured the virtual directories in the wizard.

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