I made a Python script that utilizes a recently developed geoprocessing tool (arcpy.SubdividePolygon_management). I can successfully run the script in ArcGIS Pro, but when I publish it as a geoprocessing service to our ArcGIS Server it returns the following error when I try to run the service.
AttributeError: module 'arcpy' has no attribute 'SubdividePolygon_management'
I assume this is due to the Python 3 installation of arcpy on the server does not have this tool already included in the installation. We currently have ArcGIS Server 10.6.1 installed (currently without Portal - standalone). I use the latest version of ArcGIS Pro (2.4.2). Is my assumption correct? If so, is there a way to check what Python geoprocessing tools are available at every release of ArcGIS Server/Enterprise (without installing said release)?
Lastly, is there a way to make the Python script work as a geoprocessing service?
Thank you for your answer in advance.