laptop and a wrench

Bug

edit_features() fails on secured layers in environments with Integrated Windows Authentication (IWA) single sign-on (SSO) authentication using ArcGIS API for Python.

Last Published: April 11, 2023 ArcGIS API for Python
Bug ID Number BUG-000156968
SubmittedMarch 24, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found2.0.1
Operating SystemWindows OS
Operating System VersionN/A
StatusAs Designed

Additional Information

The reason this happens is because the setting in which GIS is active is not used. By default, the last GIS that is active is the one that has been created, and the feature layer is unable to determine which GIS to use.

Workaround

  1. Share the feature layer publicly for a brief time.
  2. Run the script.
  3. Secure it again (whether with the owner or the organization). The script runs with no issues.

Steps to Reproduce

Bug ID: BUG-000156968

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