laptop and a wrench

Error

Unable to create an administrative account using ArcGIS API for Python.

ArcGIS API for Python
Número de ID del error BUG-000168602
EnviadoJune 25, 2024
Última modificaciónFebruary 18, 2025
Relacionado conArcGIS API for Python
Versión encontrada2.3.0
Sistema operativoWindows OS
Versión de sistema operativo11.0 64 bit
Versión corregidaQ4 2024 (version 2.4.0)
EstadoFixed

Información adicional

An administrator user role cannot be created with the Python API by specifying ‘org_admin’ as the role value. Instead, a new user can be created with an available role such as ‘org_publisher’, and subsequently, the user’s role can be updated to administrator using the 'update_role()' method on the User object.

Solución alternativa

Use another value for the role argument, such as 'org_publisher', then invoke the update_role(role='org_admin') method to update the newly created user's role value.

Pasos para reproducir

ID del error: BUG-000168602

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga