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
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
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.

Top Solution Authors