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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Gracie
Helper II
Helper II

Invalid data source credentials for schedule refresh

I published my report to Power BI and then I want to schedule refresh. But it says that my data source credentials are not valid. Pleaser refer to below img. My data source is sql server database and csv and excel file. I didn't change the credentials.  Can somebody help me to solve this problem? Thanks.

 

Capture.JPG

2 ACCEPTED SOLUTIONS
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Gracie,

 

In addition, if you are using the personal gateway to refresh data, you will also need to supply the credentials used to connect to the back end data source on Power BI service. You’re only required to sign in to data sources the first time you use refresh on that dataset. Once entered, those credentials are retained with the dataset. For more details, you can refer to this article. Smiley Happy

 

So could you try clicking "Edit credentials", then enter the same credentials you used for each source on Power BI Desktop to see if the refresh works? Smiley Happy

 

Regards

View solution in original post

Hi @Gracie,



I have installed personal gateway. I read the article, it says the gateway should be installed on the "always-on" computer.  Does it mean if the scheduled refresh happens when the computer is asleep, the refresh will fail ?


The scheduled refresh cannot occur if it’s asleep, and the refresh will not be attempted again until the next scheduled refresh time. Smiley Happy

 

Regards

View solution in original post

4 REPLIES 4
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Gracie,

 

In addition, if you are using the personal gateway to refresh data, you will also need to supply the credentials used to connect to the back end data source on Power BI service. You’re only required to sign in to data sources the first time you use refresh on that dataset. Once entered, those credentials are retained with the dataset. For more details, you can refer to this article. Smiley Happy

 

So could you try clicking "Edit credentials", then enter the same credentials you used for each source on Power BI Desktop to see if the refresh works? Smiley Happy

 

Regards

I have installed personal gateway. I read the article, it says the gateway should be installed on the "always-on" computer.  Does it mean if the scheduled refresh happens when the computer is asleep, the refresh will fail ?

 

 

Hi @Gracie,



I have installed personal gateway. I read the article, it says the gateway should be installed on the "always-on" computer.  Does it mean if the scheduled refresh happens when the computer is asleep, the refresh will fail ?


The scheduled refresh cannot occur if it’s asleep, and the refresh will not be attempted again until the next scheduled refresh time. Smiley Happy

 

Regards

GilbertQ
Super User
Super User

Hi there do you have the Power BI Gateway installed?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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