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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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