Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I've this message when I'm trying to retrieve data from a dataflow Gen2 in Premium capacity with Power BI desktop.
Details: "Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
I've enabled the staging in my dataflow...I used the right dataflow connector in Power BI desktop...
I'have the same error when I try to connect Power BI desktop to the SQL EndPoint of a Fabric Warehouse...
Need help!
Solved! Go to Solution.
Hi everyone!
It’s definitely a firewall configuration issue on my company’s network. For your information, it works perfectly from home.
PBI Desktop directly queries the SQLAnalytics endpoint (Azure SQL Server TDS endpoint), by default through port 1433. Our corporate network policies block this traffic. Therefore, we need to consider a workaround if we want to roll out Fabric to other users, as the same applies to SQL connections to both Fabric Warehouse and Lakehouse.
We found this documentation here => https://learn.microsoft.com/en-us/fabric/database/sql/connect
Regards,
XCT
Hi everyone!
It’s definitely a firewall configuration issue on my company’s network. For your information, it works perfectly from home.
PBI Desktop directly queries the SQLAnalytics endpoint (Azure SQL Server TDS endpoint), by default through port 1433. Our corporate network policies block this traffic. Therefore, we need to consider a workaround if we want to roll out Fabric to other users, as the same applies to SQL connections to both Fabric Warehouse and Lakehouse.
We found this documentation here => https://learn.microsoft.com/en-us/fabric/database/sql/connect
Regards,
XCT
@XCT ,
Thank you for reaching out to the Microsoft Fabric community forum.
@Shahid12523 , @MohamedFowzan1 Thank you both for your prompt responses.
@XCT In addition to the inputs shared by @Shahid12523 and @MohamedFowzan1 , I’ve also added the previously resolved threads here. They may help you better understand the issue and work toward a resolution.
Solved: Power bi connect to dataflow gen2 - Microsoft Fabric Community
Solved: PBI Desktop - Unable to connect to Dataflow Gen2, ... - Microsoft Fabric Community
Solved: Power bi connect to dataflow gen2 - Microsoft Fabric Community
We appreciate your engagement and thank you for being an active part of the community.
Best regards,
Lakshmi.
Use TCP/IP, not Named Pipes — add tcp: before the SQL endpoint.
Check network access — firewall, VPN, or proxy might be blocking it.
Verify endpoint URL — make sure it's correct and reachable.
Use the right connector — Dataflow Gen2 needs the Dataflow connector, not SQL Server.
Ensure staging is enabled and run — data must be staged before querying.
Hi @XCT
Looks like you would just have to go through all the setup and this doesnot seem to be an actual limitation or blocker:
Verify Endpoint Details
Ensure you are using the exact SQL endpoint URL or instance name provided for your Dataflow Gen2 or Fabric Warehouse.
Check Network Connectivity
Try to ping the endpoint or test connection from your machine. If you cannot reach it, network/firewall rules are likely blocking access.
Review SQL Server Configuration
Make sure that remote connections are enabled and that the needed protocols (TCP/IP, Named Pipes) are active.
Check Firewall Settings
On the server/network, make sure the ports used for SQL Server (typically 1433) are not blocked.
Update Power BI Desktop
Ensure you’re running the latest version of Power BI Desktop and that your connectors are up to date.
Validate Staging and Premium Capacity
Confirm that staging is properly enabled and that your Power BI workspace has the necessary Premium capacity.
Test from Another Network or Machine
Sometimes local network issues cause problems. If possible, test from another machine or network.
Ensure you’re connecting to the SQL endpoint specified for the Fabric Warehouse and that the warehouse is online and accessible in the Power BI service.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.