MetricSign
Request Access
High severitygateway

Power BI Refresh Error:
Failed to create a gateway. Try again

What does this error mean?

The Power BI service could not register a new on-premises data gateway. This appears in the gateway installer or the Power BI portal during gateway setup.

Common causes

  • 1The machine running the gateway installer cannot reach the Power BI service endpoints
  • 2A previous failed gateway installation left behind registry entries or service stubs
  • 3The user account performing the installation lacks local administrator rights
  • 4The gateway port (443 or 5671) is blocked by a firewall or proxy
  • 5An existing gateway with the same name is already registered in the tenant

How to fix it

  1. 1Run the gateway installer as Administrator
  2. 2Check outbound connectivity to *.servicebus.windows.net on port 5671 and *.powerbi.com on 443
  3. 3Open Services.msc and ensure no stale 'On-premises data gateway' service entry exists — remove it and retry
  4. 4Delete any leftover gateway registration files in %localappdata%\Microsoft\On-premises data gateway
  5. 5Retry the installation from the Power BI portal (Settings → Manage gateways → Add) rather than the standalone installer

Other gateway errors