The ArcGIS Pro Stage Service example (https://pro.arcgis.com/en/pro-app/tool-reference/server/stage-service.htm#C_GUID-E4EE691D-C5C2-4F1C-BBC9-D600F4F8689E) works, but it writes to Hosted folder??
# Share to portal
print("Uploading Service Definition...")
arcpy.UploadServiceDefinition_server(sd_output_filename, "My Hosted Services")
I modified the following code from "My Hosted Services" to "Maps".
The .sd file is published to the "Hosted" folder NOT the "Maps" folder??
How do I set the Folder to Maps??
Appreciate any assistance.