Power BI gateway: how to refresh ERP data without failures or surprises

Power BI gateway: when you need it, standard or personal mode, where to install it, common errors and a checklist to refresh ERP data without failures.

Power BI gateway: how to refresh ERP data without failures or surprises

In short

  • The Power BI gateway takes data from internal systems, such as the ERP database, to the Power BI Service in the cloud, without opening inbound ports.
  • For company reports, use standard mode on a server that is always on, with a service account, and never personal mode on an analyst's laptop.
  • A second gateway in the cluster, a stored recovery key and two administrators keep refreshes from depending on a single machine or person.
  • Spread-out schedules, incremental refresh, reading from a replica and failure alerts for each model's owner keep refreshes stable.

The Power BI report looked great on the analyst's computer, but after it was published it stopped refreshing. The message mentions credentials, data source and gateway. The reason is almost always the same: the data comes from a system installed inside the company, such as the ERP database, and Power BI in the cloud cannot reach it on its own.

The short answer: the Power BI gateway is a program installed on a company server that bridges internal systems and the Power BI Service. To work well, it needs a server that is always on, standard mode instead of personal mode, service accounts in the credentials, a second gateway so it does not depend on a single machine and someone responsible for following up on failures.

In this guide you will see when the gateway is needed, the difference between the modes, where to install it, how to keep refreshes stable, the most common errors and a checklist to put everything into production.

What is the Power BI gateway and when is it needed?

Its official name is the on-premises data gateway. It is installed on a Windows machine inside the company network, reads data from internal sources and delivers it to the Power BI Service, the cloud website where reports are published and refreshed. One point that usually reassures the security team: the gateway only makes outbound connections, so there is no need to open inbound ports on the company firewall.

It is needed when the source is inside the company. Common examples:

  • The ERP database installed on the company's own server, such as SQL Server or Oracle.
  • Spreadsheets and files stored in a network folder, not in SharePoint or OneDrive.
  • Customer service, production or billing systems running in the company's data center.
  • Cloud databases that only accept connections from inside a private network.

Sources already in the cloud and reachable over the internet, such as SharePoint Online and most cloud services, usually do not need a gateway. When in doubt, the Power BI Service itself tells you, in the semantic model settings, when a source requires a gateway.

Standard mode or personal mode: which should you use?

The gateway can be installed in two ways, and the choice weighs heavily on stability.

Personal mode

It serves one person only and works only for Power BI. It is usually installed on the analyst's laptop and runs under their login. It is useful for testing, but not for the company: when the laptop is off, the refresh fails, and when the person leaves, everything stops.

Standard mode

This is the mode for production. It runs on a server, serves several users and reports, lets you define administrators and shared connections, supports direct queries to the source without copying the data and also serves other Microsoft tools, such as Power Automate and Power Apps. If your company has important reports running on a personal gateway, that is the first thing to change.

Where should you install the gateway?

The rule of thumb is to put the gateway close to the data and away from any personal computer. When choosing the machine, check:

  • A Windows server on 24 hours a day, which does not go to sleep or restart without notice.
  • A stable, fast network to the ERP database and to the internet.
  • Enough memory and processing power for the refreshes that run at the same time.
  • A company service account to run the gateway, not an employee's login.
  • A second server to form a cluster, the group of gateways that takes over when one of them goes down.

During installation, the gateway asks for a recovery key. Store that key in the company's password vault: without it, moving the gateway to another server or recovering it after a failure becomes much more work.

What if the data is in Azure?

If the database is in Azure but locked inside a private network, there is another option: the virtual network data gateway. It is managed by Microsoft itself, so the company does not need to maintain a server or install updates. In exchange, it depends on Premium or Fabric capacity and only serves sources inside the configured virtual network. Companies with part of their data in the data center and part in Azure often use both types at the same time, each with its own connections and administrators.

How do you keep refreshes stable?

With the gateway in the right place, stability depends on how the models use it. In most companies, the problem shows up at peak times, when all models refresh together. A few practices that make a difference:

  • Spread the schedules: ten models refreshing at exactly 7 a.m. compete for the same server and the same database.
  • Use incremental refresh on large tables, to fetch only new data instead of reloading everything.
  • Read from a replica or a read-only database, not from the database the ERP uses to operate.
  • Turn on failure email alerts for each model's owner, not just for whoever published it.
  • Keep the gateway updated: very old versions stop being supported by Microsoft.

The number of refreshes per day also depends on the license: the Pro plan allows fewer scheduled refreshes than Premium and Fabric capacities. If the board needs numbers every few minutes, it is worth looking at the whole architecture, not just the gateway. And remember that gateway connections and workspace permissions go together: the guide to Power BI workspaces shows how to organize owners and access.

What are the most common gateway errors?

When a refresh fails, the cause is usually on a short list:

  • The gateway is down because the server shut down, restarted or lost the network.
  • The password of the account used in the connection expired or was changed.
  • The server or database name in the report differs from the one registered in the gateway connection.
  • The query became too heavy and exceeded the timeout.
  • The employee who set everything up left and nobody else is a gateway administrator.

Notice that almost none of these errors is truly technical: they come from a lack of ownership and standards. The same care applies to data access, which the guide to RLS in Power BI covers in detail. And if reports must reach customers outside the company, the gateway is still the bridge for internal data to a portal with Power BI Embedded.

Checklist to put the gateway into production

  1. List the internal sources of each report and confirm which ones require a gateway.
  2. Install the gateway in standard mode on a dedicated server, with a service account.
  3. Store the recovery key in the company's password vault.
  4. Add a second gateway to the cluster.
  5. Define at least two administrators and register the connections with read-only service accounts.
  6. Move reports that use a personal gateway to the standard gateway connections.
  7. Spread the refresh schedules and turn on failure alerts.
  8. Schedule reviews of gateway versions and service account passwords.

How Wolkee helps

Wolkee provides end-to-end Power BI consulting, from the ERP connection to the published report. We review the gateway and connections your company already has, move reports to standard mode with service accounts and alerts, and tune the models to refresh faster without burdening the source system. In one of our projects, the refresh of a BI with SAP HANA data went from daily to every 15 minutes.

If your company's reports keep failing to refresh, book a free 30-minute assessment. We reply within 1 business day and, when it makes sense, show a working prototype before the contract.

Frequently asked questions

Is the Power BI gateway free?

Yes, the gateway software itself has no license cost. The cost is around it: the server it runs on, maintenance, version updates and the Power BI licenses of those who publish and consume reports. For high availability, also plan for a second server for the gateway cluster.

Can I install the gateway on my laptop?

You can, for testing. In production it is not a good idea: if the laptop shuts down, goes to sleep or leaves the network, the refresh fails, and if you leave the company the reports stop. For reports other people use, install the gateway in standard mode on a server that is always on, with a company service account.

Does the gateway expose the company's data?

No, when properly configured. It only makes outbound connections, without opening inbound ports on the firewall, and reads only the sources registered in its connections. The care is on your side: use read-only service accounts, limit who is an administrator and control who sees each report with permissions and row-level security.

How many times a day can Power BI refresh through the gateway?

It depends on the license, not on the gateway. Models in workspaces with Pro licenses have a lower limit of scheduled refreshes per day than models on Premium or Fabric capacities. For near real-time data, there are other options, such as querying the source directly, which also go through the gateway and require a well-sized database.