漏洞
By default, an ArcGIS Enterprise portal allows cross-domain requests via Cross-Origin Resource Sharing (CORS). This means a JavaScript client such as a web application hosted on any domain can connect to your portal's resources.
If your ArcGIS Enterprise portal has CORS configured to restrict cross-domain requests to your portal, Power BI Desktop will not function as expected, as described in BUG-000133837.
If using ArcGIS Enterprise 10.7.1 or later, an administrator of your ArcGIS Enterprise organization can configure CORS to allow requests that originate from Power BI.
To add Power BI to the allowed origins, do the following:
https://webadaptorhost.domain.com/webadaptorname/sharing/rest
Note: To complete this step, HTML access to the sharing API must be enabled. On many secured environments, HTML access to the sharing API is restricted. To enable HTML access to the sharing API, the disableServicesDirectory property under https://webadaptorhost.domain.com/webadaptorname/portaladmin/security/config must be set to false.
http://pbi.microsoft.com,https://pbi.microsoft.com,ms-pbi://pbi.microsoft.com,https://ms-pbi.pbi.microsoft.com,https://app.powerbi.com/
The Power BI origin is added to the allowed origins. The changes take effect immediately, without the need to restart the portal.
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序