配置本地 Lync Server 2013 与 Exchange Online 集成Configuring on-premises Lync Server 2013 integration with Exchange Online

 

上次修改的主题: 2018-03-30Topic Last Modified: 2018-03-30

使用本地 Lync Server 2013 部署的客户可以在混合部署模式下在 Microsoft Exchange Online 中配置与 Microsoft Outlook Web App 的互操作性。Customers who are using on-premises Lync Server 2013 deployments can configure interoperability with Microsoft Outlook Web App in Microsoft Exchange Online in a hybrid deployment mode. 互操作性功能包括单一登录和即时消息 (IM) 和状态与 Outlook Web App 界面的集成。Interoperability features include single sign on and instant messaging (IM) and presence integration with the Outlook Web App interface. 若要启用此集成,您必须完成以下任务,在本地 Lync Server 部署中配置边缘服务器:To enable this integration, you must configure the Edge Server in your on-premises Lync Server deployment by completing the following tasks:

  • 配置共享 SIP 地址空间Configure a shared SIP address space

  • 在边缘服务器上配置托管提供程序Configure a hosting provider on the Edge Server

  • 验证更新的中央管理存储的复制Verify replication of the updated Central Management store

如果 Lync Server 2013 与 Exchange Online 集成,则尝试从 OWA 登录 IM 的用户被视为远程用户或外部用户。If Lync Server 2013 is integrated with Exchange Online, a user who is trying to sign in to IM from OWA is considered a remote or external user. 在这种情况下,必须为此用户分配一个已选择以下选项的外部访问策略:In this scenario, this user must have an external access policy assigned that has the following option selected:

启用与远程用户的通信Enable communications with remote users

如果您希望组织中的用户(如正在旅行的远程办公和用户)能够通过 Internet 连接到 Lync Server,请启用此选项。Enable this option if you want users in your organization who are outside your firewall, such as telecommuters and users who are traveling, to be able to connect to Lync Server over the Internet.

有关详细信息,请参阅 在 Lync Server 2013 中管理外部访问策略For more information, see Manage external access policy in Lync Server 2013.

配置共享 SIP 地址空间Configure a Shared SIP Address Space

若要将本地 Lync Server 2013 与 Exchange Online 集成,必须配置共享 SIP 地址空间。To integrate on-premises Lync Server 2013 with Exchange Online, you must configure a shared SIP address space. Lync Server 和 Exchange Online 服务均支持相同的 SIP 域地址空间。The same SIP domain address space is supported by both Lync Server and the Exchange Online service.

使用 Lync Server 命令行管理程序,使用以下示例中显示的参数运行 set-csaccessedgeconfiguration cmdlet,从而配置边缘服务器以进行联合身份验证:Using the Lync Server Management Shell, configure the Edge Server for federation by running the Set-CSAccessEdgeConfiguration cmdlet, using the parameters that are displayed in the following example:

Set-CsAccessEdgeConfiguration -AllowFederatedUsers $True
  • AllowFederatedUsers 指定是否允许内部用户与来自联盟域的用户进行通信。AllowFederatedUsers specifies whether internal users are allowed to communicate with users from federated domains. 此属性还确定内部用户是否可以使用 Lync Server 和 Exchange Online 与共享 SIP 地址空间方案中的用户进行通信。This property also determines whether internal users can communicate with users in a shared SIP address space scenario with Lync Server and Exchange Online.

有关如何使用 Lync Server 命令行管理程序的详细信息,请参阅 Lync server 2013 命令行管理程序。For details about how to use the Lync Server Management Shell, see Lync Server 2013 Management Shell.

在边缘服务器上配置托管提供程序Configure a Hosting Provider on the Edge Server

使用 Lync Server 命令行管理程序在边缘服务器上配置托管提供程序。Use the Lync Server Management Shell to configure a hosting provider on the Edge Server. 为此,请使用以下示例中的参数运行 CsHostingProvider cmdlet:To do this, run the New-CsHostingProvider cmdlet, using the parameters in the following example:

New-CsHostingProvider -Identity "Exchange Online" -Enabled $True -EnabledSharedAddressSpace $True -HostsOCSUsers $False -ProxyFqdn "exap.um.outlook.com" -IsLocal $False -VerificationLevel UseSourceVerification

备注

如果使用由世纪互联运营的 Office 365,请将 ProxyFqdn 参数的值替换为以下 ( 示例中的ProxyFqdn参数的值: "exap.um.outlook.com" ) 和由世纪互联运营的服务的 FQDN: "exap.um.partner.outlook.cn"。If you are using Office 365 operated by 21Vianet in China, replace the value for the ProxyFqdn parameter in this example ("exap.um.outlook.com") with the FQDN for the service operated by 21Vianet: "exap.um.partner.outlook.cn".

  • Identity 为您要创建的宿主提供程序指定一个唯一的字符串值标识符 (例如,"Exchange Online" ) 。Identity specifies a unique string value identifier for the hosting provider that you are creating (for example, "Exchange Online"). 包含空格的值必须用双引号引起来。Values that contain spaces must be in double quotation marks.

  • Enabled 指示您的域与承载服务提供商之间的网络连接是否已启用。Enabled indicates whether the network connection between your domain and the hosting provider is enabled. 必须将其设置为 TrueThis must be set to True.

  • EnabledSharedAddressSpace 指示是否要在共享 SIP 地址空间方案中使用承载服务提供商。EnabledSharedAddressSpace indicates whether the hosting provider will be used in a shared SIP address space scenario. 必须将其设置为 TrueThis must be set to True.

  • HostsOCSUsers 指示承载提供程序是否用于承载 Office 通信服务器或 Lync Server。HostsOCSUsers indicates whether the hosting provider is used to host Office Communications Server or Lync Server. 必须将其设置为 FalseThis must be set to False.

  • ProxyFQDN 指定托管服务提供商使用的代理服务器的完全限定的域名 (FQDN)。ProxyFQDN specifies the fully qualified domain name (FQDN) for the proxy server used by the hosting provider. 对于 Exchange Online,FQDN 为 exap.um.outlook.com。For Exchange Online, the FQDN is exap.um.outlook.com.

  • IsLocal 指示承载提供程序使用的代理服务器是否包含在你的 Lync server 拓扑中。IsLocal indicates whether the proxy server used by the hosting provider is contained within your Lync Server topology. 必须将其设置为 FalseThis must be set to False.

  • VerificationLevel 指示对托管提供程序发送和接收的邮件允许的验证级别。VerificationLevel indicates the verification level allowed for messages that are sent to and from the hosted provider. 指定 UseSourceVerificationSpecify UseSourceVerification. 此选项依赖于从托管提供程序发送的邮件中包含的验证级别。This option relies on the verification level that is included in messages that are sent from the hosting provider. 如果未指定此级别,则邮件将因无法验证而被拒绝。If this level is not specified, the message will be rejected as being unverifiable.

验证更新的中央管理存储的复制Verify Replication of the Updated Central Management Store

使用前面各节中的 cmdlet 所做的更改将自动应用于边缘服务器,并且通常需要不到一分钟的时间来进行复制。The changes that you made by using the cmdlets in the preceding sections are automatically applied to the Edge Server, and generally take less than one minute to replicate. 您可以使用以下 cmdlet 验证复制状态以及是否已将更改应用到边缘服务器。You can verify the replication status and that the changes were applied to your Edge Server by using the following cmdlets.

若要验证 Lync Server 部署中的内部服务器上的复制更新,请运行以下 cmdlet:To verify replication updates on a server internal in your Lync Server deployment, run the following cmdlet:

Get-CsManagementStoreReplicationStatus

若要验证是否已应用所做的更改,请在边缘服务器上运行以下 cmdlet:To verify that the changes were applied, run the following cmdlet on the Edge Server:

Get-CsHostingProvider -LocalStore