To share an analysis result as a web tool or geoprocessing service, ensure that there are sufficient publishing permissions and that the ArcGIS Pro and ArcGIS Enterprise versions are compatible.
The portal login account's role should be either Administrator or a custom role. When the role is custom, the minimum requirement is an existing default Publisher role with the Publish web tools option of the administrative privileges.
To publish to a stand-alone server running ArcGIS Server, you must be an administrator or a publisher with special system properties. You must configure an administrator connection to your server. To update system properties to allow publishers publishing geoprocessing services, use the ArcGIS Enterprise Administrator API and add the allowGPAndExtensionPublishingToPublishers property.
A web tool or geoprocessing service can be shared as a new web tool or to overwrite an existing one. To share your web tool or geoprocessing service with either option, see Quick tour of authoring and sharing. Set multiple properties to define how users of the service can interact with the web tool.
Save as a service definition file
Save the analysis result as a service definition file (.sd), and publish it to ArcGIS Enterprise later.
Learn more about saving a service definition for a web tool or geoprocessing service
ArcGIS Online
You cannot share a web tool to ArcGIS Online, but you can add the web tool URL published in ArcGIS Enterprise as a geoprocessing service item in ArcGIS Online.
Learn more about adding items from the web
ArcGIS Enterprise on Kubernetes
Starting with ArcGIS Pro 2.9 and ArcGIS Enterprise 10.9.1, you can publish web tools to ArcGIS Enterprise on Kubernetes.
Analyze
Analyze your tool before publishing. This process identifies issues that may prevent the tool from publishing. Information regarding the data and tools that compose the service as well as potential solutions are provided. Some analyzer errors can only be resolved by modifying the tools or data that compose the tools. Other messages and warnings provide guidance and best practices. You can publish the tool after addressing critical errors and configure the service settings.
Add a tool
When sharing a web tool or geoprocessing service, start with the result of a model, script, or Python toolbox tool. You can build a web tool or geoprocessing service using multiple results. Although any successful geoprocessing history item can be included, the publishing process must be free of any error analyzer messages to successfully publish. Adding multiple tools is a good technique when grouping similar tools or tools that are part of a workflow.
Note:
A new tool cannot be added to an existing web tool or geoprocessing service. You must republish the existing tool and include the new tool in a new, single web tool or geoprocessing service, or overwrite the one you want to update.
Sharing settings for web tools
By default, a web tool is only accessible by the account from which is was created in ArcGIS Enterprise. The web tool can be shared within the organization, with specific groups, or with everyone.
Use a federated server in ArcGIS Enterprise
When sharing a web tool to Portal, the hosting server is the default server for the underlying geoprocessing service. Sharing many web tools to a hosting server may affect performance due to a potential lack of system resources, including the memory of the system. If you have multiple servers available and they are federated to your portal, it may be advantageous to separate the geoprocessing services from the default hosting server to their own federated server. Without multiple federated servers, geoprocessing services can be shared to the hosting server as long as good service and resource management by administrators and publishers is followed.
Publish or overwrite a web tool
See Quick tour of authoring and sharing for detailed steps to publish or overwrite a web tool or a geoprocessing service.