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?