I can publish a new map service from ArcGIS Pro 2.3. However, I can't seem to find a parameter that lets me overwrite an existing map service. Is that an available functionality, or is it only possible if I delete the map service and then recreate it from scratch?
Solved! Go to Solution.
sddraft.overwriteExistingService = True
Is your service in a "folder" on the GIS Server? Is it stand-alone or federated?
sddraft.overwriteExistingService = True
Is your service in a "folder" on the GIS Server? Is it stand-alone or federated?
Thank you, that was the solution! I expected it to be part of the upload process, not the service draft.
The ArcGIS Server is standalone -- the service is not in a folder (but I'd like it to be, and I have a different question about that).