Hello,
I want to publish a Map Image Service on ArcGIS Enterprise 10.8.1 with arcpy in ArcGIS Pro using arcpy.MapImageSharingDraft. By adapting the Modify SDDraft example 3 I parsed the Map Image Service sddraft to enable the WMS option.
The next stept would be staging and publishing but an error appears when staging: Error 00297 because WMS layer has to be shared with everyone.
Is there a way to define the sharing option before staging the sddraft like setting an option in the sddraft itself? I wasn't able to find a line which adresses this issue.
Regards
Michael