Powerpivot Odata提供凭据

我创build了一个托pipe在安全服务器上的OData Web服务,为了访问这些服务,用户需要提供凭证,然后使用cookie(TMG Fore Front Server Forms)进行身份validation,

我如何向Table Import Wizard > Connect to a Data Feed提供凭据?

当我进入svc并进行testing连接时,会得到401。

更新

安静的奇怪,但它给了我401如果button点击后,将url放入它,但现在我再次尝试从开始,而不是添加url,点击前进button,这是我现在可以看到,

在这里输入图像说明

现在如果我添encryption码和userid,我得到这个错误,

 ============================ Error Message: ============================ The remote server returned an error: (401) Unauthorized. ============================ Call Stack: ============================ at System.Net.HttpWebRequest.GetResponse() at Microsoft.AnalysisServices.Common.DataSourceBasic.UpdateDataFeedParametersInternal(ConnectionStringBuilder connBuilder, IDataSource dataSource, Boolean checkFeedValid, Boolean fKeepAlive) at Microsoft.AnalysisServices.Common.DataSourceBasic.UpdateDataFeedParameters(ConnectionStringBuilder connBuilder, IDataSource dataSource, Boolean checkFeedValid) at Microsoft.AnalysisServices.Common.DataSourceBasic.GetCurrentConnectionString(Boolean checkFeedValid) at Microsoft.AnalysisServices.Common.DataSourceBasic.ClickTestConnection(Object progressControl) 

因为我碰巧知道这是一个基于共享点的解决scheme,你一直在努力,我认为这应该是相关的…

https://msdn.microsoft.com/en-us/library/ee210671(v=sql.120).aspx

…和功率支点在Excel中添加…

https://support.office.com/en-gb/article/Connect-to-an-OData-feed-Power-Query-4441a94d-9392-488a-a6a9-739b6d2ad500

…在该菜单中点击“from odata feed”选项可为您提供构build查询的选项,还可以指定凭据。

build立查询让你能够做到这一点…

https://blog.crossjoin.co.uk/2014/03/26/working-with-web-services-in-power-query/