自動探索服務Autodiscover service

適用於: Exchange Server 2013Applies to: Exchange Server 2013

了解 Microsoft Exchange 2013 的 Exchange 自動探索服務。Learn about the Exchange Autodiscover service for Microsoft Exchange 2013. 您將了解哪些 Exchange 自動探索服務會執行,以及部署選項為何的運作方式。You'll learn what the Exchange Autodiscover service does and how it works as well as what the deployment options are.

Microsoft Exchange 2013 包含名為自動探索服務的服務。Microsoft Exchange 2013 includes a service named the Autodiscover service. 本主題提供服務的概觀,並說明其運作方式、 它如何設定 Outlook 用戶端,以及有選項為何部署郵件環境中的自動探索服務。This topic gives an overview of the service and explains how it works, how it configures Outlook clients, and what options there are for deploying the Autodiscover service in your messaging environment.

自動探索服務會執行下列動作:The Autodiscover service does the following:

  • 會自動設定用戶端執行 Microsoft Office Outlook 2007、 Outlook 2010 或 Outlook 2013,以及支援的行動電話的使用者設定檔設定。Automatically configures user profile settings for clients running Microsoft Office Outlook 2007, Outlook 2010, or Outlook 2013, as well as supported mobile phones. 執行 Windows Mobile 6.1 或更新版本的電話支援。Phones running Windows Mobile 6.1 or a later version are supported. 如果您的手機不是 Windows 行動電話,請檢查您的行動電話文件,以查看如果它受支援。If your phone isn't a Windows Mobile phone, check your mobile phone documentation to see if it's supported.

  • 提供 Outlook 2007、 Outlook 2010 或 Outlook 2013 連線到您的 Exchange 郵件環境的用戶端存取 Exchange 功能。Provides access to Exchange features for Outlook 2007, Outlook 2010, or Outlook 2013 clients that are connected to your Exchange messaging environment.

  • 使用使用者的電子郵件地址和密碼提供給 Outlook 2007、 Outlook 2010 或 Outlook 2013 用戶端和支援的行動電話的設定檔設定。Uses a user's email address and password to provide profile settings to Outlook 2007, Outlook 2010, or Outlook 2013 clients and supported mobile phones. 如果 Outlook 用戶端已加入網域,則會使用使用者的網域帳戶。If the Outlook client is joined to a domain, the user's domain account is used.

ContentsContents

自動探索服務概觀Overview of the Autodiscover service

自動探索服務的運作方式How the Autodiscover service works

自動探索服務的部署選項Deployment options for the Autodiscover service

設定適合跨樹系的自動探索移動Configuring Autodiscover for cross-forest moves

自動探索服務概觀Overview of the Autodiscover service

自動探索服務讓您更容易設定 Outlook 2007、 Outlook 2010 或 Outlook 2013 和某些行動電話。The Autodiscover service makes it easier to configure Outlook 2007, Outlook 2010, or Outlook 2013 and some mobile phones. 您無法使用自動探索服務使用 Office Outlook 2007 以前的 Outlook 版本。You can't use the Autodiscover service with versions of Outlook earlier than Office Outlook 2007. 在舊版的 Microsoft Exchange (Exchange 2003 SP2 或更早版本) 和 Outlook (Outlook 2003 或更舊版本),您必須設定以手動方式來存取 Exchange 的所有使用者設定檔。In earlier versions of Microsoft Exchange (Exchange 2003 SP2 or earlier) and Outlook (Outlook 2003 or earlier), you had to configure all user profiles manually to access Exchange. 管理這些設定檔至郵件環境中發生變更時需要額外的工作。Extra work was required to manage these profiles if changes occurred to the messaging environment. 否則,Outlook 用戶端就會停止運作正常。Otherwise, the Outlook clients would stop functioning correctly.

透過自動探索服務,Outlook 可尋找新的連接點所組成的使用者的信箱 GUID + @ + 使用者主要 SMTP 地址的網域部分。Through the Autodiscover service, Outlook finds a new connection point made up of the user's mailbox GUID + @ + the domain portion of the user's primary SMTP address. 自動探索服務會將下列資訊傳回用戶端:The Autodiscover service returns the following information to the client:

  • 使用者的顯示名稱The user's display name

  • 內部及外部連線的不同連線設定Separate connection settings for internal and external connectivity

  • 使用者的信箱伺服器的位置The location of the user's Mailbox server

  • 管理空閒/忙碌資訊、 整合通訊及離線通訊錄等功能的各種 Outlook 功能的 UrlThe URLs for various Outlook features that govern functionality such as free/busy information, Unified Messaging, and the offline address book

  • Outlook 無所不在 伺服器設定Outlook Anywhere server settings

變更使用者的 Exchange 資訊時,Outlook 會自動重新設定使用自動探索服務的使用者設定檔。When a user's Exchange information is changed, Outlook automatically reconfigures the user's profile using the Autodiscover service. 例如,如果使用者的信箱已移動或用戶端無法連線到使用者的信箱或可用的 Exchange 功能,Outlook 會連絡自動探索服務和自動更新使用者設定檔,以包含所需的資訊連接至信箱和 Exchange 功能。For example, if a user's mailbox is moved or the client can't connect to the user's mailbox or to available Exchange features, Outlook will contact the Autodiscover service and automatically update the user's profile to include the information that's required to connect to the mailbox and Exchange features.

回到頁首Return to top

自動探索服務的運作方式How the Autodiscover service works

當您安裝用戶端存取伺服器在 Exchange 2013 時,在網際網路資訊服務 (IIS) 的預設網站之下建立名為 Autodiscover 預設虛擬目錄。When you install a Client Access server in Exchange 2013, a default virtual directory named Autodiscover is created under the default website in Internet Information Services (IIS). 此虛擬目錄處理從 Outlook 2007、 Outlook 2010 和 Outlook 2013 用戶端的自動探索服務要求,並支援行動電話,在下列情況下:This virtual directory handles Autodiscover service requests from Outlook 2007, Outlook 2010, and Outlook 2013 clients and supported mobile phones under the following circumstances:

  • 設定或更新的使用者帳戶時When a user account is configured or updated

  • 當 Outlook 用戶端定期檢查變更為 Exchange Web 服務 UrlWhen an Outlook client periodically checks for changes to the Exchange Web Services URLs

  • 當 Exchange 郵件環境中發生底層網路連線變更When underlying network connection changes occur in your Exchange messaging environment

此外,在您安裝 Client Access server 的伺服器上建立名為的服務連線點 (SCP) 新 Active Directory 物件。Additionally, a new Active Directory object named the service connection point (SCP) is created on the server where you install the Client Access server.

SCP 物件包含樹系之自動探索服務 URL 的授權清單。The SCP object contains the authoritative list of Autodiscover service URLs for the forest. 您可以使用Set-clientaccessserver指令程式來更新 SCP 物件。You can use the Set-ClientAccessServer cmdlet to update the SCP object. 如需詳細資訊,請參閱Set-clientaccessserverFor more information, see Set-ClientAccessServer.

重要

執行Set-clientaccessserver cmdlet 之前,請確定在用戶端存取伺服器上的已驗證的使用者帳戶具有 SCP 物件的 「 讀取 」 權限。Before you run the Set-ClientAccessServer cmdlet, make sure the Authenticated Users account on the Client Access server has Read permissions for the SCP object. 如果使用者沒有正確的權限,他們無法搜尋並讀取項目。If users don't have the correct permissions, they can't search for and read items.

如需 SCP 物件的詳細資訊,請參閱發佈具有服務連線點For more information about SCP objects, see Publishing with Service Connection Points.

若是外部存取,或使用 DNS,用戶端會利用使用者電子郵件地址的主要 SMTP 網域位址,在網際網路上尋找自動探索服務。For external access, or using DNS, the client locates the Autodiscover service on the Internet by using the primary SMTP domain address from the user's email address.

注意

您必須提供在 Outlook 用戶端使用 DNS 探索的自動探索服務的 DNS 記錄。You must provide a record in DNS for Outlook clients to discover the Autodiscover service by using DNS. 如需詳細資訊,請參閱 Windows 文件設定 DNS,也請參閱白皮書: Exchange 2007 自動探索服務For more information, see your Windows documentation for configuring DNS and also see the White Paper: Exchange 2007 Autodiscover Service.

根據是否已設定自動探索服務在不同的網站上,自動探索服務 URL 將會是任一 https://<smtp 位址網域>/autodiscover/autodiscover.xml 或https://autodiscover.< smtp 位址網域>/autodiscover/autodiscover.xml,其中://<smtp 位址網域>是主要的 SMTP 網域位址。Depending on whether you've configured the Autodiscover service on a separate site, the Autodiscover service URL will be either https://<smtp-address-domain>/autodiscover/autodiscover.xml or https://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml, where ://<smtp-address-domain> is the primary SMTP domain address. 例如,如果使用者的電子郵件地址是 tony@contoso.com,則主要 SMTP 網域位址是 .contoso.com。For example, if the user's email address is tony@contoso.com, the primary SMTP domain address is contoso.com. 當用戶端會連線至 Active Directory 時,用戶端會尋找在安裝期間建立的 SCP 物件。When the client connects to Active Directory, the client looks for the SCP object created during Setup. 在包含多個用戶端存取伺服器的部署,自動探索 SCP 物件會針對每個用戶端存取伺服器建立。In deployments that include multiple Client Access servers, an Autodiscover SCP object is created for each Client Access server. SCP 物件包含具有完整的網域名稱 (FQDN) 的ServiceBindingInfo屬性在表單中的用戶端存取伺服器的https://CAS01/autodiscover/autodiscover.xml、 CAS01 的 Client Access server 的 FQDN 的位置。The SCP object contains the ServiceBindingInfo attribute with the fully qualified domain name (FQDN) of the Client Access server in the form https://CAS01/autodiscover/autodiscover.xml, where CAS01 is the FQDN for the Client Access server. 使用使用者認證,Outlook 2007、 Outlook 2010 或 Outlook 2013 用戶端向 Active Directory,並搜尋自動探索 SCP 物件。Using the user credentials, the Outlook 2007, Outlook 2010, or Outlook 2013 client authenticates to Active Directory and searches for the Autodiscover SCP objects. 用戶端取得並列舉自動探索服務的執行個體之後,用戶端連線至列舉清單中的第一個用戶端存取伺服器,並取得形式的驗證連線至使用者的信箱所需的 XML 資料的設定檔資訊和可用 Exchange 功能。After the client obtains and enumerates the instances of the Autodiscover service, the client connects to the first Client Access server in the enumerated list and obtains the profile information in the form of XML data that's needed to connect to the user's mailbox and available Exchange features.

回到頁首Return to top

自動探索服務的部署選項Deployment options for the Autodiscover service

必須部署並正確設定 Outlook 2007、 Outlook 2010 和 Outlook 2013 用戶端可以自動連接到 Exchange 功能,例如離線通訊錄、 可用性服務及整合通訊 (UM) 自動探索服務。The Autodiscover service must be deployed and configured correctly for Outlook 2007, Outlook 2010, and Outlook 2013 clients to automatically connect to Exchange features such as the offline address book, the Availability service, and Unified Messaging (UM). 部署自動探索服務是只有一個步驟確保您的 Exchange 服務,例如可用性服務,可由 Outlook 2007、 Outlook 2010 或 Outlook 2013 用戶端存取。Deploying the Autodiscover service is only one step in making sure your Exchange services, such as the Availability service, can be accessed by Outlook 2007, Outlook 2010, or Outlook 2013 clients.

設定適合跨樹系的自動探索移動Configuring Autodiscover for cross-forest moves

自動探索服務可提供連線的信箱已從一個 Exchange 樹系移至另一個 Outlook 用戶端的使用者設定檔資訊。The Autodiscover service can provide user profile information to connecting Outlook clients for mailboxes that have been moved from one Exchange forest to another. 此動作,您必須設定擁有郵件功能的使用者在這兩個原始樹系使用者的信箱位置常駐並使用New-mailuser指令程式在目標樹系中。For this to happen, you must configure a mail-enabled user in both the original forest where the user's mailbox resided and in the target forest using the New-MailUser cmdlet. 來源樹系中,您應該使用指令程式中的ExternalEmailAddress參數來指定目標樹系中的信箱的新電子郵件地址。In the source forest, you should use the ExternalEmailAddress parameter in the cmdlet to specify the new email address of the mailbox in the target forest. 如需詳細資訊,請參閱 < New-mailuserFor more information, see New-MailUser.

當您設定擁有郵件功能的使用者時,在原始樹系中的自動探索服務會將使用者重新導向驗證目標樹系中的新電子郵件地址。When you configure a mail-enabled user, the Autodiscover service in the original forest will redirect the authenticating user to the new email address in the target forest. 連線的 Outlook 用戶端會再重新導向至信箱已移動之目標樹系中的用戶端存取伺服器。The connecting Outlook client will then be redirected to the Client Access server in the target forest where the mailbox has been moved.

Return to topReturn to top