March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I've come across an issue with Power BI Service being unable to refresh the data from an anonymous Web Service with authentication token. Looks like while checking the connectivity (before doing the actual refresh) of Web.Contents, Power BI Service omits all the query parameters and headers. As a result, it does not get any reply from the server or gets 400 Bad Request (since all the required parameters were removed).
Needless to say, that refreshing the data with all the query parameters and headers works just fine in the Desktop. Also, if I remove the authentication token requirement from the Web Service and just return HTTP 200, everything works fine. I can later add the authentication token requirement back and Power BI service will be refreshing fine, until I republish the report.
Is there any way to force Power BI not to test data source connectivity (or at least don't drop headers and parameters when doing so)?
Thanks
Solved! Go to Solution.
I found a solution here https://chris.koester.io/index.php/2017/03/28/call-an-azure-function-from-power-bi/
The trick is to fool Power BI and make it connect to the top level domain by placing the URL path into RelativePath parameter:
I found a solution here https://chris.koester.io/index.php/2017/03/28/call-an-azure-function-from-power-bi/
The trick is to fool Power BI and make it connect to the top level domain by placing the URL path into RelativePath parameter:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
21 | |
11 | |
10 | |
9 |
User | Count |
---|---|
47 | |
31 | |
18 | |
17 | |
16 |