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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.