Create a new autodiscover virtual directory
1. From the Start menu, point to All Programs, point to Microsoft Exchange Server 2007 and launch Exchange Management Shell.
2. Run the following command: New-AutodiscoverVirtualDirectory -Websitename
Note: Before you perform this procedure, confirm that the Autodiscover service virtual directory is not present under the Default Web Site node in the IIS console tree.
Configure autodicover in a mono-site
3. From the Start menu, point to All Programs, point to Microsoft Exchange Server 2007 and launch Exchange Management Shell.
4. Run the following command: Set-WebServicesVirtualDirectory -identity "CAS01\EWS (Default Web Site)" -externalurl https://
Configure autodiscover to use site affinity
5. From the Start menu, point to All Programs, point to Microsoft Exchange Server 2007 and launch Exchange Management Shell.
Run the following command: Set-ClientAccessServer -Identity "