tl/dr;
Using bulkWrite to batch replaceOne operations to Azure CosmosDB with MongoAPI with upsert:true. Works correctly on empty test collection but