when I use this sharing_draft = m.getWebLayerSharingDraft("FEDERATED_SERVER", "MAP_IMAGE", service) I get an error missing target server.
I'e signed in using my /portal url and my federated server is on a /server GIS site url. There is no-where to tell it the name of the target sever or url
thoughts? Trying to publish a Pro project file as a federated map image through code.