I am trying to print secured services using arcpy.Mapping.ConvertWebMapToMapDocument. I am unable to provide the proper connection information to the secured service. Here is what I get in the results when I try to run:
I am able to use Export Web Map Task for basic printing and can print secured services. I added the connection info to the Export Web Map Task. Now I am trying to modify the AdvancedHighQuailityPrinting demo but have not been able to correctly provide the connection info. I am following the information in the Help documentation for ConvertWebMapToMapDocument and am providing the same connection information that I used for basic printing:
I have tried adding the connection information on the gis server and on my local machine.
In what format do I need to provide the connection information?
Where does the connection information need to be? The GIS Server, the web server, the local machine?
I am using ArcGIS 10.3.1.