How to Create a New Autodiscover Service Virtual Directory
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
Topic Last Modified: 2007-08-30
This topic explains how to use the Exchange Management Shell to create a new Autodiscover service virtual directory for Microsoft Exchange Server 2007.
|You cannot use the Exchange Management Console to create a new Autodiscover service virtual directory.|
|The ability to use the Autodiscover service together with supported mobile devices depends on the operating system that is running on the mobile device. Not all mobile device operating systems that support synchronization with Exchange 2007 also support the Autodiscover service. For more information, contact the manufacturer of your mobile device.|
To perform the following procedure, the account you use must be delegated the Exchange Server Administrator role and membership in the local Administrators group for the target server.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.
Also, before you perform this procedure, confirm that the Autodiscover service is disabled on the Exchange 2007 server. The Autodiscover service is disabled if the Autodiscover service virtual directory is not present under the Default Web Site node in the Internet Information Services (IIS) console tree. For more information about how to disable the Autodiscover service, see How to Delete the Default Autodiscover Service Virtual Directory.
Run the following command:
New-AutodiscoverVirtualDirectory -Websitename <websitename> -BasicAuthentication:$true -WindowsAuthentication:$true
For more information about syntax and parameters, see New-AutodiscoverVirtualDirectory.
For more information about the Autodiscover service, see the following topics: