Hi,
I'm trying to create a python script to automate the publishing of Map Services to a stand alone arcgis server. I've got a script working to publish the mapservices however, I get an error when I try and overwrite a Mapservice which also needs to be a Feature service. I have the overwrite flag in the definition to true, but I still get an error that tells me there is already a Feature Service with that name. Is there a setting I'm missing?
Edit: I've basically combined both elements of the 2 examples linked below, but it fails to overwrite the Feature service.
https://pro.arcgis.com/en/pro-app/3.1/arcpylsharingImapservicedraft-class.htm#GUID-F39810A0-180C-4E92
https://pro.arcgis.com/en/pro-app/3.1/arcpy/sharing/mapservicedraft-class.htm#GUID-5EF32499-622E-4B2C-A8F5-5792912DC5A4