On-Premises Data Gateway
Part of the Power BI Roadmap
In short
The Power BI Service lives in Microsoft's cloud, but many Indian companies still keep data on a SQL Server in their own server room. The gateway is the secure bridge that lets cloud refreshes reach that data.
A gateway is software installed on a machine inside a company network that lets the cloud Service refresh data from on-premises sources like a local SQL Server or file share.

Think of it like this
The society security guard
Delivery apps can't walk into a gated housing society. The guard at the gate takes the parcel and carries it inside. The gateway sits inside the company's network, picks up requests from the cloud and fetches data from local servers, without opening the gates to the whole internet.
Watch it happen
Refreshing from an on-premises SQL Server
Outbound connection
1/5The gateway makes an outbound connection to Azure. No inbound firewall ports are opened.
The big ideas
What you need to know
Standard mode
The standard (enterprise) gateway serves many users and models, and supports scheduled refresh and DirectQuery. Use this in companies.
Personal mode
Runs as one user, only for that person's Import refreshes. Fine for learning, not for team content.
Always-on machine
Install it on a server that stays on and is close to the data, never on a laptop that sleeps or leaves the office.
Cloud sources skip it
Sources already in the cloud, like SharePoint Online or Azure SQL Database, usually refresh without a gateway.
How it works
Getting a gateway working
- 1
Install
Download the on-premises data gateway on a server in the network, sign in with a work account and register it.
- 2
Save the recovery key
Store the recovery key safely. You need it to move or restore the gateway.
- 3
Add a connection
In Manage connections and gateways, add a connection for the server and database with its credentials.
- 4
Map the model
In the semantic model settings, map each on-premises source to that gateway connection.
- 5
Add a cluster member
For important reports, add a second gateway machine to the cluster for high availability.
Save yourself the pain
Common mistakes
Oops
Installing the gateway on your own laptop for team reports.
Do this instead
When your laptop sleeps, every refresh fails. Use an always-on server and a standard mode gateway.
Oops
Using a slightly different server name in Desktop and in the gateway connection.
Do this instead
Server and database names must match exactly, for example SRV-SQL01 and SalesDB, or the model can't be mapped.
Your mission
Map your data path
Quick check
Why does the gateway not require opening inbound firewall ports?
Go deeper
- 1Read Microsoft's overview of standard vs personal mode gateways.
- 2Learn which of your sources would need a gateway.
- 3Understand that IT teams usually manage gateways in companies.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.