Only administrators can publish geoprocessing services and deploy service extensions (SOEs or SOIs). This provides greater security for your ArcGIS Server site, as these types of services allow custom scripts to be run on the GIS server. Publishers who attempt to publish a geoprocessing service will get an error message with error code 001862.
You can, however, choose to enable publishers to publish geoprocessing services and deploy service extensions. To do so, follow these steps:
Note:
It's recommended that production environments restrict publishing of geoprocessing services and service extensions to administrators.
Note:
When publishing geoprocessing services (web tools) to federated sites, the preferred method for controlling whom can publish is by using the publish web tools privilege in a custom role.
- Open the ArcGIS Server Administrator Directory and sign in with an account that has administrative privileges to the site. The Administrator Directory is typically available through a URL such as https://gisserver.domain.com:6443/arcgis/admin.
- Click System > Properties > Update.
- Enter the allowGPAndExtensionPublishingToPublishers property and set it equal to true. The syntax should be in the following format: {"allowGPAndExtensionPublishingToPublishers": true}.
- Click Update.
Administrators and publishers can now publish geoprocessing services and deploy service extensions. To restrict publishing of these services back to administrators only, set the allowGPAndExtensionPublishingToPublishers property to false.