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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

refresh issue sql serv - Your dataset can't be refreshed because the credentials are invalid

Hi,

 

I'm pretty new in Power BI so my apologies if my question is stupid but I don't find the issue.

I have uploaded my pbix file and created succesfully a gateway to my on premise data server (sql server).

  • data gateway succesful & data source succesfully connected using basic connection (sql server)
  • pbix file with dataset => scheduled refresh failing:
    • "Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again"
    •  Server name & database name are the same for both gateway & dataset (servername is like "server.company.group")
    • I have tried the same credentials as for the data gateway but without success. The pbix file has been created using a different user (windows user) as for the gateway (sql server user) (and it's datasource), can that be the problem ??

Thank you in advance

1 REPLY 1
lbendlin
Super User
Super User

@Anonymous yes, both the connection type and the authentication method must match between dataset's data source and gateway's connection definition.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.