001983: The account logged in to portal does not have adequate permissions to publish.

Description

Portal accounts have various level of permissions. Not all account types can publish all service types.

You must be an administrator to publish web tools. If using an ArcGIS Enterprise administrator account, ensure that it is also an ArcGIS Server administrator.

Some tools check the permissions of the active portal account. Reference the specific geoprocessing tool help for requirements.

Solution

Talk to your server or portal administrator about another account or to elevate the permissions of your current account.