Hi @Paul Conway Thank you for posting your question on Microsoft Q&A and for using Azure services
From my understanding you are trying to run an aggregation in CosmosDB/MongoDB shell compatibily 4 in serverless mode with the C# mongodb driver version 2.14.1 and getting a timeout after 60.
The 60 sec timeout is a Cosmos-wide functionality that cannot be changed unfortunately. In a scalable system, long-running operations are an anti-pattern - splitting them up is the solution. Here's some documentation explaining that and some options to make things work: Troubleshoot common errors in Azure Cosmos DB's API for Mongo DB | Microsoft Learn
Hope that helps
If the answer helped solve your problem please mark as "accept" as it will be helpful for other community members with the same issue.
Regards,
Oury