Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Medmbchr
Helper IV
Helper IV

Data Source in Power BI Report Server won't connect

Hi

 

I would like to use Scheduled Refresh for a PBI dashboard in Power BI Report Server. When I created my Scheduled Refresh and waited for it to be run, it didn't. I checked what's wrong and it seems that my Data Source connexion is invalid. I am using a localhost SQL Server hence I tried both normal authentication (with no login or password) and Windows Authentication but both give me an error message that my ID and pwd are wrong.

 

Any idea how to solve this issue? My connexion is perfectly working under SQL Server Management Studio, RS Configuration Manager and PBI, my SQL agent is also set.

 

Below is a screenshot of SSMS and Data source screen on PBIRS:

 

hh1.pnghh2.png

 

Regards,

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

You need to enter a password into the credential settings for the data source in order to run a scheduled refresh. This is because the server is normally running on a separate machine and it needs to be able to trigger the refresh when nobody is logged in to that machine. 

 

So the normal practice is to get IT to setup a "service account" with a non-expiring password which you can use for this purpose so that the scheduled refresh does not break when you change the password for your user account.

View solution in original post

1 REPLY 1
d_gosbell
Super User
Super User

You need to enter a password into the credential settings for the data source in order to run a scheduled refresh. This is because the server is normally running on a separate machine and it needs to be able to trigger the refresh when nobody is logged in to that machine. 

 

So the normal practice is to get IT to setup a "service account" with a non-expiring password which you can use for this purpose so that the scheduled refresh does not break when you change the password for your user account.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.