ERROR

ArcGIS for Power BI: The specified ArcGIS Online or ArcGIS Enterprise URL is not valid

Last Published: June 6, 2025

Error Message

When attempting to log in to ArcGIS for Power BI using an ArcGIS Enterprise account and with a valid ArcGIS Enterprise URL, the process fails and returns the following error:

Error:
The specified ArcGIS Online (or ArcGIS Enterprise) URL is not valid.
The URL is not valid error message

Cause

  • Cross-Origin Resource Sharing (CORS) is not properly configured in the ArcGIS Enterprise portal to allow requests from ArcGIS for Power BI.
  • The Internet Information Services (IIS) server for the ArcGIS Enterprise portal's Web Adaptor is misconfigured to send two Access-Control-Allow-Origins headers in its response. One header specifies the correct domain, https://app.powerbi.com, while the other uses a wildcard, which is not permitted under the Cross-Origin Resource Sharing (CORS) policy.

Solution or Workaround

Depending on the cause, use one of the following workflows to resolve the error.

Configure Cross-Origin Resource Sharing (CORS) in the ArcGIS Enterprise portal

Configure Cross-Origin Resource Sharing (CORS) in the ArcGIS Enterprise portal to allow requests from ArcGIS for Power BI. Refer to ArcGIS for Microsoft: Configure ArcGIS Enterprise cross-origin resource sharing for additional information.

Remove the wildcard header from the Internet Information Services (IIS) server

  1. On the machine hosting the ArcGIS Enterprise portal, in the Windows search bar, type IIS and click the Internet Information Services (IIS) Manager icon.
  2. In the Connections pane, expand the machine name, and expand Sites > Default Web Site.
  3. Select portal and double-click HTTP Response Headers.
The HTTP Response Headers option in Internet Information Services (IIS) Manager window.
  1. Under HTTP Response Headers, select the entry with the wildcard value and click Remove.
The wildcard Remove option under the HTTP Respose Headers section

Article ID: 000035886

Software:
  • Portal for ArcGIS
  • ArcGIS Enterprise
  • ArcGIS for Power BI

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options