設定 Microsoft SharePoint Server 2013 以搜尋封存的 Microsoft Lync Server 2013 資料Configuring Microsoft SharePoint Server 2013 to search for archived Microsoft Lync Server 2013 data

 

主題上次修改日期: 2014-02-04Topic Last Modified: 2014-02-04

在 Microsoft Exchange Server 2013,而不是 Microsoft Lync Server 2013 中儲存立即訊息和 Web 會議記錄的主要優點之一,是可讓系統管理員使用單一工具來搜尋已封存的 Exchange 資料和(或)封存的 Lync Server 資料。One of the major advantages to storing instant messaging and Web conferencing transcripts in Microsoft Exchange Server 2013 instead of Microsoft Lync Server 2013 is the fact that storing data in the same location enables administrators to use a single tool to search for archived Exchange data and/or archived Lync Server data. 由於所有資料都儲存在相同的位置 (Exchange) 任何可搜尋已封存 Exchange 資料的工具也可以搜尋封存的 Lync Server 資料。Because all the data is stored in the same place (Exchange) any tool that can search for archived Exchange data can also search for archived Lync Server data.

一種可讓您搜尋封存資料的工具,是 Microsoft SharePoint Server 2013。One tool that makes it easy to search for archived data is Microsoft SharePoint Server 2013. 如果您想要使用 SharePoint 來搜尋 Lync Server 資料,您必須先完成在 Lync Server 中設定 Exchange 封存所涉及的所有步驟。If you would like to use SharePoint to search for Lync Server data, you must first complete all the steps involved in configuring Exchange archiving in Lync Server. 成功整合 Exchange 2013 和 Lync Server 2013 之後,您必須在 SharePoint 伺服器上安裝 Exchange Web Services Managed API 版本 2.0;您可以從 Microsoft 下載中心 () 下載該 API 的安裝程式 https://go.microsoft.com/fwlink/p/?LinkId=258305After Exchange 2013 and Lync Server 2013 have been successfully integrated you must then install the Exchange Web Services Managed API Version 2.0 on your SharePoint Server; the setup program for that API can be downloaded from the Microsoft Downloads Center (https://go.microsoft.com/fwlink/p/?LinkId=258305). 下載的檔案 (EWSManagedAPI.msi) 可以儲存至 SharePoint Server 上的任何資料夾。The downloaded file (EWSManagedAPI.msi) can be saved to any folder on your SharePoint server.

下載檔案之後,在 SharePoint Server 上完成下列程序:After the file has been downloaded complete the following procedure on the SharePoint server:

  1. 依序按一下 [開始]****、[所有程式]**** 及 [附屬應用程式]****,再以滑鼠右鍵按一下 [命令提示字元]****,然後按一下 [以系統管理員身分執行]****,以開啟命令視窗。Open a command window by clicking Start, clicking All Programs, clicking Accessories, right-clicking Command Prompt, and then clicking Run as administrator.

  2. 在命令視窗中,使用 cd 命令將現行目錄切換至儲存 EWSManagedAPI.msi 檔案的資料夾。In the command window, use the cd command to change the current directory to the folder where the file EWSManagedAPI.msi has been saved. 例如,如果您已將檔案儲存至 C:下載,請 \ 在命令視窗中輸入下列命令,然後按 enter:For example, if you have saved the file to C:\Downloads type the following command in the command window and then press ENTER:

    cd C:\Downloads
    
  3. 若要安裝 API,請輸入下列命令,然後按 ENTER 鍵:To install the API, type the following command then press ENTER:

    msiexec /I EwsManagedApi.msi addlocal="ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac"
    
  4. 安裝 API 之後,輸入下列命令並按 ENTER 鍵,以重設 IIS:After the API has been installed, reset IIS by typing the following command and pressing ENTER:

    iisreset
    

在安裝 Exchange Web 服務之後,您必須在 SharePoint Server 2013 和 Exchange 2013 之間設定伺服器對伺服器的驗證。After Exchange Web Services has been installed you must then configure server-to-server authentication between SharePoint Server 2013 and Exchange 2013. 若要這麼做,請先開啟 SharePoint 2013 管理命令介面,並執行下列命令組:To do this, first open the SharePoint 2013 Management Shell and run the following set of command:

New-SPTrustedSecurityTokenIssuer -Name "Exchange" -MetadataEndPoint "https://autodiscover.litwareinc.com/autodiscover/metadata/json/1"
$service = Get-SPSecurityTokenServiceConfig
$service.HybridStsSelectionEnabled = $True
$service.AllowMetadataOverHttp = $False
$service.AllowOAuthOverHttp = $False
$service.Update()

注意

請務必將該 URI 用於自動探索服務。Be sure and use the URI for your autodiscover service. 請勿使用範例 URI https://autodiscover.litwareinc.com/autodiscover/metadata/json/1Do not use the sample URI https://autodiscover.litwareinc.com/autodiscover/metadata/json/1.

建立權杖簽發者並設定 token 服務之後,請執行下列命令,以確保將 SharePoint 網站的 URL 取代為範例 URL http://atl-sharepoint-001:After you have created the token issuer and configured the token service, run these commands, making sure to substitute the URL of your SharePoint site for the sample URL http://atl-sharepoint-001:

$exchange = Get-SPTrustedSecurityTokenIssuer "Exchange"
$app = Get-SPAppPrincipal -Site "https://atl-sharepoint-001" -NameIdentifier $exchange.NameID
$site = Get-SPSite  "https://atl-sharepoint-001"
Set-SPAppPrincipalPermission -AppPrincipal $app -Site $site.RootWeb -Scope "SiteSubscription" -Right "FullControl" -EnableAppOnlyPolicy

若要設定 Exchange 2013 的伺服器對伺服器驗證,請開啟 Exchange 管理命令介面,並執行類似此 (的命令,假設 Exchange 已安裝在磁碟機 C:上,而且它使用預設的資料夾路徑) :To configure server-to-server authentication for Exchange 2013, open the Exchange Management Shell and run a command similar to this (assuming that Exchange has been installed on drive C: and that it uses the default folder path):

"C:\Program Files\Microsoft\Exchange Server\V15\Scripts\Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl 'https://atl-sharepoint-001/_layouts/15/metadata/json/1' -ApplicationType SharePoint"

設定夥伴應用程式之後,建議您在所有 Exchange 信箱和用戶端存取伺服器上停止並重新啟動網際網路資訊服務 (IIS) 。After configuring the partner application it is recommended that you stop and restart Internet Information Services (IIS) on all your Exchange mailbox and client access servers. 您可以使用如下命令來重新啟動 IIS,其會在電腦 atl-exchange-001 上重新啟動該服務:You can restart IIS by using a command similar to this, which restarts the service on the computer atl-exchange-001:

iisreset atl-exchange-001

您可以從 Exchange 管理命令介面或任何其他命令視窗中執行此命令。This command can be run from within the Exchange Management Shell or from any other command window.

接下來,執行類似下列的命令,可讓指定的使用者 (在此範例中,kenmyer) 在 Exchange 上進行探索的許可權:Next, run a command similar to the following, which gives the specified user (in this example, kenmyer) the right to do discovery on Exchange:

Add-RoleGroupMember "Discovery Management" -Member "kenmyer"

在 Exchange 之間建立伺服器對伺服器驗證之後,SharePoint 下一步是在 SharePoint 中建立 eDiscovery 網站。After server-to-server authentication has been established between Exchange and SharePoint your next step is to create an eDiscovery site in SharePoint. 您可以從 SharePoint 管理命令介面中執行類似下列的命令,以執行此作業:That can be done by running commands similar to these from the SharePoint Management Shell:

$template = Get-SPWebTemplate | Where-Object {$_.Title -eq "eDiscovery Center"}
New-SPSite -Url "https://atl-sharepoint-001/sites/discovery" -OwnerAlias "kenmyer" -Template $Template -Name "Discovery Center"

注意

"eDiscovery" 是 "electronic discovery" (電子化探索) 的縮寫,此程序通常是指在電子化封存中尋找可以在法庭上「合理計算以導出可採納證據」的項目。"eDiscovery" is short for "electronic discovery," and typically refers to the process of looking through electronic archives for items that can be "reasonably calculated to lead to admissible evidence" in a court of law.

當新的網站準備好時,下一步是設定 Exchange 2013 做為 SharePoint 的結果來源。When the new site is ready, the next step is to configure Exchange 2013 to act as a result source for SharePoint. 您可以從 SharePoint 2013 管理中心] 頁面完成下列程式,以執行此操作:You can do that by completing the following procedure from the SharePoint 2013 Central Administration page:

  1. 在「管理中心」頁面上,按一下 [管理服務應用程式]****,然後按一下 [Search Service 應用程式]****。On the Central Administration page click Manage Service Applications and then click Search Service Application.

  2. 在「Search Service 應用程式:搜尋管理」頁面上,按一下 [結果來源]**** ,然後按一下 [新增結果來源]****。On the Search Service Application: Search Administration page click Result Sources and then click New Result Source.

  3. 在 [新增結果來源]**** 窗格的 [名稱]**** 方塊中,輸入新結果來源的名稱 (例如,Microsoft Exchange)。In the New Result Source pane enter a name for the new result source (for example, Microsoft Exchange) in the Name box. 選取 [ exchange ] 做為結果來源 通訊協定,然後在 [ exchange 來源 Url ] 方塊中輸入 EXCHANGE 伺服器的 web 服務來源 url。Select Exchange as the result source Protocol, and then enter the web services source URL for your Exchange server in the Exchange Source URL box. 來源 URL 看起來應該像下面這樣:The source URL should look similar to this:

    https://atl-exchange-001.litwareinc.com/ews/exchange.asmx

  4. 請確定未選取 [使用自動探索]****,然後按一下 [確定]****。Make sure that Use Autodiscover is not selected, and then click OK.

最後,請從 SharePoint 探索網站 (中完成下列程式,以建立新的 eDiscovery 案例及新的 eDiscovery 集(例如, https://atl-sharepoint-001/sites/discovery):Finally, create a new eDiscovery case and a new eDiscovery set by completing the following procedure from the SharePoint Discovery site (for example, https://atl-sharepoint-001/sites/discovery):

  1. 在「網站內容」頁面上,按一下 [建立新案例]****。On the Site Contents page click Create a new case.

  2. 在「網站內容:建立 SharePoint 網站」頁面上的 [標題]**** 方塊中,輸入使用者的電子郵件別名 (例如,kenmyer),然後將那相同的 URL 新增至 [網站位址]**** 方塊中。如此將會產生像下面這樣的 URL:On the Site Contents: New SharePoint Site page, enter the user's email alias (for example, kenmyer) in the Title box, then add that same URL to the Web Site Address box. That will result in a URL similar to this:

    https://atl-sharepoint-001/sites/eDiscovery/kenmyer

  3. 按一下 [建立]****。Click Create.

  4. 當「eDiscovery 集」頁面出現時,按一下 [識別與保留: Discovery 集]**** 底下的 [新項目]****。When the eDiscovery set page appears, click new item under Identity and Preserve: Discovery Sets.

  5. 在「新增:Discovery 集」頁面上的 [Discovery 集名稱]**** 方塊中,輸入使用者電子郵件別名。On the New: Discovery Set page, enter the user's email alias in the Discovery Set Name box. 在 [篩選] 方塊中輸入**eDiscovery Lync * ** ,然後按一下 [**新增 & 管理來源**]。Enter eDiscovery Lync* in the Filter box and then click Add & Manage Sources.

  6. 在「新增及管理來源」頁面上 [信箱]**** 底下的第一個文字方塊中,輸入使用者的電子郵件別名。按一下位在文字方塊旁邊的檢查信箱圖示,確認 SharePoint 可以連線至指定的信箱。On the Add & Manage Sources page, enter the user's email alias in the first textbox under Mailboxes. Click the check mailbox icon located next to the textbook to verify that SharePoint can connect to the specified mailbox.

  7. 按一下 [確定]****。Click OK.

  8. 在「eDiscovery 集」頁面上, 按一下 [儲存]****,以儲存新的 eDiscovery 集。On the eDiscovery set page, click Save to save the new eDiscovery set.

此時,您可以搜尋指定的信箱 (kenmyer) 和/或啟用 In-Place 保留的方式與其他任何 SharePoint 內容或結果來源相同。At this point you can search the specified mailbox (kenmyer) and/or enable In-Place holds the same way you would for any other SharePoint content or result source.