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:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.