laptop and a wrench

Error

The 'in_public' argument of the 'arcpy.server.UploadServiceDefinition' method used for publishing services to a non-federated ArcGIS Server poses a security risk.

ArcGIS Pro
Número de ID del error BUG-000163126
EnviadoNovember 21, 2023
Última modificaciónMay 14, 2026
Relacionado conArcGIS Pro
Versión encontrada3.6.1
Sistema operativoWindows Server
Versión de sistema operativo2019 64 Bit
EstadoAs Designed

Información adicional

As mentioned in the documentation, the in_public parameter is only applicable to web layers and web tools. This is similar to the in_override, in_my_contents, in_organization, in_groups, and in_item_id parameters. When publishing a service to a standalone server, even from the user interface (UI), there is no option to set sharing options. Permissions on a standalone server (not federated with a portal) work differently. Refer to this documentation for more information: https://enterprise.arcgis.com/en/server/latest/administer/windows/editing-permissions-in-manager.htm.

Pasos para reproducir

ID del error: BUG-000163126

Software:

  • ArcGIS Pro

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