We have a geoprocessing service that exports our map to pdf. This is accomplished using the layout.exportToPDF method (I've also tried png).
The layout is obtained by first constructing an ArcGISProject with arcpy.mp, then listing layouts, and taking the one of interest.
We are running in portal on 10.9.1.
The problem is that there is a bing basemap that is on the portal and when exported using the PRO interpreter, the basemap is printed, but when exported using the SERVER interpreter, the basemap is not printed. I have tried the arcpy.SignInToPortal, and it does not help at all. Additionally, I was able to call arcpy.GetPortalDescription and was able to successfully see the bingKey (though I have no clue how I could utilize it to help).
Is there a special trick to get bing base maps to print with a geoprocessing service? Or is it not supported?
Hello @Bryan_Price, are you able to print a Bing basemap (without using the geoprocessing service for now) using your currently configured ArcGIS Server print service?
I was able to start the print service and configure it as the default print service in the portal. I then navigated to the bing map in portal and used the print functionality in MapViewerClassic, it called the print service (as I watched traffic from fiddler). It generated an image.
Our application is a javascript application and we allow our customers to utilize aprx files as templates. This was interesting to see the printing service to work with a web map though.
The more I look at it the more I think the gp service issue is bug.