Select to view content in your preferred language

Support for Enterprise Login in ArcPy

1639
1
01-10-2021 07:52 PM
Status: Closed
Labels (1)
WengNg2
Occasional Contributor

I think it would be great if ArcPy supports SAML logins (previously known as enterprise logins).

For sites that utilises SAML logins, scripts in ArcPy does not have access to portal data unless ArcGIS Pro is logged into the portal. 

The only workaround is to launch ArcGIS Pro and sign in manually and select the 'sign me in automatically' button. 

ArcPy currently only supports built-in logins:

https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/signintoportal.htm

 

1 Comment
JonahLay
Status changed to: Closed

We won't be able to support SAML logins because they can use different identity providers (PKI or IWA). The workaround already mentioned works—start ArcGIS Pro, sign in manually, and select the 'sign me in automatically' button. We will expand the SignInToPortal function to support signing in to portals that use PKI and IWA in an upcoming release.