无法从 Sharepoint 2013 连接到 Dynamics CRM 2013

Unable to connect to Dynamics CRM 2013 from Sharepoint 2013

我在 SharePoint 中有一个事件接收器,它需要与 Dynamics CRM 2013 进行通信。它主要检查用户是否拥有该记录,以及它是否没有为记录所有者创建任务。

问题是它在实例化 OrganizationServiceProxy 时超时,基本上是在这一行:

 var service = new OrganizationServiceProxy(url, null, creds, null);

我已经使用可以访问 Dynamics CRM 服务器的各种浏览器进行了检查,因此这绝对不是 networks/firewall 的问题。

好像是远程调用被屏蔽了,但是被什么屏蔽了?我猜 Sharepoint 上有某种设置,但我真的不知道

有人知道如何解决这个问题吗?

可以在这里找到解决方案:

https://sharepoint.stackexchange.com/questions/135723/cant-make-remote-requests-from-sharepoint-2013-event-receiver

make sure you have all of the certs in the certification path of the ssl certificate for the dynamics url loaded into the SharePoint trust center.