Usage of Continuation Token in production CosmosDB
My question relates to the working of Continuation Token in CosmosDB. My use case is the following - at some time t1, I want to start fetching some subset of documents from one of my containers in my CosmosDB account. This subset can be fetched using a…
Cosmos DB NoSQL Connection Pooling in FastAPI
Is it necessary to implement a connection pool at the application level when using Azure Cosmos DB NoSQL with autoscale enabled? The backend is built on FastAPI, and there is confusion regarding the appropriate way to manage connection pooling. Some…
Unable to Create Stored Procedure in Azure Cosmos DB Container
Experiencing an issue when attempting to create a new stored procedure in a specific container within Azure Cosmos DB. The error encountered is as follows: Error while creating stored procedure spSelectCount: Message:…
Extends timeout maxTransactionLockRequestTimeoutMillis in Azure Cosmos DB for MongoDB
Hi We are facing interuption because of this maxTransactionLockRequestTimeoutMillis was set 5 seconds by default. How to modify or extends the timeout to be 30 seconds? Thank you
Recommended RU Configuration for CosmosDB Container in Real-Time Event Stream Pipeline
What is the optimal RU configuration for a CosmosDB container when it is used as a source in a real-time ingestion pipeline? The initial attempt was made with a free tier CosmosDB container, which did not work. After creating another container with…
Getting authentication error pop-up on CosmosDB portal Data Explorer
RBAC users who have access to our CosmosDB instance are getting the following pop-up on the Azure portal Data Explorer. I am an owner, and I also see the error. It seems to be irrelevant, as all access to configurations and data based on role is working.…
Enable Partition Key delete feature for Cosmos account
Hi, I need to use the API DeleteAllItemsByPartitionKeyStreamAsync (https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-delete-by-partition-key?tabs=dotnet-example) for one of my usecase. I enabled the DeleteAllItemsByPartitionKey capability by…
New column in CosmosDB NoSQL does not show up in Analytical Store
When we add a new column to new documents in our CosmosDB NoSQL container, the new column does not show up in Analytical Store unless we add that new column to every other document in the container. This breaks not just queries for the new column, but…
How can I map or associate a value to another in Cosmos DB (e.g., map Jabalpur to MP)?
I have a document in Cosmos DB where one field contains a city name like Jabalpur. I want to map this city to a corresponding state value, e.g., MP. What is the best way to store or structure this kind of mapping in Cosmos DB? Should I use embedded…
What is the limit of collection in Azure Cosmos DB for MongoDB (vCore) ?
According to the official documentation for Azure Cosmos DB for MongoDB vCore (https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/limits), there is a stated limit of 1000 collection per cluster. However, in my current setup (Cluster tier :…

How to rollback the upgrade of the minimum TLS version from 1.0 to 1.2 in Cosmos DB
We are planning the upgrade of the minimum TLS version from 1.0 to 1.2 in our Cosmos DB resources. As part of this planning we need to try the rollback to TLS 1.0 in case we have problems with the applications. But I haven´t found an option in the azure…
FullTextScore not working with Cosmos DB (NoSQL)
I’m using Cosmos DB with both Full-Text & Hybrid Search for NoSQL API and Vector Search for NoSQL API (both enabled before container creation). I’ve set up the appropriate indexing policy with full-text and vector indexes. Here are three queries I’m…
Unable to Connect Mongo Compass to Provisioned Cosmos Mongodb
Hello! Just transitioned from a serverless cosmos mongodb instance to a provisioned one. Was previously able to connect to my serverless instance with mongo compass using the connection string. With the provisioned instance, I am unable to use mongo…
Error using Cosmos DB (MongoDB API vCore) Vector Search with LangChain: 'embedding' KeyError
Hi everyone, I'm implementing semantic search using LangChain and Azure Cosmos DB (MongoDB API vCore) with vector search (vector-diskann). I'm generating embeddings using Azure OpenAI with the text-embedding-3-large model. Everything works fine until…
Audit Logging Enablement on Azure CosmosDB
Why "disableKeyBasedMetadataWriteAccess" needs to be disabled on Azure Cosmos DB before enabling Control plane logging on it ? Without having it configured, will it miss to capture any of the CURD operations on the logging ?
How can I maintain custom order of properties in Azure Cosmos DB instead of alphabetical order?
In Cosmos DB, I want to store properties like 1. Key, 2. Inside, etc., in the order I define. However, Cosmos DB seems to automatically sort them alphabetically, which creates issues — especially when these documents are passed to LLMs that rely on the…
Conflicts not appearing in the Conflict Feed
Hello everyone! I'm currently trying to understand how to generate conflicts in order to test some stored procedures I've developed to solve conflicts. Right now I'm not testing the stored procedures, I'm just trying to understand how can I generate…
i dropped Azure Cosmos DB for PostgreSQL Cluster resource
Hello, by mistake, I dropped Azure Cosmos DB for PostgreSQL Cluster resource. Can I recover this resource to state before dropping with it's data? Thanks
Unable to delete containers as one of the container name contains &
In Azure cosmos database, I created a container name with &. I didn't realize that it would create a problem. This container name passed from dev environment to production environment. Now I want to get rid of this container as I am not using. But…
MongoDB Container persisted to Azure Blob (Container) Storage get corrupted
Hi, I am using “mongo:noble” container for my AKS project, the container is persisted to Azure Container Storage ( Blob storage ). It was working fine till last month, but then suddenly when the AKS was loading the MongoDB container it started failing…