Hi there,
I'm a little confused. I thought, that arcpy has the same functionality, no matter where it is used - except from differences due to licensing-levels (Basic/Standard/Advanced). I just found out, that the arcpy-function "TableToExcel_conversion" does not support exporting to xlsx, only xls on our ArcGIS Server. Searching for this in the documentation, I found out, that in ArcMap, only xls is supported, but with ArcGIS Pro, xlsx as well. But what about ArcGIS Enterprise? I run a geoprocessing service on our ArcGIS Server (10.7).
Any ideas? I feel like I'm having a mental blank ...