We are currently working on this feature and have made it available in Preview in the Azure Portal.
Please feel free to test Aggregation Pipeline support for your MongoDB API accounts in Cosmos DB by opening your MongoDB API account, then clicking on “Preview” tab on left hand side and then Enable for Aggregation Pipeline.
While there please feel free to test support for MongoDB 3.4 support as well as Per-Document TTL support.
Thank you for your request and votes.Ryan Kelley commented
Could you please comment back on the status of this? We are seeing exponentially slower aggregation queries on Azure versus locally.Ryan Kelley supported this idea ·
Thank you for all the votes and feedback. We have started work on this and the capability will be supported soon. If you would like to get in touch with us to discuss your scenarios, please fill this form: https://aka.ms/ApplicationGatewayCohortRyan Kelley commented
Any updates on the status of this? We run a saas application that has thousands of subdomains, this appears to be the only limiting factor keeping us from being able to utilize Application gateway