laptop and a wrench

Bug

ArcGIS API for Python is unable to access hosted feature layers in a portal with Integrated Windows Authentication (IWA) configured, unless the layer is shared with 'Everyone'.

Last Published: July 18, 2019 ArcGIS API for Python
Bug ID Number BUG-000109779
SubmittedNovember 27, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.2.4
Operating SystemWindows OS
Operating System Version7.0 64 Bit
Version FixedN/A
StatusFixed

Additional Information

This issue is fixed in the 1.2.5 update.

Workaround

Share the hosted feature layer item to 'Everyone'.ORUse the built-in authentication with Portal for ArcGIS:import arcgisfrom arcgis.gis import GISuser = "username"password = "password"url = "http://webadaptorhost.domain.com/webadaptorname"gis = GIS(url, user, password)fs = gis.content.get('InsertHostedFeatureServiceItemID')print (fs.layers)

Steps to Reproduce

Bug ID: BUG-000109779

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