Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Good day,
I receive the "Failed to update data source credentials" when trying to sign into my SQL Server database.
I have tested the credentials in PowerBI Desktop (and the refresh is working fine on desktop) and SSMS and I am able to access the database.
Because of this, I am not able to enable automatic refreshes which is essential for our Reports.
Any thoughts on how to get around solving this?
Solved! Go to Solution.
with a public IP you could avoid the gateway but the SQL Server instance port must be opened as well, maybe it's been closed.
please note having a SQL Server opened on the public internet is not a best practice.
Hi @Chibuye_6 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thanks!!
Is it on-prem or cloud database ?
Did you set up a gateway ?
If yes, is it a personnal or a standard gateway ?
No, I did not set up a gateway.
I used the SQL Server data source and just entered credentials.
Get Data > SQL Server.
Should I setup a gateway instead? Will this be a better solution for loading the data into PBI?
Hello,
You have to use a gateway to expose your on premise data on the cloud
If you want, you can install a local gateway on your local machine to performed some tests
But for organization, you have to deploy it on a dedicated machine
it's the only solution working.
Power BI service is a cloud application and has no clue about your private network (where your sql server resides).
if you're not the only person in your organization using power bi it's very likely you've already a standard OPDG setup. double check with your IT depo.
Hello @R1k91
We have a public IP set up with our ISP to expose the database. I am able to access it anywhere outside my private network and, it was working just fine until a few days ago.
I will setup the gateway anyway and try to connect like that.
Hi @Chibuye_6 ,
Here are some resources to get you started with On-Prem data gateway
What is an on-premises data gateway? | Microsoft Learn
How to download: Install an on-premises data gateway | Microsoft Learn
Configuration in Service: Add or remove a gateway data source - Power BI | Microsoft Learn
Tutorial to refresh data from an on-premises SQL Server database: Tutorial: Connect to on-premises data in SQL Server - Power BI | Microsoft Learn
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
with a public IP you could avoid the gateway but the SQL Server instance port must be opened as well, maybe it's been closed.
please note having a SQL Server opened on the public internet is not a best practice.
User | Count |
---|---|
47 | |
31 | |
27 | |
27 | |
26 |
User | Count |
---|---|
56 | |
55 | |
36 | |
33 | |
28 |