I'm having a problem publishing a geoprocessing service in which the name exceeds 19 characters on ArcGIS Server 10.5.1. The service will stage and I can build a service definition just fine, but when I go to publish it, if the name of the service exceeds 19 characters, the publish will fail. I've gone as far as to strip everything out of the python script the service calls, it still fails if the name is too long.
I have instances that I've upgraded from 10.3.1 to 10.5.1 and the service in question exists on an upgraded 10.5.1 server, but I cannot create the service on a fresh install.
Any ideas on how to make this work would be greatly appreciated!