laptop and a wrench

Bug

Unable to authenticate with ArcGIS API for Python when using 'GIS Server' as Authentication Tier and 'Windows Domain' as User Store.

Last Published: April 22, 2021 ArcGIS API for Python
Bug ID Number BUG-000138559
SubmittedMarch 29, 2021
Last ModifiedJune 28, 2025
Applies toArcGIS API for Python
Version found1.8.4
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed2.0.0
StatusFixed

Workaround

There are two options:

  1. Configure with IWA (for IIS settings, Anonymous has to be disabled and Windows Authentication has to be enabled).
  2. Set the User Store = Built-in and keep the Authentication Tier = GIS Server. There are no issues authenticating built-in users.

1)

When IWA is configured, authentication succeeds using ArcGIS API for Python. Secured Services list when accessing Rest Services in the browser & listing out the secured services using the ArcGIS API for Python.

  • Server security settings:
    • image.png
  • IIS Authentication Settings (Anonymous has to be disabled and Windows Authentication has to be enabled):
    • image.png
  • List out services while connected to the server URL through the web adaptor. Note the Polygon_New services are listing (these are secured services).
    • IWA_Configured_ListServices.png

2) With User Store = ArcGIS Server Built-in, there are no issues authenticating and the secured services list when accessing Rest Services in the browser and when listing using Python.

  • Server security settings:
    • image.png
  • List out services while connected to the server URL through the web adaptor. Note the Polygon_New services are listing (these are secured services).
    • image.png

Steps to Reproduce

Bug ID: BUG-000138559

Software:

  • ArcGIS API for Python

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