BizTalk 2016 无法加载文件或程序集 Microsoft.SharePoint.Client

BizTalk 2016 Could not load file or assembly Microsoft.SharePoint.Client

我是 运行 BizTalk 2016 Developer Edition,带有 Feature Pack 2 和 CU3。我已将接收位置配置为从 SharePoint 2013 库中提取,但我在事件日志中看到以下内容:

适配器 "Windows SharePoint Services" 发出错误消息。详情 "Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.".

以下建议这应该作为 BizTalk 安装的一部分安装到 GAC:https://docs.microsoft.com/en-us/biztalk/core/csom-sharepoint-services-adapter。我在 BizTalk VM 上找不到程序集。

我了解到 Windows 如果使用 SharePoint CSOM,则必须在 BizTalk Server 上安装 Identity Foundation。服务器管理器显示它已安装,尽管勾号位于无法取消勾选的灰色框中。我 运行 PS Remove-WindowsFeature Windows-Identity-Foundation 然后使用服务器管理器再次添加它 - 它现在显示为 "full tick"。虽然没有解决问题:(

还有其他人遇到过这个问题吗?

我能够通过从以下站点安装 SharePoint 客户端组件 SDK 来解决此问题:https://www.microsoft.com/en-us/download/confirmation.aspx?id=35585

安装后务必重启接收位置的主机实例。