Support for Enterprise Login in ArcPy

1343
1
01-10-2021 07:52 PM
Status: Closed
Labels (1)
WengNg2
New Contributor III

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.