Hi Michael
No it is not.
Here is my inputServer variable
service = r"C:\Users\gistaskscheduler\AppData\Roaming\Esri\Desktop10.7\ArcCatalog\arcgis on spar01 (publisher)\GXInternalMaps\GXBasemapCache_ArcGISPro.MapServer"
I used the example found here
https://pro.arcgis.com/en/pro-app/tool-reference/server/create-map-server-cache.htm
I noticed that it does not inlcued the '.ags' file extension.
Also do you think it matters if the server connection was created in ArcMap as opposed to ArcGIS Pro?
Cheers
Peter