laptop and a wrench

Bug

Clicking View In in ArcGIS Map Viewer in the ArcGIS Server services directory, it returns an error of "Unsupported layer" with services when the ArcGIS Server is secured using Integrated Windows Authentication (IWA).

ArcGIS GIS Server
Bug ID Number BUG-000169722
SubmittedAugust 5, 2024
Last ModifiedSeptember 11, 2025
Applies toArcGIS GIS Server
Version found11.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

This is by design. This issue occurs because the Map Viewer app only utilizes CORS requests to access the services. When the service is secured with web-tier authentication (IWA, Basic, client certificate, etc), the CORS request must be sent with credentials. ArcGIS Online only make the CORS requests with credentials for URLs hosted on servers that are included in the 'Trusted servers' list in an organization's security settings. Since viewing the service in ArcGIS Online goes to www.arcgis.com/apps/mapviewer by default, there are no trusted servers so the CORS request will never be sent with credentials. These services are viewable in Map Viewer Classic because they are not accessed with CORS requests.

Workaround

The ArcGIS Online map viewer URL that appears at the top of the REST services directory pages can be adjusted to point to a specific ArcGIS Online organization that has been configured with the ArcGIS Server hostname included in the list of 'Trusted servers'. This allow the services to be viewable in Map Viewer. If an ArcGIS Online organization is not available, the URL can also be adjusted to point to a Portal for ArcGIS where the 'Trusted servers' can be configured. The other option would be to use Map Viewer Classic to view the services.

Steps to Reproduce

Bug ID: BUG-000169722

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options