Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-07-23

You can configure Microsoft Exchange services, such as the Availability service, for the Autodiscover service on a Microsoft Exchange Server 2010 Client Access server.

When you enable Outlook Anywhere, you must also configure external client access to Microsoft Exchange services for the Autodiscover service. Other external URLS you must configure include the URLs for the Availability service, Exchange Web Services, Unified Messaging (UM), and the offline address book.

If you don't configure the external URL values, the Autodiscover service information provided to the Microsoft Office Outlook 2007 or Outlook 2010 clients may be incorrect for users who are connecting from outside your network. They may be able to connect to their Exchange mailbox. However, they won't be able to use Exchange features such as Automatic Replies, the Availability service, Unified Messaging, or offline address book downloads.

Generally, the internal URL is configured by Exchange Setup. However, the external URLs must be configured by using the virtual directory cmdlet for each component.

Looking for other management tasks related to the Autodiscover service? Check out Managing the Autodiscover Service.

Use the Shell to configure the Outlook Anywhere external host name for the Autodiscover service

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Outlook Anywhere configuration (enable, disable, change, view)" entry in the Client Access Permissions topic.

This example sets the external host name for Outlook Anywhere on the Client Access server CAS01.

Copy Code
Enable-OutlookAnywhere -Server CAS01 -ExternalHostname "mail.contoso.com" -DefaultAuthenticationMethod "Basic" -SSLOffloading:$False

For more information about syntax and parameters, see Enable-OutlookAnywhere.

Use the Shell to configure the offline address book external URL for the Autodiscover service

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "OAB virtual directory" entry in the Mailbox Permissions topic.

This example sets the external URL for the offline address book virtual directory on the Client Access server CAS01.

Copy Code
Set-OABVirtualDirectory -identity "CAS01\OAB (Default Web Site)" -externalurl https://mail.contoso.com/OAB -RequireSSL:$true

For more information about syntax and parameters, see Set-OABVirtualDirectory.

Use the Shell to configure the Exchange Web Services external URL for the Autodiscover service

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Exchange Web Services settings" entry in the Client Access Permissions topic.

This example sets the external URL for the Exchange Web services virtual directory on the Client Access server CAS01.

Copy Code
Set-WebServicesVirtualDirectory -identity "CAS01\EWS (Default Web Site)" -externalurl https://mail.contoso.com/EWS/Exchange.asmx -BasicAuthentication:$True

For more information about syntax and parameters, see Set-WebServicesVirtualDirectory.

Other Tasks

After you configure Exchange services for the Autodiscover service, you may also want to: