Powerpivot Odata 提要提供凭据
Powerpivot Odata feed provide credentials
我创建了一个托管在安全服务器上的 OData Web 服务,要访问这些服务,用户需要提供凭据,然后使用 cookie(TMG Fore Front Server Forms)进行身份验证
如何向 Table Import Wizard
> Connect to a Data Feed
提供凭据?
当我输入 svc 并进行测试连接时得到 401。
更新
很奇怪,但如果在将 url 放入其中后单击按钮,它会给我 401,但现在我再次尝试从头开始,而不是添加 url,单击前进按钮,这是我现在能看到的,
现在如果我添加密码和用户 ID,我会收到此错误,
============================
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)
因为我碰巧知道这是您一直在研究的基于共享点的解决方案,所以我认为这应该是相关的...
https://msdn.microsoft.com/en-us/library/ee210671(v=sql.120).aspx
... 并在 excel 中添加电源枢轴 ...
...单击该菜单中的选项 "from odata feed" 可为您提供构建查询的选项,您还可以指定凭据。
设置查询使您能够执行此操作...
https://blog.crossjoin.co.uk/2014/03/26/working-with-web-services-in-power-query/
我创建了一个托管在安全服务器上的 OData Web 服务,要访问这些服务,用户需要提供凭据,然后使用 cookie(TMG Fore Front Server Forms)进行身份验证
如何向 Table Import Wizard
> Connect to a Data Feed
提供凭据?
当我输入 svc 并进行测试连接时得到 401。
更新
很奇怪,但如果在将 url 放入其中后单击按钮,它会给我 401,但现在我再次尝试从头开始,而不是添加 url,单击前进按钮,这是我现在能看到的,
现在如果我添加密码和用户 ID,我会收到此错误,
============================
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)
因为我碰巧知道这是您一直在研究的基于共享点的解决方案,所以我认为这应该是相关的...
https://msdn.microsoft.com/en-us/library/ee210671(v=sql.120).aspx
... 并在 excel 中添加电源枢轴 ...
...单击该菜单中的选项 "from odata feed" 可为您提供构建查询的选项,您还可以指定凭据。
设置查询使您能够执行此操作...
https://blog.crossjoin.co.uk/2014/03/26/working-with-web-services-in-power-query/