MongoDB.Driver.MongoCommandException: "Command aggregate failed: Variable $$SEARCH_META not supported yet."
Hi, I'm trying to migrate an app from MongoDB Atlas to Azure MongoDB vCore. We're using C# code to run an aggregation pipeline but this is failing with the error message MongoDB.Driver.MongoCommandException: "Command aggregate failed: Variable…
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
Not able to create free trial Cosmos DB for PostgreSQL
Not able to create free trial Cosmos DB for PostgreSQL when I try from https://cosmos.azure.com/try/ (able to create Cosmos DB for NoSQL) and getting Internal Server Error all the time. Kindly, let me know how to resolve this issue
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
Cosmos Mongo (RU) aggregation pipeline multi stage query with limit is fetching all records in first match stage
The aggregation pipeline query has following stages - Project (fields to return) Matching criteria Sort by field facet to limit the returned resultant documents. The explain response's shardInformation is showing that total 30,838 documents were…
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
how can I get permission to visit pg_current_logfile() in my Azure Cosmos DB for PostgreSQL Cluster
I want to access my log file in my database (Azure Cosmos DB for PostgreSQL Cluster), but my admin account don't have permission to visit pg_current_logfile().
How long will v2 of the CosmosDB .NET SDK continue to function?
I see in https://video2.skills-academy.com/en-us/azure/cosmos-db/nosql/sdk-dotnet-v2 that the .NET SDK for Cosmos will continue to function past its deprecation date but it doesn't list how long it will do so, is there any timeline for when it might cease to…
Azure cosmos mongo performance metrics collection.
Mongo Cosmos: From "ServerSatus" Command we can be able to find the overall details about mongo service. Details are Connections, Storage engine, Cache, Transactions, Index Stats, locks, network, sessions. In Azure Cosmos for mongo, From Docs…
CosmosDb unable to populate database and container using Bash
I'm literally just trying to follow this tutorial from Microsoft: https://video2.skills-academy.com/en-us/azure/cosmos-db/nosql/tutorial-dotnet-web-app I can't get to step 11, because instead of populating my database, it gives me a parsing error. I'm kinda…
Cost of ADLS Gen2 while enabling Az synpase link for Cosmos database
Hi Team, I am exploring the Azure synapse link for Azure cosmos database, but when I enable the Azure synapse link then it require the azure synapse workspace to be created along with Azure data lake storage Gen2. So, below are my queries around it. …
Migration of data between cross Tenants cosmos DB accounts
Hi Team, We want to migrate data between two cosmos DB NOSQL accounts which are located in two different tenants. One cosmos DB is in "CORP Tenant"(microsoft.com) and another cosmos DB is in PME tenant. Please provide me some guidance on how to…
How to get the deleted events in the consmos db change feeds with continuous backup enabled
Hello, I was wondering if it is possible to get the deleted events in the cosmos db change feed processor. So far I am able to get both update and inserts events and according to the documentation, by enabling the continuous backup it should also be…
Node.js App Downtime Due to Cosmos DB Connection Issues
Hi, We are currently running a Node.js application that uses Cosmos DB as its database. Unfortunately, we experience downtimes of our app every few days. We have tracked the issue and noticed very long connection times (30 seconds or more) to Cosmos DB…
I am unable to create CosmoDB in US East region (or any US region where my app services resource is)
I am unable to create CosmoDB in US East region or create an App Services App in Central US. The error given for both of these cases is "This region has a quota of 0 instances for your subscription. Try selecting a different region or SKU." I…
Exception while performing SSL handshake
We are encountering an intermittent issue: "Exception while performing SSL handshake" when connecting to Azure Cosmos DB for PostgreSQL 16 with Citus 12. Minimum TLS Version: 1.2 Framework: .NET Core 3.1 Library: Npgsql 8.0 using…
how to get the mongodb'post right
ongo.errors.OperationFailure: Invalid key, full error: {'ok': 0.0, 'errmsg': 'Invalid key', 'code': 18, 'codeName': 'AuthenticationFailed'}
Azure Cosmos Spring Partial Update Document Id and _etag
I’m working with the patch feature with Spring Data Cosmos (Java Spring Boot). I have a scenario where I need to patch a field in a deeply nested object within my main document class, User. Suppose that I need to update a flag within User at the path…
when is the Newtonsoft v10.0.2 going to be updated in Microsoft.Azure.Cosmos v3.42. this version of newtonsoft has security vulnerablities
it's simple: when is the Newtonsoft v10.0.2 going to be updated in Microsoft.Azure.Cosmos v3.42. this version of newtonsoft has security vulnerablities and i cannot find any information on when this Newtonsoft vulnerability will be…
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
App service request got 403 by Cosmos
I have several app services they all have it's own virtual network. And for cosmos networking, I set the cosmos to have public access -> selected network -> add all the virtual networks for those app services. But I still got error of 403 from…
Getting MongoCommandException When Trying to Create a MongoClient
I’m getting the below error when trying to create a MongoClient using the connection string got from Azure MongoDB CosmosDB. com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1,…
Self Hosted Integration Runtime Connection Failed with Azure Cosmos DB for PostgreSQL
In datafactory we have a step which connects with Azure CosmosDB for PostgreSQL to copy the some data to other DB using self hosted integration runtime, Its was working fine till last week. Suddenly there is intermittent connectivity issue & we are…
Strange behavior with numbers
Hello, We’ve been using cosmos for a few years now and just recently discovered some odd behavior. We are using the .net SDK but occasionally use the data explorer to manually view/update data for production support purposes. To illustrate this odd…