By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
(For engineers, analysts, and PL-300 exam takers who need to make data refresh work—without the sales pitch.)
You’ve built a Power BI report pulling data from an on-prem SQL Server, Oracle DB, or a shared network folder. It works great on your machine. Then you publish it to the Power BI Service—and suddenly, no one can refresh the data. Why? Because Power BI in the cloud can’t magically reach into your corporate network.
This is where Data Gateways come in.- Personal Gateway: A lightweight, single-user bridge between Power BI and your local data sources. Think of it like a USB cable for your laptop—simple, but only works when your machine is on.- On-premises Gateway: A shared, enterprise-grade bridge that multiple users and reports can use. Like a corporate VPN—always on, scalable, and secure.
Why this matters in production:- Scheduled refresh fails silently if the gateway isn’t configured correctly. Your CEO opens a dashboard at 9 AM, and the data is from last week.- Security teams freak out if you expose internal databases to the internet. Gateways keep traffic encrypted and inside your network.- Cost and reliability: A misconfigured gateway can throttle refreshes, spike cloud costs, or crash during peak hours.
Real-world scenario:You’re a BI analyst at a manufacturing company. Your Power BI report pulls data from: - An on-prem SQL Server (inventory data) - A SharePoint Online list (sales targets) - An Excel file on a network drive (manual adjustments)
Your boss wants the report to refresh every 2 hours and be accessible to 50+ users. If you use a Personal Gateway, it’ll break when your laptop sleeps. If you don’t set up scheduled refresh correctly, the data will be stale. If you misconfigure authentication, users will see "Access Denied" errors.
This guide will show you how to deploy, secure, and automate this setup—without the fluff.
✅ A Power BI Pro or Premium license (scheduled refresh requires Pro or Premium capacity).✅ A Windows server (2016 or later) for the gateway (physical or VM). Not a laptop.✅ Admin rights on the server to install software.✅ Network access to the data sources (SQL Server, Oracle, etc.).✅ A Power BI account with admin rights to the workspace where the report is published.
Download the .msi file.
.msi
Run the installer on your server:
When prompted, sign in with your Power BI admin account.
Register the gateway:
Corp-Gateway-01
Click Configure.
Verify installation:
services.msc
SQL-Server-Inventory
SQL Server
sql-server.corp.local
InventoryDB
Windows
SQL Authentication
CORP\svc-powerbi
⚠️ Production trap: If you use SQL Authentication, the password is stored in the gateway. Rotate passwords regularly.
.pbix
Daily
Hourly
UTC
2:00 AM
⚠️ Production trap: If you set hourly refreshes on a large dataset, you might hit Power BI’s 8-daily-refresh limit (Pro) or 48-daily-refresh limit (Premium).
Gateway offline
Access denied
Timeout
Corp-Gateway-02
⚠️ Production trap: If both gateways are on the same physical server, you don’t have true HA. Use separate VMs or physical machines.
john.doe
Gateway1
❌ Personal Gateway (only for testing)
"How do you ensure high availability for scheduled refreshes?"
❌ "Use a single gateway on a powerful server." (Still a single point of failure.)
"A scheduled refresh fails with 'Gateway offline.' What’s the first thing to check?"
❌ "Is the Power BI Service down?" (Unlikely—check the gateway first.)
"You need to refresh a dataset every 30 minutes. What’s the minimum license required?"
❌ "Power BI Pro is enough." (No—Pro is limited to 8/day.)
"A report uses DirectQuery to SQL Server. Users complain it’s slow. What should you do?"
You’ve installed an On-premises Gateway, but scheduled refreshes keep failing with:
Error: "The credentials provided for the SQL source are invalid."
What’s the issue, and how do you fix it?
sql SELECT * FROM sys.tables; -- Test if the account can read data
db_datareader
sql USE [InventoryDB]; EXEC sp_addrolemember 'db_datareader', 'CORP\svc-powerbi';
Why this works:The gateway stores credentials separately from Power BI Desktop. If the SQL Server password changed or the account lost permissions, the gateway can’t authenticate—even if the report worked in Desktop.
net stop PBIEgwService
net start PBIEgwService
Data gateways are the unsung heroes of Power BI. They’re not glamorous, but if they break, your entire BI operation grinds to a halt. Treat them like production infrastructure: - Deploy in HA mode.- Monitor them.- Document them.- Test failover.
Now go deploy that gateway—and make sure your CEO’s dashboard is always up to date. ?
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.