When attempting to add feature services to either Portal for ArcGIS or ArcGIS Online, the following error occurs:
Layer seems to be an internal network and are not accessible to ArcGIS.com. Thus, editing will be disabled on these layers.
There are several potential causes for this error.
- The user added the service to ArcGIS Online using the Web Adaptor URL. If the server hosting the app falls on a different domain hosted by ArcGIS Web Adaptor than the service hosted by the GIS server, the web browser plug-in running the web app is not allowed to access the service, due to security reasons. For more information, refer to ArcGIS Server: Common problems and solutions.
- A known limitation of Internet Explorer (IE) 10 and earlier, due to cross-origin resource sharing (CORS).
- The service is secured with web-tier authentication to Portal for ArcGIS and is not federated with the service from the server. Editing feature services secured with web-tier authentication requires a web browser enabled with CORS. For more information, refer to the following link, ArcGIS Online Help: Configure security settings.
Solution or Workaround
Depending on the expected cause, use one or more of the solutions below to solve this issue.
- Add the feature layer in ArcGIS Online using port 6080 instead of using a Web Adaptor URL. This ensures the service points to the same domain as the GIS server.
- Use Google Chrome instead of IE.
- Use an identity provider solution for enterprise logins. To see more options for setting enterprise logins, refer to ArcGIS Online Help: Configure Active Directory Federation Services.
- Use internal user accounts from the ArcGIS Online organization. To see more options on how to use internal user accounts from the ArcGIS Online organization, refer to ArcGIS Online Help: Create account.
- If the service is secured with web-tier authentication to Portal for ArcGIS and is not federated with the service from the server, federate the standalone server, or use the Trusted Servers security option. For more information, refer to Portal for ArcGIS: Configure security settings.
The Trusted Servers option is only supported in Portal for ArcGIS 10.4 and later.
If using ArcGIS Online, the option to use trusted servers is the only required option. For more information, refer to ArcGIS Online Help: Configure security settings.