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

This topic explains how to use the Exchange Management Shell to create a new Autodiscover service virtual directory for Microsoft Exchange Server 2007.

Note

You cannot use the Exchange Management Console to create a new Autodiscover service virtual directory.

Note

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.

Before You Begin

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.

Procedure

To use the Exchange Management Shell to create a new 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

For more information about the Autodiscover service, see the following topics: