How to Connect Power BI Desktop to a Shared Gateway Connection
Question details
The user needs guidance on configuring and troubleshooting the connection between Power BI Desktop and an on-premises SQL Server using a Shared Gateway.
- Product
- Microsoft Power BI
- Device & OS
- not provided
- Scenario
- Setting up data source connections and resolving configuration or permission issues when routing Power BI Desktop through a Gateway to an on-premises SQL database.
- Observed behavior
- Users require specific assistance with gateway settings, data source permissions, and Power BI service dependencies to establish a successful connection.
Ensure you have administrative access to both your Power BI Service workspace and the on-premises SQL Server, and verify that the Power BI Gateway service is currently running on your network.
Seek Dedicated Support on Microsoft Q&A
Because Power BI Gateway configurations involve complex network, server, and permission settings specific to the Microsoft ecosystem, posting your issue on the official Microsoft Q&A forum is the most effective way to get expert assistance.
Connecting to on-premises SQL Server data sources through a Power BI Gateway depends heavily on exact gateway configurations, proper data source settings, network security rules, and specific Power BI service setups. When connections fail, diagnosing the root cause requires detailed environment information.
Note down your specific gateway type (Standard/Shared or Personal), the current connection configuration settings in Power BI Desktop, and the account permissions assigned to your user profile.
Copy any error codes or warning messages you receive when attempting to refresh data or establish the connection to the SQL Server.
Navigate to the Microsoft Q&A platform and create a new post. Be sure to tag your question under 'Power BI', 'gateways', and 'on-premises SQL Server' to ensure it reaches the right specialists.
Looking for a Lightweight Data Analysis Tool? Try WPS Office
While advanced SQL Server integrations and Power BI Gateways require Microsoft's specialized tools, WPS Spreadsheet offers a powerful, lightweight, and completely free alternative for everyday data analysis, charting, and reporting. With its familiar interface and seamless format compatibility, you can manage and visualize your data without complex server configurations.
- 1. Download and Install: Download WPS Office for free from the official website and install it on your device.
- 2. Open WPS Spreadsheet: Launch WPS Office and open the Spreadsheet module to start your data analysis.
- 3. Import Your Data: Go to the 'Data' tab and use the import tools to easily load your local datasets, CSV files, or standard database exports.

Frequently Asked Questions
What is the purpose of a Power BI Shared Gateway?
A Shared (Standard) Power BI Gateway acts as a secure bridge that allows multiple users to connect to various on-premises data sources, like a local SQL Server, directly from the cloud-based Power BI service.
Why is my Power BI Desktop failing to connect to the SQL Server?
Connection failures typically occur due to incorrect data source credentials, insufficient user permissions, network firewalls blocking the gateway traffic, or the local gateway service being offline.
Do I always need a gateway to use Power BI?
No, a gateway is only required when you need to refresh or query data that is stored on-premises (on local servers) behind a firewall. Cloud-based data sources can usually be accessed directly without a gateway.
What is the difference between a Standard and Personal gateway?
A Standard gateway can be shared among multiple users and supports connections to multiple on-premises data sources. A Personal gateway is designed for a single user, runs on their personal machine, and cannot be shared with others.




