@TanuHoqueI'd like to understand how the script got modified. I haven't made any changes to the print service. What could be causing the script alteration?
Here's my suspicion: If you have ArcGIS Enterprise 11.1 and then upgrade ArcGIS Pro from 3.1.0 to 3.2.0 on the the same GIS Server machine, and you had a print service from ArcGIS Pro 3.1.0, the upgrade to ArcGIS Pro 3.2.0 seems to modify the script of the print service. This happens even it you don't overwrite the print service created with ArcGIS Pro 3.1.0. The mere installation of ArcGIS Pro 3.2.0 on the ArcGIS Server machine appears to modify the script, based on your description.
Two days ago, when I first discovered the print service was not working I started troubleshooting. One of my initial steps was to create a new test print service. However, I encountered error 00256: "Server version <value> tool <value> does not have a new parameter." This error led me to uninstall ArcGIS Pro 3.2.0 on the GIS Server machine and install ArcGIS Pro 3.0.3. Interestingly, even before I could create a test print service with ArcGIS Pro 3.0.3, the existing print service started working. I found this peculiar but considered it a one-time occurrence. During this time, everything was working smoothly, so I proceeded to upgrade ArcGIS Pro 3.0.3 back to ArcGIS Pro 3.2.0 on the GIS Server machine, and once again, the print service failed.
It's worth noting that I only installed ArcGIS Pro 3.2.0; I didn't overwrite the print service or make any other changes. It appears that the mere presence of ArcGIS Pro 3.2.0 on a GIS Server machine with ArcGIS Enterprise 11.1 installed modifies the print script and causes the problem. Uninstalling ArcGIS Pro 3.2.0 and reinstalling ArcGIS Pro 3.0.3 resolved the issue, and I still have an open Esri tech support case to monitor the behavior.
The concern is that having ArcGIS Pro 3.2.0 on the same machine as ArcGIS Server with ArcGIS Enterprise 11.1 seems to trigger the print service failure. Is this an expected behavior, where the mere presence of ArcGIS Pro 3.2.0 on a single machine deployment with ArcGIS Enterprise 11.1 will cause the print service to fail?
Thank you,
Abi