If you are installing a new Exchange 2010 Server or want to update the existing servers Autodiscover and EWS URL’s then follow the commands below.

EWS (Exchange WEB Services)

To check what the URL is currently run the following command from the Exchange Management Shell (EMS):

  • Get-WebServicesVirtualDirectory |fl identity,internalurl,externalurl

This is the output of running the command:

Identity : vr-eb-mes-mb01\EWS (Default Web Site)
InternalUrl : https://wwwvr-eb-mes-mb01.test.com/EWS/Exchange.asmx
ExternalUrl : None

To update the URL’s we need to run the following 2 commands:

Set-WebServicesVirtualDirectory -Identity “vr-eb-mes-mb01\EWS (Default Web Site)” -InternalUrl https://wwwmail.test.com/EWS/Exchange.asmx -BasicAuthentication:$true

Set-WebServicesVirtualDirectory -Identity “vr-eb-mes-mb01\EWS (Default Web Site)” -ExternalUrl https://wwwmail.test.com/EWS/Exchange.asmx -BasicAuthentication:$true

Autodiscover

To check what the URL is currently run the following command from the Exchange Management Shell (EMS):

  • Get-ClientAccessServer |fl identity,autodiscoverserviceinternaluri

This is the output of running the command:

Identity : vr-eb-mes-mb01
AutoDiscoverServiceInternalUri : https://wwwvr-eb-mes-mb01.test.com/Autodiscover/Autodiscover.xml

To update the URL we need to run the following command:

  • Set-ClientAccessServer -Identity vr-eb-mes-mb01 –AutoDiscoverServiceInternalUri https://wwwmail.test.com/Autodiscover/Autodiscover.xml

After that do an IISRESET from an elevated prompt.

Hope it helps.

Discover more from COLLABORATION PRO

Subscribe now to keep reading and get access to the full archive.

Continue reading