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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

Unable to connect to Azure database from Power BI desktop: Named Pipes Provider error 40

I sucessfull connected to my company's azure database 2 days ago using Power BI. It is configured to allow remote connections and has no limit to the number of allowed connections, however since then I have been unable to connect again, I keep getting this error:

g30___0-1675960095486.png

I am still able to connect to this database through other software (QGIS), and the dashboard I previously published to Power BI service using the same database is still connected and up to date but I can't import new data from any different tables.

 

Things I have tried:

  1. Triple checking all the characters in the server name
  2. Going into data source settings, edit permissions, edit credentials, and making sure the credentials, and other settings are correct
  3. I have allowed port 1433 and power BI through windows firewall
  4. Using telnet command whihc resulted in: Connect failed

 

Any advice or suggestions would be appreciated, thank you.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

It's been a while, but as it turns out I was setting up the connection as an SQL database instead of a Postgresql database.

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

Good to know, how do you do that?

Syndicate_Admin
Administrator
Administrator

Hello I'm having the same issue, did you got any updates?

Anonymous
Not applicable

It's been a while, but as it turns out I was setting up the connection as an SQL database instead of a Postgresql database.

Anonymous
Not applicable

Unfortunately no, I'm still having the exact same issues.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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