Exchange2016&Skype for business集成之一配置合作伙伴应用程序

准备条件
为Skype for Business Server和Exchange Server之间建立服务器到服务器的身份验证,您必须做两件事:
1)您必须为每台服务器分配合适的证书(详细参考文档https://technet.microsoft.com/zh-cn/library/jj205253.aspx);
2)您必须将每台服务器配置为另一台服务器的合作伙伴应用程序:这意味着您必须将Skype for Business Server 2015配置为Exchange Server的合作伙伴应用程序,并且必须将Exchange Server配置为合作伙伴应用程序Skype for Business Server 2015。
集成 Skype for Business Server 2015 和 Exchange Server 前,必须配置自动发现服务。验证是否配置,通过从 Exchange Server 命令行管理程序运行下列命令和检查 AutoDiscoverServiceInternalUri 属性的值:
Get-ClientAccessServer | Select-Object Name, AutoDiscoverServiceInternalUri | Format-List

Exchange2016&Skype for business集成之一配置合作伙伴应用程序
如果此值是服务器的FQDN,必须将 URI 修改为自动发现服务autodiscover.occ.com
Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://autodiscover.occ.com/autodiscover/autodiscover.xml
Exchange2016&Skype for business集成之一配置合作伙伴应用程序
Exchange2016&Skype for business集成之一配置合作伙伴应用程序
配置自动发现服务后,必须修改 Skype for Business Server OAuth 配置设置;这可确保 Skype for Business Server 了解从何处找到自动发现服务。要修改 Skype for Business Server 2015 中的 OAuth 配置设置,请从 Skype for Business Server 管理程序 内运行下列命令。运行此命令时,确保将 URI 指定到 Exchange Server 上运行的自动发现服务,并确保使用 autodiscover.svc 代替 autodiscover.xml (它指向由该服务使用的 XML 文件)指向服务位置:
Set-CsOAuthConfiguration -Identity global -ExchangeAutodiscoverUrl https://autodiscover.occ.com/autodiscover/autodiscover.svc
Exchange2016&Skype for business集成之一配置合作伙伴应用程序
Exchange2016&Skype for business集成之一配置合作伙伴应用程序
除了配置自动发现服务外,还必须为指向 Exchange Server 的服务创建 DNS 记录。例如,如果你的自动发现服务位于 autodiscover.occ.com,则需要为解析为 Exchange Server 的完全限定域名的 autodiscover.occ.com 创建 DNS 记录。

将Skype for Business Server配置为Exchange Server的合作伙伴应用程序
将Skype for Business Server 2015配置为Exchange Server 2016或Exchange Server 2013的合作伙伴应用程序的最简单方法是运行Configure-EnterprisePartnerApplication.ps1脚本,这是Exchange Server附带的Windows PowerShell脚本。要运行此脚本,您必须提供Skype for Business Server身份验证元数据文档的URL; 这通常是Skype for Business Server 2015池的完全限定域名,后跟后缀/ metadata / json / 1。如
https://sfbpool.occ.com/metadata/json/1
要将Skype for Business Server配置为合作伙伴应用程序,请打开Exchange命令行管理程序并运行类似于此的命令(假设Exchange已安装在驱动器C上,并且它使用默认文件夹路径):

"C:\Program Files\Microsoft\Exchange Server\V15\Scripts\Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl 'https://sfbpool.occ.com/metadata/json/1' -ApplicationType Lync"
Exchange2016&Skype for business集成之一配置合作伙伴应用程序
在配置合作伙伴应用程序后,建议您在Exchange邮箱和客户端访问服务器上停止并重新启动Internet信息服务(IIS)。您可以使用与此类似的命令重新启动IIS,这会重新启动计算机上的服务:
iisreset mail01.occ.com
iisreset mail02.occ.com
Exchange2016&Skype for business集成之一配置合作伙伴应用程序

将Exchange Server配置为Skype for Business Server的合作伙伴应用程序
将Skype for Business Server 2015配置为Exchange Server 2016或Exchange Server 2013的合作伙伴应用程序后,必须将Exchange Server配置为Skype for Business Server的合作伙伴应用程序。这可以通过使用Skype for Business Server命令行管理程序并指定Exchange的身份验证元数据文档来完成; 这通常是Exchange自动发现服务的URI,后跟后缀/ metadata / json / 1。例如:
https://autodiscover.occ.com/autodiscover/metadata/json/1
在Skype for Business Server中,通过使用New-CsPartnerApplication cmdlet 配置合作伙伴应用程序。除了指定元数据URI之外,您还应该将应用程序信任级别设置为完整; 这将允许Exchange代表其本身和任何授权用户。例如:
New-CsPartnerApplication -Identity Exchange -ApplicationTrustLevel Full -MetadataUrl https://autodiscover.occ.com/autodiscover/metadata/json/1
Exchange2016&Skype for business集成之一配置合作伙伴应用程序
要测试Skype for Business Server 2015和Exchange Server的集成,请从Skype for Business Server命令行管理程序运行类似于以下命令的命令:
Test-CsExStorageConnectivity –SipUri user1@occ.com
如果出现如下 报错信息是正常,原因是权限不够
Exchange2016&Skype for business集成之一配置合作伙伴应用程序
将操作账号加入到RTCUniversalUserAdmins组中即可
Exchange2016&Skype for business集成之一配置合作伙伴应用程序

Exchange2016&Skype for business集成之一配置合作伙伴应用程序

到这里合作伙伴关系已经建立完成下一章我们将写到配置本地Skype for Business Server 2015和Exchange 2016Outlook Web App之间的集成

转载于:https://blog.51cto.com/tianzj/2084623

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值