我在SharePoint 2013 Azure和SharePoint之间实现联合搜索时遇到问题。
SharePoint 2013 Azure使用ADFS进行身份验证。 Azure活动目录和内部部署活动目录不同步。
我已按照以下两个链接中提到的所有步骤进行操作 -
https://technet.microsoft.com/EN-US/library/dn607307.aspx
https://technet.microsoft.com/en-us/library/dn197169.aspx
但是,当我尝试测试联合结果源时,我收到以下错误 -
Web error: System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() at Microsoft.SharePoint.Client.ClientContext我不确定我们是否遗漏了technet链接中隐含或未提及的内容。
感谢有人可以帮助解决这个问题。
I am facing issue in implementing Federated Search between SharePoint 2013 Azure and SharePoint online.
SharePoint 2013 Azure uses ADFS for authentication. Azure active directory and on-premise active directories are not in sync though.
I have followed all the steps that have been mentioned in following two links –
https://technet.microsoft.com/EN-US/library/dn607307.aspx
https://technet.microsoft.com/en-us/library/dn197169.aspx
However when I am trying to test the Federated result source, I are getting following error –
Web error: System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() at Microsoft.SharePoint.Client.ClientContextI am not sure if we are missing something which is implied or not mentioned in the technet links.
Grateful if someone can help in resolving this issue.
最满意答案
经过一个月的努力并获得微软的支持,我们已经解决了这个问题。 问题是变量$ spcn的值。
在文章中,不清楚它必须设置哪个域。
$spcn - The root domain name of your public domain. This value should not be in the form of a URL; it should be the domain name only, with no protocol. An example is adventureworks.com.我们最初将其设置为SharePoint Online域。 经过大量的点击和试用,我们发现我们必须添加SharePoint Online和SharePoint 2013的域。之后它就可以工作了。
Finally after a month of effort and taking help of Microsoft support, we have resolved the issue. The problem was the value of variable $spcn.
In the article, it was not very clear to which domain it has to be set.
$spcn - The root domain name of your public domain. This value should not be in the form of a URL; it should be the domain name only, with no protocol. An example is adventureworks.com.We were initially setting it to domain of SharePoint Online. Finally after lot of hit and trial, we found that we have to add domain of both SharePoint Online and SharePoint 2013. It worked after that.
更多推荐
发布评论