Title: How to remove EnableMongo16MBDocumentSupport capability from Azure Cosmos DB to enable CMK encryption?
Title: How to remove EnableMongo16MBDocumentSupport capability from Azure Cosmos DB to enable CMK encryption? Body: I have an Azure Cosmos DB account (Mongo API) that currently has the following capabilities enabled: json CopyEdit `[ {…
Azure Cosmos DB
Unable to Create MongoDB User in Azure Cosmos DB for MongoDB vCore
Per title, I cannot create secondary native users in vCore mongo cluster. EastUS region and M10 tier. No UI exists (as mentioned in answer https://learn.microsoft.com/en-us/answers/questions/5513331/unable-to-create-mongodb-user-in-azure-cosmos-db-f).…
Azure Cosmos DB
Cosmos DB vCore Vector Index Error Outside US Region: InternalError & Server Shutdown (Error Code 91)
Hello, We are encountering consistent issues when performing insert and read operations on a vector index in Azure Cosmos DB vCore outside US regions. While performing vector operations, we get the following…
Azure Cosmos DB
Unable to run pg_partman jobs due to lost permissions on admin account to extension tables
I am using pg_partman to manage partitions. My admin account lost permission to access partman.part_config and cannot run partition jobs anymore and I am unable to grant permission to the table manually for that user. How can I fix this issue and regain…
Azure Cosmos DB
[Azure Cosmos DB][Multi-Write Setup] Does Cosmos DB SDK support cross region retries for transient error codes like 429/410
We have a multi-write region setup. Wanted to know if Cosmos SDK inherently a cross region retries for transient error codes ? Does the cross region retry kick-in after a single failure or multiple failures ? Is the cross region retry configurable at the…
Azure Cosmos DB
Unable to Assign Cosmos DB Built-in Data Contributor Role to Azure Function
In Azure Cosmos DB, there is difficulty in assigning the role of Cosmos DB Built-in Data Contributor to an Azure Function. The option to assign this role is not visible. What steps can be taken to resolve this issue?
Azure Cosmos DB
Unable to Create MongoDB User in Azure Cosmos DB for MongoDB vCore (Tried All Official Methods)
Hello, I'm currently working on setting up secondary users for Azure Cosmos DB for MongoDB vCore (Free Tier), and despite following all the official documentation and community suggestions, I'm still unable to successfully create a new MongoDB user with…
Azure Cosmos DB
How to set shared throughput when using API for Table [CosmosDb] using infra-as-code
I am not able to setup my CosmosDb account level througput as code with bicep. It is not available as stated here: https://learn.microsoft.com/en-us/azure/cosmos-db/table/manage-with-bicep To be honest, this isn't a tip but a missing implementation. It…
Azure Cosmos DB

Unable to create DiskANN vector index
While attempting to create a DiskANN vector index in Azure Cosmos DB, the following error is returned: { "ok": 0.0, "errmsg": "The diskann index is not enabled for this cluster tier", "code": 115, …
Azure Cosmos DB
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…
Azure Cosmos DB
Is the Cosmos DB documentation example on session consistency misleading?
https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels#session-consistency The Cosmos DB documentation example on session consistency states: Whereas the "Australia East" region is using "Session B" so, it receives data…
Azure Cosmos DB
How to connect to Cosmos DB for Mongo using managed identity
I deployed Cosmos DB for Mongo and I can connect using the connection string in Python (for instance). Now I'd like to connect using a user managed identity similar to it is done with Object Storage: cred = DefaultAzureCredentials() client =…
Azure Cosmos DB
Intermittent 404's on Cosmos DB Queries
My service started getting 404's returned intermittently on valid queries to one of our Cosmos DB Account. This started on July 8th, 2025. We didn't have a deployment that had the timing lined up with it. We don't have it on our other Accounts with the…
Azure Cosmos DB
Azure CosmosDb for MongoDb - vCore : manage users and permissions
Hello, We are currently testing Azure Cosmos DB with the VCore model to manage users, where each user would have specific permissions on individual databases. Unfortunately, it appears that this functionality is not yet supported, which is quite…
Azure Cosmos DB
Need to restrict the cosmos DB accessible from public internet.
I have created CosmosDB instant in Azure. Disabled the public access and associated with private endpoint but still cosmosDB url is accessible through internet. How can I restrict the url accessible from internet? tried with NSG also but no luck. Can…
Azure Cosmos DB
CosmosDB, Vector search, diskANN
Trying to experiment with vector search in cosmos db I get an exception: Microsoft.Azure.Cosmos.CosmosException: Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: xxx; Reason: (Message:…
Azure Cosmos DB
Azure CosmosDb for MongoDb - vCore // manage users
Hi Does anyone know when support for managing users in CosmosDb for MongoDb vCore will become available ? We are not really happy with giving admin credentials to users and RU model is way too expensive at the moment. thanks AndyB
Azure Cosmos DB
How to use MSI workload identity to authenticate to CosmosDB Cassandra
Hello, I've provisioned a CosmosDB Cassandra instance, have it configured with private endpoint. the DB is routable/accessible. My question is about using an MSI (either Entra ID Group or a k8s federated Workload Identity to authenticate/authorize…
Azure Cosmos DB

Unable to create graph objects from COSMOSDB Data Explorer (Gremlin)
Please suggest any action to fix these errors. I set up an account for COSMOSDB and trying to create a graph using Gremlin API. I successfully created a graph DB and tried to create some objects using the Data Explorer. I clicked the new Vertex button…
Azure Cosmos DB
Bulk update 100 million+ cosmos records
I have a large collection of data stored in cosmos, ~100 million rows, but it fluctuates higher/lower over time. I would like to change the ‘schema’ of the data to support better reporting capability. In this case I need to add just a single field, which…