Do I need a gateway for cloud data sources, such as Azure SQL Database?
No, services can generally connect to cloud data sources without a gateway. However, you might need a data gateway if your data sources are behind a firewall, require a VPN, or are on virtual networks.
What are the requirements for the gateway?
Review the requirements section in the installation article.
Does the gateway have to be installed on the same machine as the data source?
No, the gateway connects to the data source by using the provided connection information. In this sense, consider the gateway as a client application. The gateway just needs to connect to the specified server.
How many releases of the on-premises data gateway does Microsoft actively support?
Currently, Microsoft actively supports only the last six releases of the on-premises data gateway. We release a new update for data gateways every month.
Are there any licensing prerequisites required to install gateways?
There are no licensing restrictions for installing and registering a gateway. But any cloud service might have licensing restrictions on how gateways are used within that service.
Are there any requirements for network bandwidth?
Check that your network connection has good throughput. Each environment is different, and throughput depends on the amount of data that is sent. To ensure a minimum level of throughput between your on-premises data source and Azure datacenters, use Azure ExpressRoute. To help measure your throughput, you can use the Azure Speed Test app.
Where are my credentials stored?
The credentials that you enter for a data source are encrypted and stored in the gateway cloud service. The credentials are decrypted at the gateway on premises. For more information about credential encryption in Power BI, see Power BI security whitepaper.
What is the actual Windows service called?
On your local computer, in the Services app, the service is called "On-premises data gateway service". In Task Manager, on the Services tab, the service name is "PBIEgwService". By default, the Windows service uses "NT SERVICE\PBIEgwService" as the Service SID (SSID).
Can the gateway Windows service run with an Azure Active Directory (Azure AD) account?
No, the Windows service needs a valid Windows account.
Are there any inbound connections to the gateway from the cloud?
No, the gateway uses outbound connections to Azure Service Bus.
What if I block outbound connections? What do I need to open?
Do I need to unblock the Azure Datacenter IP list? Where do I get the list?
If you block outbound IP traffic, you might need to unblock the Azure Datacenter IP list. The gateway communicates with Azure Service Bus by using an IP address and a fully qualified domain name. The Azure Datacenter IP list is updated weekly. For more information, see Enable outbound Azure connections.
What is the latency for running queries from the gateway to a data source? What is the best architecture?
To avoid network latency, install the gateway as close as possible to the data source. If you can install the gateway on the actual data source, this closer location minimizes latency.
Also, consider the proximity to the Azure datacenters. For example, if your service uses the West US datacenter, and you have SQL Server hosted in an Azure virtual machine, you might also want your Azure VM in the West US region. This configuration minimizes latency and avoids egress charges on the Azure VM.
How are results sent back to the cloud?
The results are sent through Azure Service Bus. For more information, see On-premises data gateway architecture.
Can I place the gateway in a perimeter network (also known as DMZ, demilitarized zone, and screened subnet)?
The gateway requires connectivity to the data source. So, if the data source isn't reachable in your perimeter network, the gateway might not have access.
For example, assume your SQL Server computer isn't in your perimeter network. Also, assume you can't connect to that computer from the perimeter network. If you place the gateway in your perimeter network, the gateway can't reach the SQL Server computer.
If the server on which the gateway is installed is only using an IPv6 address and connects with a data source (for example, Azure SQL/File Server/Database on Azure VM) using an IPv6 address only, is it possible to communicate from Power BI service to those data sources through the gateway?
If the server on which the gateway is installed is using dual stack to be assigned both IPv4 and IPv6 addresses, would IPv4 or IPv6 be the priority for gateway communication?
This depends on Windows or the relevant data source drivers. This behavior is configurable in both Windows and various drivers, but isn't under the gateway’s control.
Does the gateway support cross-tenant Azure AD access?
No, cross-tenant Azure AD access isn't supported. A Power BI dataset in a tenant can't connect to data sources from a different tenant using an Azure AD account. This limitation applies whether the data source uses an on-premises data gateway or not. To overcome this limitation, use an authentication type other than OAuth.
Can I force the gateway to use HTTPS traffic with Azure Service Bus instead of TCP?
Yes, for more information, see Force HTTPS communication with Azure Service Bus. Turning on this feature has little effect on performance.
Are the on-premises data gateway and Data Management Gateway, which is used by Azure Machine Learning Studio and Azure Data Factory, the same thing?
No, they are different products. To get more information about Data Management Gateway, which is now called Self-hosted Integration Runtime, see Create and configure a self-hosted integration runtime.
Can the person who sets up the gateway in the Azure portal be different from the one who installs that gateway?
Yes, you must use PowerShell to add other owners to the same gateway. These users can create the gateway in the Azure portal. However, they should connect to the portal and the gateway by using the same tenant.
Does Azure ExpressRoute eliminate the need for a gateway?
No. A gateway is still required when connecting to on-premises data sources.
High availability and disaster recovery
Are there any plans for enabling high-availability scenarios with the gateway?
To help avoid a single point of failure, you can set up on-premises data gateways as clusters for high availability. By default, cloud services such as Power Apps and Power BI use the primary gateway and fall back to the secondary gateway if the primary is unavailable.
What options are available for disaster recovery?
When you install the gateway, you supply a recovery key. You can use the key to restore or migrate a gateway.
What is the benefit of the recovery key?
The key provides a way to add a new gateway to a cluster or to migrate, recover, or take over a gateway.
For more information, see Troubleshoot the on-premises data gateway.
Where are the gateway logs located?
How can I see what queries are sent to the on-premises data source?
You can enable query tracing by turning on additional logging. The logs include the queries that are sent. Remember to turn off query tracing when you're done troubleshooting. Having query tracing enabled causes the logs to be larger.
You can also look at your data source's tools for tracing queries. For example, if SQL Server and SQL Server Analysis Services are data sources, you can use SQL Server Extended Events or SQL Server Profiler to trace queries.
Can I have more than one admin for a gateway?
Yes, when you manage a gateway, you can go to the administrator's tab to add additional admins. You can also have security groups as admins.
Does the gateway admin need to be an admin on the machine where the gateway is installed?
No, the gateway admin manages the gateway from within the service.