I'm writing a script to update some of our Cache services and I'm having a hard time connecting to the services via Arcpy. I have connected to the ArcGIS Server via ArcCatalog and the associated connection file (.ags) is in my local catalog folder (C:\Users\<user_name>\AppData\Roaming\ESRI\Desktop10.8\ArcCatalog\<server_name>.ags) but Arcpy.Exists() fails when trying to connect. I have existing .sde Database Connections that work so I'm not sure what I'm missing.
related discussion
Seeking clarification on arcpy.Exists() and .ags p... - Esri Community