MetricSign
Request Access
Medium severityauthentication

Power BI Refresh Error:
Windows.Services.PowerBIWebException

What does this error mean?

Power BI Desktop sign-in fails due to proxy authentication. Add Power BI domains to the proxy allowlist or set UseDefaultCredentialsForProxy in the registry.

Common causes

  • 1A proxy authentication server on the corporate network blocks web requests from Power BI Desktop
  • 2The proxy requires credentials that Power BI Desktop does not automatically provide
  • 3Power BI Desktop trace files show: Microsoft.PowerBI.Client.Windows.Services.PowerBIWebException with HttpStatusCode: ProxyAuthenticationRequired

How to fix it

  1. 1Ask your network administrator to add these domains to the proxy authentication server allowlist: app.powerbi.com, api.powerbi.com, and *.analysis.windows.net
  2. 2For government cloud, allowlist: app.powerbigov.us, api.powerbigov.us, and *.analysis.usgovcloudapi.net
  3. 3To allow Power BI Desktop to use default Windows (system) credentials for proxy authentication, create a registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Power BI Desktop → DWORD 'UseDefaultCredentialsForProxy' = 1
  4. 4After creating the registry entry, restart Power BI Desktop — it will use the proxy settings defined in Internet Explorer
  5. 5Only use Negotiation as the authentication scheme for the proxy server when enabling UseDefaultCredentialsForProxy

Other authentication errors