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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.