配置 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

将即时消息和 Web 会议脚本存储在 Microsoft Exchange Server 2013 而不是 Microsoft Lync Server 2013 中的主要优势之一是,将数据存储在相同位置,使管理员能够使用单个工具搜索已存档的 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 服务托管 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 服务器上的任何文件夹。The downloaded file (EWSManagedAPI.msi) can be saved to any folder on your SharePoint server.

下载文件后,在 SharePoint 服务器上完成以下过程: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.

创建令牌颁发者并配置令牌服务后,运行这些命令,确保将 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 邮箱和客户端访问服务器上停止并重新启动 Internet 信息服务 (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 中创建电子数据展示网站。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 发现网站中完成以下过程来创建新的电子数据展示事例和新的电子数据展示集 (例如, 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. 当电子数据展示集页出现时,单击“标识和保留: 发现集”**** 下的“新建项目”****。When the eDiscovery set page appears, click new item under Identity and Preserve: Discovery Sets.

  5. 在“新建: 发现集”页上的“发现集名称”**** 框中输入用户的电子邮件别名。On the New: Discovery Set page, enter the user's email alias in the Discovery Set Name box. 在 "筛选器" 框中输入**电子数据展示 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. 在“电子数据展示集”页上,单击“保存”****,以保存新的电子数据展示集。On the eDiscovery set page, click Save to save the new eDiscovery set.

此时,您可以 (kenmyer 中搜索指定的邮箱) 和/或启用对任何其他 SharePoint 内容或结果源的 In-Place 保留方式。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.