Last updated: December 3, 2026
By ZapAI Team
The on-premises data gateway is the quiet piece of Power BI that nobody thinks about until a Monday morning refresh fails. It sits on a Windows server inside your network, carries queries from Power BI and Microsoft Fabric to SQL Server, file shares and SAP, and sends results back. Healthy, it’s invisible. Unhealthy, every report on on-premises data goes stale at once. On our Power BI projects, it’s one of the first things we review, because it’s so often a single box nobody owns. This guide covers modes, the VNet alternative, requirements, clusters, permissions, SSO, updates, monitoring and Fabric, with every product fact checked against Microsoft Learn on December 3, 2026.
The on-premises data gateway is a free Windows service that lets Power BI and Microsoft Fabric reach data inside your network without opening inbound ports. Use standard mode on always-on servers, cluster two or more members for high availability, store the recovery key safely, and update monthly to stay within Microsoft’s six-release support window.
That’s the short version. The longer one has a few traps in it.
What Does the On-Premises Data Gateway Do for Power BI and Fabric?
It’s a bridge. Microsoft’s gateway overview describes a locally installed Windows client that connects on-premises data sources to Microsoft cloud services. It only opens outbound connections. The cloud never dials in; it answers over connections the gateway already opened.
One standard gateway serves several services at once: Azure Analysis Services, Azure Data Factory, Azure Logic Apps, Microsoft Fabric, Power Apps, Power Automate and Power BI. So the box that refreshes your finance semantic model might also carry a Power Automate flow and a Fabric pipeline. Worth knowing before you reboot it at 10 a.m.
A few limits from the same page matter in practice:
- Power BI DirectQuery through the gateway has a 16-MB uncompressed data response limit.
- Each gateway cluster tops out at 1,000 data sources.
- Credentials are cached on the gateway, so after a password change a DirectQuery connection may keep using the old one for about 5 hours.
Do cloud sources need it? Usually not. Microsoft’s gateway FAQ says services can generally reach sources like Azure SQL Database directly, unless they sit behind a firewall, a VPN or a virtual network.
Standard Mode or Personal Mode: Which Gateway Do You Need?
Standard mode, almost always. Personal mode works only with Power BI, only for Import models, and only for the person who installed it. Standard mode supports shared connections, DirectQuery, live connections, clusters and every service above. Microsoft’s install guide says it recommends standard mode.
Here’s how Microsoft’s personal mode page compares them.
| Capability | Standard mode | Personal mode |
|---|---|---|
| Cloud services | Power BI, Power Apps, Power Automate, Azure Logic Apps, Azure Analysis Services, Power BI dataflows (legacy) | Power BI only |
| Import and scheduled refresh | Yes | Yes |
| DirectQuery and live connection to Analysis Services | Yes | No |
| Centralized gateway and data source management | Yes | No |
| Clustering and high availability | Yes | No |
| Runs as a Windows service | Yes | No, interactive app only |
Each Power BI user can run only one personal gateway, and installing it on a second computer replaces the first. The Power BI data source page also notes the personal gateway doesn’t support MySQL.
A single analyst refreshing two models from their desk? Fine. Anything a team depends on? No. We’ve seen plenty of executive dashboards stop refreshing because someone’s laptop went home for the weekend.
When Is a VNet Data Gateway the Better Choice?
When your data lives in Azure behind private endpoints, or you’d rather not run gateway servers at all. A virtual network data gateway is a Microsoft-managed service injected into your Azure virtual network. No machine to patch. It does need a Premium or Fabric capacity, and it bills while it runs.
Microsoft’s VNet data gateway overview lists Fabric Dataflow Gen2, pipelines, Copy Job, Mirroring, Power BI semantic models and paginated reports as supported. Power BI dataflows and datamarts aren’t. The capacity rules, as Microsoft states them:
- Available for P, F and A4 or higher SKUs
- For F SKUs, F8 and above recommended, though all F SKUs work
- Only the admin role exists, with none of the connection creator roles
- The virtual network’s region, subscription and resource group can’t change afterwards
Pro and Premium Per User aren’t on that list. A workspace running on Pro alone can’t use it.
The cost model is simple and easy to underestimate. Per Microsoft’s VNet gateway capacity consumption page, each member consumes a fixed 4 CUs while it’s up, billed per minute with no rounding up, and runs six queries concurrently. A time-to-live setting controls idle cost. Those CUs come out of the same capacity your reports use, so read our Fabric capacity throttling guide before adding members.
Capacity itself is shifting too. Microsoft’s P SKU migration overview, updated November 23, 2026, says each P SKU subscription ends with its current term, new P SKUs aren’t sold, and Pro and PPU aren’t affected. It lists gateways among the things to validate after moving workspaces to F SKUs. Our Fabric vs Power BI Premium comparison covers the licensing side.
Our take? VNet gateways are excellent for Azure-hosted sources. For a SQL Server in a server room in Irving, the on-premises gateway is still the tool.

What Are the Hardware, OS and Network Requirements?
Microsoft’s minimum is .NET Framework 4.8, Windows 10, Windows 11 or Windows Server 2019, 2022 or 2025, and 4 GB of disk for performance logs. The recommended spec is an 8-core CPU, 8 GB of memory, 64-bit Windows Server and SSD storage for spooling.
The machine
The install requirements page has a considerations list where projects quietly go wrong.
- Not on a domain controller, Server Core or Windows containers
- Never a laptop, or anything that sleeps or disconnects.
- Wired beats wireless, and Microsoft warns virtualization can make performance inconsistent.
- For Windows authentication, the machine must be in the same Microsoft Entra environment as the data sources.
- One standard gateway per computer, plus at most one personal gateway beside it
Put it close to the data. The FAQ recommends installing near the source to cut latency.
The network
No inbound ports. Security teams like that part. Outbound is another story. Microsoft’s communication settings page, updated November 30, 2026, lists outbound TCP 80, 443, 1433, 5671, 5672 and 9350 through 9354, plus domains such as *.servicebus.windows.net and *.powerbi.com.
Proxy only allows 80 and 443? Turn on HTTPS mode in the gateway app. Then run the Network ports test under Diagnostics after every firewall change, knowing Microsoft warns firewalls sometimes let blocked traffic through intermittently. And skip Private Link with the on-premises gateway. The install page says it isn’t supported and points to the VNet gateway instead.
How Do You Install the Gateway, and Why Does the Recovery Key Matter?
Download the standard installer, sign in with a work account, choose Register a new gateway, give it a tenant-unique name and set a recovery key. That key is the only way to add cluster members, move the gateway to new hardware, restore it or take it over. Microsoft can’t retrieve it for you.
Read that again. Microsoft’s migrate, restore or take over page uses the same key for every recovery path. Lose the key, then lose the server, and you’re rebuilding from nothing.
We put the key in the company’s password vault on install day, with the gateway name and service account beside it. Boring. Saves a week.
Recovery facts worth knowing before you need them:
- Restoring on the original machine means uninstalling the gateway there first.
- A gateway cluster deleted in any cloud service can’t be restored.
- The FAQ puts a typical migration at 10 to 15 minutes, with refresh failures likely in that window.
- Zero-downtime migration needs a cluster: disable the member, migrate it, re-enable it.
Who can install gateways? By default, anyone. Microsoft’s security roles page shows how a Power Platform admin can restrict installs at tenant level, with named exceptions. We recommend it once you’re past a handful of report authors. Rogue personal gateways are how stale shadow reports are born.
How Do Gateway Clusters Handle High Availability and Load Balancing?
A cluster is two or more gateway installs on separate machines, joined with the primary gateway’s recovery key. Requests go to the primary unless it’s down. Turn on load balancing, and requests spread across all active members. Microsoft allows up to 10 members per cluster.
Microsoft’s clusters and load balancing page explains the mechanics. With Distribute requests across all active gateways in this cluster on, member selection is random. You can also set per-member CPU and memory thresholds in the gateway config file; both are off by default. If every member is over its limit, the request fails.
Three rules decide whether a cluster helps or hurts:
- Keep every member on the same version. Mixed versions can cause unexpected failures.
- Disable or remove offline members, or queries may try them first and slow down.
- For Dataflow Gen2, the primary must be up to create or edit connections.
The troubleshooting guide adds a ceiling: the gateway has a concurrency limit of 30, and Microsoft’s fix for too many concurrent refreshes is more members or a second cluster.
Is two members enough? For most mid-sized teams, yes. Two members on separate hosts covers patch nights and a dead disk. Add a third when month-end refreshes collide.
Who Can Manage Gateways and Connections?
Two layers of permissions. Gateway roles control who manages the gateway and creates connections on it. Connection roles control who can use, reshare or edit each connection. Give people the narrowest one they need.
| Role | Applies to | What it allows |
|---|---|---|
| Admin | Gateway | Manage and update the gateway, create connections, manage all users and connections on it |
| Connection creator | Gateway | Create connections and test cluster status, nothing more |
| Connection creator with sharing | Gateway | Create connections and share the gateway with others as connection creators |
| Owner | Connection | Update credentials, delete the connection, add owners and users |
| User | Connection | Use the connection in Power BI reports and dataflows without seeing credentials |
| User with sharing | Connection | Use the connection and share it onward as User |
Gateway admins don’t need local admin rights on the server, and security groups can be admins. Use groups. People change jobs.
Microsoft’s Power BI guidance is blunt about the risk: anyone with access to a connection can bind a semantic model to it and query with its stored credentials. So share connections, not the gateway, and back each one with a service account that reads only what it needs. That account is where your Power BI row-level security design really starts. A connection running as db_owner makes every model on it that powerful.
One quirk. Users see only connections they belong to on the Connections tab, even tenant admins. Missing connection? Check membership first. Our Microsoft Fabric governance guide covers the wider tenant settings.

How Does Single Sign-On Work Through the Gateway?
SSO lets Power BI query the source as the person viewing the report, so the database’s own permissions decide what they see. The gateway supports Kerberos constrained delegation and SAML for Active Directory sources, plus Microsoft Entra ID SSO for sources that use Entra authentication.
Microsoft’s SSO overview spells out the split. AD-based SSO works with DirectQuery and refresh; Entra SSO supports DirectQuery only. SSO applies to semantic models, not Power BI dataflows. For refresh, queries run as the semantic model owner, and that works only with Kerberos constrained delegation.
Kerberos constrained delegation
The classic route for SQL Server, SAP HANA, SAP BW, Oracle and Teradata. Per Microsoft’s Kerberos SSO guide, you typically:
- Run the gateway service as a domain account with an SPN, unless Microsoft Entra Connect syncs your users
- Configure constrained delegation, or resource-based delegation across domains, to the data source’s SPN
- Enable AES encryption on the gateway and data source service accounts
- Grant the gateway account two local policy rights on the gateway machine
- Map users if cloud and on-premises UPNs don’t match
It needs a domain admin, and DNS aliases aren’t supported. Plan a half day with your AD team. Kerberos is fussy, and it fails quietly.
Microsoft Entra ID SSO
Lighter to set up. Microsoft’s Entra SSO page, dated August 11, 2026, says the flow is token-based and doesn’t need Kerberos delegation or domain-joined gateway machines for supported connectors. It’s off by default, and only a Fabric administrator can enable the tenant setting.
Microsoft also warns that an admin of the gateway machine could access user tokens passing through it. So guard who’s a local admin on that server. Check the supported source list on Microsoft Learn before designing around it, because it differs slightly between pages.
How Often Should You Update the Gateway?
Monthly, or close to it. Microsoft releases an update every month and actively supports only the last six releases. Fabric users get a firmer nudge to stay on the latest version.
The supported monthly updates page, updated November 25, 2026, lists November 2026 (3000.342) as newest, back to June 2026 (3000.322). Older is unsupported. Six months goes fast.
Microsoft’s update guide gives the cluster routine: disable one member, wait for work to drain (30 minutes suits most workloads), update it, re-enable it, repeat. You can also trigger updates from the portal or with the Update-DataGatewayClusterMember PowerShell command, once the gateway is on the November 2025 baseline or later with 10 GB of free disk.
There’s also a deadline already behind us. Microsoft’s sign-in changes page says identity platform enforcement completed across all tenants by August 31, 2026. Builds before May 2026, or unpatched January to April 2026 builds, may fail interactive sign-in when you install, recover, update or manage them. Normal refresh may keep working. So the failure shows up the day you’re recovering a dead server. Awful timing.
How Do You Monitor and Troubleshoot a Gateway?
Check gateway status in Manage connections and gateways, then the performance logs, then exported logs. For a failing source, test the same connection in Power BI Desktop on the gateway machine. If Desktop can’t refresh there, the gateway won’t either.
Microsoft’s performance monitoring page labels gateway performance monitoring as public preview, on by default for standard mode. It writes four log reports and offers a Power BI template to read them. Publish that, and you’ve got a gateway dashboard on a schedule. Microsoft notes premium capacity queries are sometimes missed and paginated report queries aren’t logged.
The usual suspects:
- Gateway offline or unreachable: check required domains and ports, proxy settings and HTTPS mode.
- A combine-data privacy error in the service while Desktop works, caused by privacy levels set to ignore in Desktop
- A model that won’t bind, because server and database names must match exactly between Desktop and the connection.
- Too many concurrent refreshes means you’ve hit the limit of 30.
Diagnostics in the gateway app has Export logs and Additional logging; switch the second off afterwards, since Microsoft says it grows logs significantly. Slow refreshes that aren’t the gateway’s fault are often a query folding problem, which our Power BI incremental refresh guide covers.
What Changes When the Gateway Serves Fabric Dataflow Gen2 and Pipelines?
More traffic, more endpoints, more memory. Fabric pipelines need gateway version 3000.214.2 or later and outbound access to *.frontend.clouddatahub.net. Dataflow Gen2 may need TCP 1433 to Fabric staging endpoints. And a query mixing on-premises and cloud sources runs entirely on the gateway.
That last point catches people. Microsoft’s communication settings page says such a query executes on the gateway, so the gateway needs line of sight to OneLake and every cloud source in it. Microsoft’s Fabric on-premises data guide covers Dataflow Gen2, pipelines and Copy job through the same gateway and the same connections screen.
Port 1433 is the classic Dataflow Gen2 failure. Microsoft’s Dataflow Gen2 gateway considerations, dated September 17, 2026, explain that lakehouse writes use HTTPS on 443, but reading staged data goes through the SQL analytics endpoint over TDS on 1433. The write succeeds. The read fails. Open 1433 to both *.datawarehouse.fabric.microsoft.com and the older *.datawarehouse.pbidedicated.windows.net during Microsoft’s transition, or redesign so nothing reads from staging. Plenty of proxies can’t handle TDS at all.
Pipelines eat memory. The troubleshooting guide says each pipeline task gets 1,000 MB by default and tasks queue when memory runs out. An 8-GB box running Power BI refreshes and Fabric copies at the same hour will queue. Picking the right tool first helps, and our Dataflow Gen2 vs pipeline vs notebook comparison walks through it.
How Should You Design a Gateway Setup for Your Organization?
Match the setup to the blast radius. A gateway feeding one team’s report is a small thing. One feeding finance close, Fabric ingestion and a dozen flows is infrastructure, and deserves the care of a database server.
How we size gateway setups (ZapAI practice, not Microsoft guidance)
This is our working rule of thumb, built on Microsoft’s documented requirements. Adjust it to your own risk appetite and data volumes.
| Scenario | Gateway setup we use | Ownership and access | Monitoring |
|---|---|---|---|
| Single analyst, a few Import models | Standard mode on one always-on server, personal mode only as a stopgap | Two admins via a security group, recovery key in the vault | Refresh failure emails plus a weekly status check |
| Department BI with shared models | Two-member cluster on separate hosts, load balancing on | Connection creators per team, read-only service accounts | Performance log template published to the service |
| Enterprise BI plus Fabric ingestion | Separate clusters for Power BI and Fabric, sized for pipeline memory | Installs restricted at tenant level, SSO where row-level access matters | Performance logs, CPU and memory thresholds, monthly update window |
| Azure sources behind private endpoints | VNet data gateway on a Fabric capacity, time to live tuned | Admin role only, tightly held | Capacity Metrics app for gateway CU uptime |
Splitting Power BI and Fabric onto separate clusters is our preference, not a Microsoft rule. It stops a big copy job from queueing the CFO’s report. If you’re landing data in OneLake anyway, our lakehouse vs warehouse guide helps choose where, and our Fabric data engineering team builds those ingestion paths.
What’s Changed for the On-Premises Data Gateway in 2026?
No single headline. Here’s what Microsoft Learn shows as of December 3, 2026:
- Identity sign-in changes reached all tenants by August 31, 2026, so older gateway builds may fail interactive sign-in.
- Gateways can be updated from the portal or PowerShell once they’re on the November 2025 baseline or later.
- P SKU retirement is moving workspaces to F SKUs, and Microsoft lists gateway validation as part of that move.
- Dataflow Gen2 is moving its staging endpoint to *.datawarehouse.fabric.microsoft.com, so keep both endpoints open for now.
The sign-in change is the one to act on. A gateway that refreshes but can’t sign in is a gateway you can’t recover.
Common Mistakes With the Power BI On-Premises Data Gateway
Most come from treating the gateway like a utility someone else owns.
- Installing on a laptop, a desk PC or a domain controller
- A recovery key that lives only in the installer’s head
- One member, no cluster, and server patching on the same night as month-end refresh
- Cluster members on different versions, or an offline member left enabled
- Drifting outside the six-release window, then hitting the sign-in change mid-recovery
- Sharing the gateway with everyone instead of sharing individual connections
- Connections running as overprivileged accounts, quietly bypassing source security
- Firewall rules that open 443 but not 1433, so Dataflow Gen2 staging reads fail
- Heavy Fabric pipelines and Power BI refreshes on the same small box at the same hour

On-Premises Data Gateway Checklist
Run it at setup and again each quarter. It’s ours, built from Microsoft’s documentation and our own projects.
- Standard mode on an always-on, wired Windows Server machine at the recommended spec
- At least two cluster members on separate hosts, same version
- Recovery key, gateway name and service account stored in the company vault
- Gateway admins assigned through a security group with at least two people
- Gateway installs restricted at tenant level
- Connections shared per data source, backed by least-privilege service accounts
- Network ports test passing, HTTPS mode set if the proxy allows only 80 and 443
- Fabric endpoints open where needed, including 1433 for Dataflow Gen2 staging
- Kerberos or Entra SSO wherever users must see only their own data
- Monthly update window on the calendar, members updated one at a time
- Performance log template published and spooler disk space watched
Short on time? Do three things this week: vault the recovery key, add a second member, and confirm you’re on a May 2026 or later release. The same restrict-and-review habits apply to flows and apps using the gateway, as our Power Platform governance guide explains.
Wrapping Up
The on-premises data gateway is small software with a big blast radius. Run standard mode on proper servers, cluster it, guard the recovery key and stay within Microsoft’s six-release support window. Share connections rather than gateways, use SSO where data access must follow the user, and open the extra endpoints Fabric needs. For Azure-hosted sources, weigh the VNet data gateway and its 4 CUs per member against running servers yourself.
ZapAI is a Microsoft Dynamics 365, Power Platform, Fabric and AI consulting firm in Irving, Texas, working with businesses across Dallas-Fort Worth and nationwide. Our Power BI consultants help BI and IT teams design gateway clusters, set up SSO, clean up connection sprawl and keep on-premises data flowing into Power BI and Fabric, as part of wider Microsoft Fabric services work. Got refreshes that fail on Monday mornings, or a gateway nobody quite owns? Book a data gateway review, and we’ll walk through your gateways, connections and update plan with you.
Questions BI Teams Ask About the On-Premises Data Gateway
Do we need a special license to install the gateway?
No. Microsoft’s gateway FAQ says there are no licensing restrictions for installing and registering a gateway. The content using it still follows normal Power BI and Fabric licensing, and the VNet data gateway needs a P, F or A4-or-higher capacity.
Can one gateway serve Power BI, Fabric and Power Automate at the same time?
A standard mode gateway can, along with Power Apps, Logic Apps, Azure Analysis Services and Azure Data Factory. Personal mode is Power BI only. Sharing one gateway means sharing its CPU, memory and 30-refresh concurrency limit, so a busy flow can slow a refresh.
What happens if we lose the recovery key?
Bad news, honestly. Microsoft can’t retrieve it, and you need it to add cluster members, migrate, restore or take over the gateway. Refreshes continue while the existing machine runs. Once it dies, expect a new gateway and recreated connections. Vault the key today.
How many machines can a gateway cluster have?
Up to 10 members. Two on separate hosts covers most teams.
Is the VNet data gateway cheaper than running our own servers?
Depends on uptime. Each member consumes 4 CUs from your capacity while running, billed per minute, and time to live shuts it down when idle. You skip hardware and patching. But those CUs compete with your reports, and it only reaches Azure-reachable sources and the item types Microsoft lists.
Why does refresh work in Power BI Desktop but fail in the service?
Two common culprits: privacy levels set to ignore in Desktop, which the service won’t honor, or a server or database name that doesn’t match the gateway connection exactly. Run the same refresh in Desktop on the gateway machine to narrow it down.
Do we really have to update every month?
Not to the day. Microsoft supports the last six monthly releases, so a gateway can lag a little and stay supported. Fabric users should stay current, though, and anything older than May 2026 risks failing sign-in exactly when you need to recover it. We book a monthly window and update one member at a time.
