Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
I have built a Power BI report that is using WEB as datasource.
The Web source is getting data from API that is running on Windows Credentials.
Everything is fine in Power BI Desktop, establishing connection with API using Windows credential, showing data and refreshing report. However, If I upload PBI report on On-Premises Report Server, Authentication Type of PBI Report data source changed to "Anonymous".
If I try to change Authentication type to Windows again it gives error
"Couldn't connect
The report server couldn't connect to the data source using the information you entered. Make sure you've entered the connection string and any credentials correctly.
Hide error details
Unable to connect to the remote server"
I not am sure why authentication type changed from "Windows" to "Anonymous" after uploading and doesn't allow to change after that.
Main objective is to configure "Scheduled Refresh" to refresh data.
Please advise solution or suggest any alternative to "Scheduled Refresh" when Datasource is Web, Report is deployed on Power BI Server[On-Premises] and user is authenticated by Windows Credential.
Hi @registerme78 ,
I don't know If this a good solution for you. But I guess I would load the data from the Web-source into a staging layer and use Power BI on this layer...
Power BI on premises is sadly not like the cloud with regards to the supported features ...
Best,
Kathrin
If this post has helped you, please give it a thumbs up!
Did I answer your question? Mark my post as a solution!
Thanks for your reply.
Sql Agent Service was stopped, therefore scheduled refresh plan was not creating.
Now, Scheduled Plan has created but getting new error:
"An error has occurred.
Data source error: Login failed for data source ‘http://ApiServer.com/api/user/getusers’.
Hide error details
SessionID: ddssf0fb-3423-XXXX-XXX-XXX5d6771XX
[0] -1055784932: The credentials provided for the Web source are invalid. (Source at http://ApiServer.com/api/user/getusers.). The exception was raised by the IDbCommand interface."
Below are requests detail that is coming on API SERVER:
From PowerBI Desktop:
2020-07-21 08:52:29 [API SERVER IP] GET /api/user/getusers - 80 Domain\UserName [User IP] Microsoft.Data.Mashup+(https://go.microsoft.com/fwlink/?LinkID=304225) - 200 0 0 46
From Scheduled Refresh[BI report Server]:
2020-07-21 09:14:43 [API SERVER IP] GET /api/user/getusers - 80 [Missing domain\user] - [API SERVER IP] Microsoft.Data.Mashup+(https://go.microsoft.com/fwlink/?LinkID=304225) - 401 1 3221225581 0
As can be seen above, Domain\User is missing in request that is coming from BI report server while scheduled refreshing.
Is there any alternative to Scheduled refresh in said scenario?
Morning @registerme78 ,
I guess this is not supported on the Power BI Report Server. I try it by myself it dosn't work :(.
Best,
Kathrin
If this post has helped you, please give it a thumbs up!
Did I answer your question? Mark my post as a solution!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |