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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Neandril
Frequent Visitor

Cannot connect to SQL Server from gateway - Unknown error

Hello.

 

I have a dashboard built with PowerBI Desktop. This dashboard has 3 differents data sources (SQL Server, CSV and API). I have a PRO account.

Everything works fine, but when I want to connect it with my gateway after pubication, it raise me an error for SQL Server connection:

Neandril_0-1663858112909.png

Sorry, it's in french, but it says "Cannot update this datasource credentials. Unknown error"...

What I tried so far:

  • Fully reconfigure the gateway
  • Tryed to connect with different credentials
  • Updated datasources authentification methods (from desktop) and publish it again
  • Publish my dashboard on different workspace

Of course, my credentials works fine in my SQL Server

 

I run out of idea... and I really need to setup this in order to make scheduled refresh.

 

I have a subsidiary question: there is any good practice about credentials to use right here? It is better to use a service account or personal account for this kind of connection ?

 

Many thank's for your help.

 

1 ACCEPTED SOLUTION
v-yadongf-msft
Community Support
Community Support

Hi @Neandril ,

 

Please try to remove cookies and try again.

 

There is a user who encountered the same problem as you and solved it successfully, this post is for your reference:Solved: can't update Data Source Credentials - Microsoft Power BI Community

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

1 REPLY 1
v-yadongf-msft
Community Support
Community Support

Hi @Neandril ,

 

Please try to remove cookies and try again.

 

There is a user who encountered the same problem as you and solved it successfully, this post is for your reference:Solved: can't update Data Source Credentials - Microsoft Power BI Community

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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