2,126 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer

Partitionkey for Cosmosdb

We need to change the partition key for our collection in cosmosdb , Just wanted to know how can we do that?

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-15T21:11:55.04+00:00
HimanshuSinha 19,637 Reputation points Microsoft Employee Moderator
commented 2026-05-15T22:50:53.14+00:00
SAI JAGADEESH KUDIPUDI 3,115 Reputation points Microsoft External Staff Moderator
0 answers

Using Managed Identity for Cassandra

Hi We are using Cassandra in our project with a requirement for use of managed identity. When we were handed this project over, we were told that because Cassandra DB does not support managed identity, we cannot use Cassandra to satisfy this and we must…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-14T05:14:37.4666667+00:00
Shreyas Ketkar 0 Reputation points Microsoft External Staff
commented 2026-05-15T05:19:24.4733333+00:00
Shreyas Ketkar 0 Reputation points Microsoft External Staff
1 answer

Azure MongoDB storage usage

I have a Azure DocumentDB (with MongoDB compatibility) that is being replicated to another region. The issue I'm having is that the actual data size is 450mb but the storage usage is 150 GB and it keeps growing. I suspect that the storage was being used…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-04-20T01:46:56.0866667+00:00
Jong Shin 20 Reputation points
commented 2026-05-14T22:51:41.3566667+00:00
SAI JAGADEESH KUDIPUDI 3,115 Reputation points Microsoft External Staff Moderator
0 answers

Is there a way we can port over some certain container in one CosmosDb to another

hi we are doing some lift and shift work for cosmosDB, the old DB is under service A subscription AA which contains multiple containers, in which we want to port over only selected container data in to a new cosmosDB under service B subscription BB. is…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-14T21:39:12.87+00:00
Zetian Yu 0 Reputation points Microsoft Employee
commented 2026-05-14T22:04:57.7166667+00:00
SAI JAGADEESH KUDIPUDI 3,115 Reputation points Microsoft External Staff Moderator
1 answer

Azure DocumentDB / Cosmos DB for MongoDB vCore — enable Preview $jsonSchema collection validators on cluster

Looking to enable the Preview $jsonSchema collection validator feature introduced in the Oct 10 2025 service release notes (engine build 1017: "Add schema validation support for $jsonSchema during rule creation or modification") on our vCore…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-14T20:34:01.4133333+00:00
Ghaith Almasri 20 Reputation points
commented 2026-05-14T21:17:01.66+00:00
SAI JAGADEESH KUDIPUDI 3,115 Reputation points Microsoft External Staff Moderator
0 answers

Cosmos DB Fabric mirroring fails with readAnalytics RBAC error despite correct custom role assignment

Replication is blocked because current user does not have the required RBAC permissions to perform the action (Microsoft.DocumentDB/databaseAccounts/readAnalytics) on any scope. ErrorCode: AuthenticationError, ArtifactId: ***, SequenceNumber: 1 I have…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-13T12:56:28.6+00:00
Kelvyn Risso 0 Reputation points
commented 2026-05-14T15:52:19.3533333+00:00
Manoj Kumar Boyini 14,495 Reputation points Microsoft External Staff Moderator
1 answer

Unable to create Cosmos DB service in UAE North

Hi Team, Good morning. I need to create cosmos db service in UAE north location. But it is greyed out for months. Can I get the reason for the issue and if possible allow this for my subscription. Subscription Id -…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-14T04:55:53.48+00:00
Jamerishi M 0 Reputation points
commented 2026-05-14T11:53:12.1366667+00:00
Senthil kumar 315 Reputation points
1 answer One of the answers was accepted by the question author.

Updating the partition key of a cosmos collection

Hello , Can we change the partition key of a container once it is created? thanks himanshu

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-14T06:46:43.7333333+00:00
HimanshuSinha 19,637 Reputation points Microsoft Employee Moderator
commented 2026-05-14T07:23:13.4066667+00:00
SAI JAGADEESH KUDIPUDI 3,115 Reputation points Microsoft External Staff Moderator
1 answer

Cosmos not able to enable Synapse Link

I have a few Cosmos accounts for test and production and they were running fine with synapse link. Last week I deleted our test cosmos and recreated it with no issue. Today I tried to perform the same steps on our production environment and I now get…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-13T00:26:13.8766667+00:00
Craig Webb 100 Reputation points
commented 2026-05-13T20:31:53.6533333+00:00
Craig Webb 100 Reputation points
0 answers

Mongodb connection timeout issues

Hi, I am experiencing connectivity issues between an Azure App Service and Azure Cosmos DB for MongoDB after making infrastructure and application updates. Environment: Azure App Service (Linux container) Azure Cosmos DB for MongoDB vCore Private…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-12T13:08:28.5566667+00:00
Garett Matsilele 0 Reputation points
commented 2026-05-13T13:06:10.2866667+00:00
Garett Matsilele 0 Reputation points
1 answer One of the answers was accepted by the question author.

Azure for Students - Cosmos DB region restriction, only US regions available in portal

Hello, I am a university student using an Azure for Students subscription and I am unable to create a Cosmos DB account in any usable region. I would appreciate any help resolving this. Problem 1 — Azure Portal When creating a Cosmos DB account through…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-11T16:38:51.78+00:00
Tudor, Marius (Student) 20 Reputation points
commented 2026-05-11T17:18:52.36+00:00
TP 156.6K Reputation points Volunteer Moderator
1 answer

Cosmos DB for MongoDB (vCore) — data plane unreachable on port 10260 while control plane reports Ready

A production Cosmos DB for MongoDB (vCore) cluster in Canada Central has stopped accepting connections on its data plane, but the control plane continues to report the cluster as healthy. Symptoms: TCP connections to the cluster's front-end node on…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-08T14:02:01.5166667+00:00
Automate Insurance 0 Reputation points
commented 2026-05-11T06:50:32.7766667+00:00
Manoj Kumar Boyini 14,495 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

Request for Assistance – Cosmos DB Cluster Not Resuming After Subscription Payment

Hello Team, My Azure subscription had entered a past-due state due to pending payment. The outstanding amount has now been fully paid, and almost all Azure services/resources under the subscription resumed automatically without any manual…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-08T10:47:31.8666667+00:00
Sounick 20 Reputation points
commented 2026-05-11T06:50:09.87+00:00
Manoj Kumar Boyini 14,495 Reputation points Microsoft External Staff Moderator
1 answer

Cosmos total request units compared to requests

We have a cosmos account that has extremely high total request units, which do not match the number of requests. The workload drops down to virtually zero over night yet it has been consistently high. How can we identify what is causing this total…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-06T03:12:40.58+00:00
Trevor Nichols 0 Reputation points
edited a comment 2026-05-07T02:43:14.8+00:00
Pilladi Padma Sai Manisha 7,800 Reputation points Microsoft External Staff Moderator
3 answers

TTL Index not working on MongoDB for CosmosDB

I created a TTL Index on my MongoDB for Cosmos DB collection of 86400 seconds (24 hours). There are many docs beyond this range but the index is not removing them.

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-02T15:11:30.8533333+00:00
Azure - Keith Delaski 0 Reputation points
commented 2026-05-06T15:53:59.9233333+00:00
Santhosh Kumar Machukuri 0 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Azure Cosmos Emulator (Windows MSI) error in Microsoft.Azure.Cosmos.StartupEntryPoint.exe

Install the emulator on a fresh Windows Server 2016 Datacenter with .Net Framework 4.8.0 and x64 Visual C++ 2015–2022 Redistributable Get error on startup in Microsoft.Azure.Cosmos.StartupEntryPoint.exe Tried the following troubleshooting steps…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-03-11T19:11:13.9166667+00:00
Andriy Svyryd 40 Reputation points Microsoft Employee
accepted 2026-05-06T00:55:44.9733333+00:00
Andriy Svyryd 40 Reputation points Microsoft Employee
1 answer

Single Cosmos DB for MongoDB collection unreachable — 503/SubStatus 21005 on management plane, MongoDB error 50 (MaxTimeMSExpired) on data plane, sibling collections healthy

Single Cosmos DB for MongoDB collection unreachable — 503/SubStatus 21005 on management plane, MongoDB error 50 (MaxTimeMSExpired) on data plane, sibling collections healthy TL;DR On a serverless Azure Cosmos DB for MongoDB account in West Europe,…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-05T11:08:31.36+00:00
Grote, Marcel 0 Reputation points
commented 2026-05-05T12:07:26.76+00:00
Pilladi Padma Sai Manisha 7,800 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

CosmosDB container autoscale max throughput limited doesn't match documentation

I'm attempting to update the autoscale maximum throughput on a Cosmos DB SQL container to 200,000 RU/s, which is well within the documented maximum of 1,000,000 RU/s. However, the request fails with the following error: Code: BadRequest Message:…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-05-01T19:27:47.6166667+00:00
Josiah Vinson 20 Reputation points Microsoft Employee
accepted 2026-05-04T15:49:01.8666667+00:00
Josiah Vinson 20 Reputation points Microsoft Employee
1 answer

Azure DocumentDB cluster stuck in Updating and unreachable

I need urgent assistance with my Azure DocumentDB cluster. The cluster was operating normally. After approximately 7:02 PM, the Azure Monitor CPU graph started showing uneven/sparse points instead of a solid line, while staying around the same high…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-04-30T16:57:45.6666667+00:00
Taras G 0 Reputation points
commented 2026-05-03T10:11:10.22+00:00
SAI JAGADEESH KUDIPUDI 3,115 Reputation points Microsoft External Staff Moderator
3 answers

i m unable to make cosmosdb and fucntion app in my current azure student subcription in any region

when i tries to make cosmosdb and function app and many more things it says in error thats not allowed by azure so plaese tell me can i make cosmosdb and function app like services in my current subscription or not

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,126 questions
asked 2026-04-17T06:02:11.83+00:00
himanshu saini 0 Reputation points
commented 2026-05-03T09:29:51.4966667+00:00
SAI JAGADEESH KUDIPUDI 3,115 Reputation points Microsoft External Staff Moderator