What is an on-premises data gateway?


We recently revised the on-premises data gateway docs. We split them into content that's specific to Power BI and general content that applies to all services that the gateway supports. You're currently in the general content. To provide feedback on this article, or the overall gateway docs experience, scroll to the bottom of the article.

The on-premises data gateway acts as a bridge. It provides quick and secure data transfer between on-premises data, which is data that isn't in the cloud, and several Microsoft cloud services. These services include Power BI, PowerApps, Power Automate, Azure Analysis Services, and Azure Logic Apps.

By using a gateway, organizations can keep databases and other data sources on their on-premises networks while securely using that on-premises data in cloud services.

How the gateway works

Gateway overview

For detailed information on how the gateway works, see On-premises data gateway architecture.

Types of gateways

There are two different types of gateways, each for a different scenario.

  • On-premises data gateway: Allows multiple users to connect to multiple on-premises data sources. With a single gateway installation, you can use an on-premises data gateway with all supported services. This gateway is well-suited to complex scenarios where multiple people access multiple data sources.

  • On-premises data gateway (personal mode): Allows one user to connect to data sources and can’t be shared with others. An on-premises data gateway (personal mode) can be used only with Power BI. This gateway is well-suited to scenarios where you’re the only one who creates reports and you don't need to share any data sources with others.

Using a gateway

There are four main steps for using a gateway.

  1. Download and install the gateway on a local computer.
  2. Configure the gateway based on your firewall and other network requirements.
  3. Add gateway admins who can also manage and administer other network requirements.
  4. Troubleshoot the gateway in case of errors.


  • Logic Apps, PowerApps, and Power Automate support both read and write operations through the gateway:
    • Write operations have a 2-MB payload limit.
    • Read operations have a 2-MB request limit and an 8-MB compressed data response limit.
  • While using the gateway with Power BI in Direct Query Mode, there is a 16-MB uncompressed data response limit.
  • For information about installation considerations, see Related considerations.

Next steps