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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
EMauterer
Frequent Visitor

Error when trying to create a scheduled refresh

Receiving the following error:

 

Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.

 

I'm referencing a SQL database that I'm connecting to in the Power BI Desktop.  I only get the credentials error when I try to create the scheduled refresh. 

 

Any ideas?

1 ACCEPTED SOLUTION

Hi @EMauterer

 

Ok that makes sense, int aht you are using the Personal Gateway.


If you have multiple users as you are suggesting then I would install and configure the On-Premise Gateway, much easier and more robust.

 

Here are more details: https://powerbi.microsoft.com/en-us/documentation/powerbi-gateway-onprem/





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

Proud to be a Super User!







Power BI Blog

View solution in original post

5 REPLIES 5
GilbertQ
Super User
Super User

Hi @EMauterer

 

Can you go into the settings in Power BI Desktop, then click on Datasets, and go to your dataset that has got the SQL Server Source. And then you should see the section called Data Source credentials

Power BI - DELETE 1.png

And under there you should have the options to add them in.

 

Also as a side note when you create the SQL Server Data Source, there should be an option to put in a Windows username and password that has got the required access to the database?





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

Proud to be a Super User!







Power BI Blog

My credentials are not being accepted.  I'm able to login just fine in Power BI desktop.  ??

Hi @EMauterer

 

Can I ask where you are adding your credentials in the Power BI Service?


Is it in the Gateway section, or under the Dataset section?





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

Proud to be a Super User!







Power BI Blog

In the dataset section.

 

If you have multiple Power BI report writers at a company, do you need a Gateway per user or one for the entire company?

Hi @EMauterer

 

Ok that makes sense, int aht you are using the Personal Gateway.


If you have multiple users as you are suggesting then I would install and configure the On-Premise Gateway, much easier and more robust.

 

Here are more details: https://powerbi.microsoft.com/en-us/documentation/powerbi-gateway-onprem/





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

Proud to be a Super User!







Power BI Blog

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.