| Bug ID Number |
BUG-000160690 |
| Submitted | August 16, 2023 |
| Last Modified | February 14, 2025 |
| Applies to | Portal for ArcGIS |
| Version found | 11.1 |
| Operating System | Windows Server |
| Operating System Version | 2019 64 Bit |
| Status | Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
|
Additional Information
In ArcGIS Enterprise 11.x, administrators have the ability to disable the built-in Portal for ArcGIS account. If the SAML and built-in accounts are enabled, ArcGIS API for Python authenticates successfully. The other alternative is to use 'use_gen_token=True' with the built-in account information. ArcGIS API for Python does not support SAML logins.
Workaround
Edit the authentication line to include 'use_gen_token=True'.
For example: gis = GIS(portal_url, username, password, use_gen_token=True)
Steps to Reproduce