To install the on-premises data gateway for Fabric, you need a supported Windows machine (not a domain controller), .NET Framework 4.7.2 or later, a 64-bit processor, at least 8 GB RAM, and outbound access to the Microsoft endpoints listed below. You also need a Fabric or Power BI account with gateway admin rights. The gateway itself is free; the requirements are mostly about the host machine and network access.
What You'll Need
- A 64-bit Windows machine (Windows 10/11 or Windows Server 2016 or later) that stays powered on. Do not use a domain controller.
- .NET Framework 4.7.2 or later (the installer will prompt if missing).
- At least 8 GB RAM and a modern 64-bit CPU (2 cores minimum).
- Outbound HTTPS (443) access to Microsoft endpoints: *.powerbi.com, *.analysis.windows.net, *.servicebus.windows.net, and login.microsoftonline.com. For Fabric items, also allow *.fabric.microsoft.com.
- A Fabric or Power BI account with admin rights to register the gateway.
- An account with read access to the on-premises data source (SQL Server, file share, etc.).
- Local administrator rights on the host machine to run the installer.
Step-by-Step
- Check the host machine. Confirm it is a 64-bit Windows machine that is not a domain controller. The gateway should run on a machine that stays on; a laptop that sleeps will cause refresh failures. Note that menu labels in the gateway app can differ slightly by version, device, or region.
- Install .NET Framework 4.7.2 or later. If you are unsure, run Windows Update or download the offline installer from Microsoft. The gateway installer will also check and prompt if it is missing.
- Download the gateway installer. Sign in to Fabric or Power BI, go to the download gateway page, and choose the standard gateway (not personal mode). Run the .msi as administrator.
- Choose the gateway mode. Select On-premises data gateway (recommended) for most Fabric scenarios. Personal mode is only for single-user Power BI refresh and is not supported for Fabric data pipelines or mirrored databases.
- Sign in with your Fabric account. Use an account that has permission to register gateways. If your organization uses conditional access, make sure the sign-in completes without a block.
- Name the gateway and set a recovery key. The recovery key is required to restore or move the gateway later. Store it in a safe place; without it, you cannot recover the gateway configuration.
- Add a data source. In the gateway app, go to the Data Sources tab, click Add data source, and choose your source type (for example, SQL Server). Enter the server, database, and credentials. Use an account with read access; for SQL Server, Windows authentication or SQL authentication both work if the account has rights.
- Test the connection. Click Test connection before saving. If it fails, check the server name, credentials, and whether the host machine can reach the data source on the required port (1433 for SQL Server by default).
- Register the gateway in Fabric. In the Fabric or Power BI service, go to Settings > Manage connections and gateways (labels vary by version). Confirm the gateway appears under On-premises gateways. If it does not, sign out and back in, and check that the account is a gateway admin.
- Grant users access. In the gateway settings, add users or groups who need to use the gateway. By default, only the installer and gateway admins can use it.
- Set up high availability (optional but recommended). Install the gateway on a second machine, sign in with the same account, and choose Add to an existing gateway cluster during setup. This prevents a single machine failure from stopping refreshes.
- Verify with a test refresh. Create a connection or dataset that uses the gateway and run a refresh. Check the gateway app's Diagnostics tab and the Fabric refresh history for errors.
Common Mistakes
- Installing on a domain controller. The gateway installer blocks this; use a member server or workstation instead.
- Using personal mode for Fabric. Personal mode does not support Fabric pipelines, mirrored databases, or multiple users.
- Forgetting the recovery key. Without it, you cannot restore the gateway after a machine failure.
- Leaving the host machine to sleep. Set the power plan to never sleep, or use a server that stays on.
- Blocking outbound ports. The gateway needs outbound 443 to Microsoft endpoints; inbound ports are not required.
- Using an account without data source rights. Test the connection with the exact credentials you will save.
Tips
- Use a dedicated service account for the gateway service, not a personal account that may expire or change password.
- Install on a machine with a static IP or reserved DHCP address so the gateway stays reachable.
- Keep the gateway updated. The app shows available updates; apply them during a maintenance window.
- Monitor the gateway health in Fabric under Manage connections and gateways; set alerts for refresh failures.
- For large data volumes, place the gateway close to the data source on the network to reduce latency.
Troubleshooting
If the gateway does not appear in Fabric, first sign out and back in, then check that you are a gateway admin. If the connection test fails, verify the server name, port, and credentials, and confirm the host machine can reach the data source (use Test-NetConnection in PowerShell). If refreshes fail with a gateway error, check the gateway app's Diagnostics tab and the Fabric refresh history for the specific message. If the gateway service will not start, open Windows Services and confirm the On-premises data gateway service is running; restart it. If you see TLS or proxy errors, confirm outbound 443 is open and that any proxy allows the Microsoft endpoints. As a last resort, uninstall and reinstall the gateway, but note that uninstalling removes the local configuration; you will need the recovery key to restore it.
Frequently Asked Questions
Can I install the gateway on a laptop?
It works for testing, but laptops sleep and change networks, which causes refresh failures. Use a always-on machine for production.
Does the gateway need inbound ports open?
No. The gateway uses outbound connections to Microsoft; no inbound firewall rules are required.
Can I use the same gateway for Power BI and Fabric?
Yes. The on-premises data gateway is shared across Power BI, Fabric, Power Apps, and Power Automate.
What happens if I lose the recovery key?
You cannot restore the gateway configuration. You would need to reinstall and reconfigure the gateway and its data sources.
Is the gateway free?
Yes, the gateway software is free. You pay only for the Fabric or Power BI capacity that uses it.
Can I run the gateway on a virtual machine?
Yes, as long as the VM meets the same requirements and stays powered on. Avoid dynamic IP addresses.