PROBLEM
When using an ArcGIS Enterprise account in ArcGIS for Excel, attempting to add layers from ArcGIS Online fails and returns the following error message:
Error:
Failed to fetch
When cross-domain origin requests are configured in the ArcGIS Enterprise portal, requests from a different domain are blocked. If the ArcGIS Online domain is not included in the Allow Origins list, the system rejects the request or requires additional authentication, causing a token-required error manifesting as the "Failed to fetch" error in ArcGIS for Excel.
Add the ArcGIS Online domain to the Allow Origins list in the security settings of the ArcGIS Enterprise portal:
https://la.arcgis.com/
Refer to Portal for ArcGIS: Restrict cross-domain requests to your portal for instructions. This action enables cross-domain communication and prevents token authentication issues by allowing trusted requests from the domain.
Article ID: 000034156
Get help from ArcGIS experts
Download the Esri Support App