2,143 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer

Unable to provision cosmosdb in NorwayEast

        "statusMessage": "{"status":"Failed","error":{"code":"ResourceOperationFailure","message":"The resource operation completed with terminal provisioning state…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-06-11T17:27:39.07+00:00
Yingying Zhao 0 Reputation points Microsoft Employee
commented 2026-06-12T17:46:52.9233333+00:00
Yingying Zhao 0 Reputation points Microsoft Employee
2 answers

how to restore a cosmos db with new name in my resource group

 Se requiere una restauración de esta bbdd cosmos  cdaeuecpprdave2-1

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-06-11T23:37:16.6933333+00:00
commented 2026-06-12T17:02:42.3233333+00:00
Jose Benjamin Solis Nolasco 8,076 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

CosmosDB vCore M10 - Node storage 42GB with only ~300MB actual MongoDB data, growing daily — cannot inspect internals

Environment: Service: Azure Cosmos DB for MongoDB (vCore) Tier: M10, currently on 64GB storage allocation Region: South East Asia Single shard cluster Problem: Azure Metrics → Storage Used → Split by ServerName shows ~42GB used on the primary…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-06-08T04:40:39.85+00:00
Dipesh Khaiju 40 Reputation points
accepted 2026-06-11T03:26:09.96+00:00
Dipesh Khaiju 40 Reputation points
2 answers One of the answers was accepted by the question author.

CosmosDB connectivity issues recently affecting a number of our accounts in our TestTRS01 subscription

Problem Description Newly created Cosmos DB containers on both accounts immediately enter a 410 Gone / substatus 1000 state and never recover without external intervention. The containers remain in this state for hours to weeks. The control-plane API…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-22T08:22:15.8266667+00:00
Scott Edden 20 Reputation points Microsoft Employee
accepted 2026-06-10T17:15:09.0666667+00:00
Scott Edden 20 Reputation points Microsoft Employee
2 answers

Cannot create Azure Managed Instance for Apache Cassandra — persistent BadRequest error claiming Cosmos DB SP lacks Network Contributor role, even though role is assigned

I am trying to create an Azure Managed Instance for Apache Cassandra cluster in East US 2 using az managed-cassandra cluster create. The operation consistently fails with: "Please make sure that the service principal Azure Cosmos DB…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-22T23:14:53.6833333+00:00
Govind Prasad Pandia (HCL TECHNOLOGIES) 0 Reputation points Microsoft Employee
edited a comment 2026-06-09T14:41:46.46+00:00
Manish Deshpande 6,915 Reputation points Microsoft External Staff Moderator
4 answers

CosmosDB Serverless Change Feed not triggering Python Azure Function

I have a very basic python azure function that is deployed to a Flex Consumption plan, code reference below. When I first deploy this function it generates the lease documents in the lease container. I then add a new document to my Cosmos Container and I…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-28T00:38:00.4233333+00:00
Craig Webb 100 Reputation points
answered 2026-06-07T13:25:28.1233333+00:00
Vinodh247-1375 43,101 Reputation points Volunteer Moderator
2 answers

Azure Cosmos DB for PostgreSQL - Clarification on Restore Behavior and Recommended Migration Approach

We have an Azure Cosmos DB for PostgreSQL cluster with the following configuration: 1 Coordinator Node (8 vCores, 512 GB Storage) 7 Worker Nodes (8 vCores, 4 TB Storage per Worker) PostgreSQL 16 Citus 12.1 One of the worker nodes was approaching…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-06-03T13:42:34.4766667+00:00
RAKSHITHA BAI 0 Reputation points
commented 2026-06-05T06:08:30.87+00:00
Manoj Kumar Boyini 16,725 Reputation points Microsoft External Staff Moderator
3 answers

Enable zone redundancy and AZ migration capability disabled

We are trying to enable zone redundancy on our existing cosmos db account. Got the below error when zone redundancy was enabled: We want to enable our subscription for AZ migration capability. But, other than that we also want to understand what the…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-27T20:25:51.1166667+00:00
Asawari Chingale 0 Reputation points Microsoft Employee
commented 2026-06-04T05:27:34.1+00:00
Manoj Kumar Boyini 16,725 Reputation points Microsoft External Staff Moderator
1 answer

Getting error when trying to access Cosmos DB analytical storage

When running query against Cosmos DB analytical storage, I am getting the following error: Msg 15893, Level 16, State 51, Line 30 Resolving CosmosDB path has failed with error 'Cosmos DB analytical storage contains no data.'. Completion time:…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-06-01T15:07:08.5+00:00
Julius Dietmar 20 Reputation points
commented 2026-06-03T13:01:14.95+00:00
Manoj Kumar Boyini 16,725 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Cosmos DB Multi-Region Sync Enabled – Azure Search Indexer Failures Observed, Requesting Sync Disablement or Resource Scale-Up

We scaled up Cosmos DB to 1.2 million RU/s and enabled Multi-Region Read/Write sync. However, the synchronization operation has been running for almost 18 hours and is still not completed. Due to this ongoing background synchronization process, a few…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-28T06:07:22.9166667+00:00
Nivetha J 40 Reputation points Microsoft External Staff
accepted 2026-06-02T05:38:48.9+00:00
Nivetha J 40 Reputation points Microsoft External Staff
1 answer

AZ migration capability is disabled

Made post on behalf of: @Anonymous We have an issue with AZ migration capability: AZ migration capability is disabled for subscription 52a11d32-2a8b-4a14-9c95-14e83665faa4. Please contact sotofera on teams. Status: Failed Error: Code: BadRequest…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-22T23:42:46.11+00:00
Evan Wong 0 Reputation points Microsoft Employee
commented 2026-06-01T20:17:00.2066667+00:00
SAI JAGADEESH KUDIPUDI 3,385 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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,143 questions
asked 2026-05-14T05:14:37.4666667+00:00
Shreyas Ketkar 40 Reputation points Microsoft External Staff
accepted 2026-06-01T16:24:32.0266667+00:00
Shreyas Ketkar 40 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Cosmos DB Multi-Region Sync Enabled – Azure Search Indexer Failures Observed, Requesting Sync Disablement or Resource Scale-Up

Cosmos DB Multi-Region Sync Enabled – Azure Search Indexer Failures Observed, Requesting Sync Disablement or Resource Scale-Up

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-27T16:58:05.2933333+00:00
Raghava Kanike (NON EA SC ALT) 20 Reputation points Microsoft Employee
commented 2026-06-01T05:26:50.9933333+00:00
Santhosh Kumar Machukuri 0 Reputation points Microsoft External Staff Moderator
2 answers

add user in cosmosdb Azure DocumentDB (with MongoDB compatibility) with entra authentication

i need to add user in cosmosdb Azure DocumentDB (with MongoDB compatibility) db...and the user is to connect to the via entra authentication only.... guide me how to add the user to connect to the db with privileges like read, read-write with entra…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-03-11T07:06:42.62+00:00
Gajjala, Vinod Reddy 0 Reputation points
commented 2026-05-28T10:26:14.44+00:00
Gennadiy Dubina 0 Reputation points
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,143 questions
asked 2026-05-13T00:26:13.8766667+00:00
Craig Webb 100 Reputation points
commented 2026-05-28T03:05:12.44+00:00
Pilladi Padma Sai Manisha 9,945 Reputation points Microsoft External Staff Moderator
2 answers

Azure DocumentDB (with MongoDB compatibility) Connection Timeouts

We have started to experience connection timeouts for our Azure DocumentDB MongoDB resource. We have an app running in container apps which connects to the database over private link which is suddenly unable to connect. Also, when I try to connect from…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-18T15:23:26.5566667+00:00
Phillip Stenger 5 Reputation points
commented 2026-05-27T15:01:24.86+00:00
Manoj Kumar Boyini 16,725 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Cosmosdb is being in "deleting state" from past 1 week

I am not able to delete cosmosdb in my subscription. It has been more than a week since we initiated this operation.

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-01T15:18:49.46+00:00
Sonalika Roy 20 Reputation points Microsoft Employee
accepted 2026-05-27T01:30:51.3633333+00:00
Sonalika Roy 20 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Having time out issue while querying COSMOS DB with filter

Hi I hava a COSMOS Database with mongodb core with around 5.5 Lac records. The query is giving consistent timeouts when using a filter long with vector Search. We have configured to use DISKANN for vector search. The Filter query is a simple check like…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-25T11:43:46.9+00:00
commented 2026-05-26T16:33:40.3933333+00:00
Amira Bedhiafi 42,846 Reputation points MVP Volunteer Moderator
0 answers

Join: Microsoft Azure Q&A Champions Program

The Microsoft Azure Q&A Champions Program recognizes and empowers a global community of internal and external Azure experts who help customers succeed by providing high-quality, trusted answers on Microsoft Q&A. The program scales expert led…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-26T00:05:48.7333333+00:00
Ashley Swearingen 0 Reputation points Microsoft External Staff Moderator
answered 2026-05-26T00:06:16.1866667+00:00

AI answer

1 answer One of the answers was accepted by the question author.

Unable to trace a change in CosmosDB Activity Log

We have a terraform pipeline that manages our infrastructure, and at one point we are seeing that it has a change. We believe it moved it from backup type Periodic to Continuous (and thus is terraform plan giving us the plan to move it back). We…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,143 questions
asked 2026-05-02T00:36:26.9433333+00:00
Berry de Groot 20 Reputation points Microsoft Employee
accepted 2026-05-25T15:33:53.58+00:00
Berry de Groot 20 Reputation points Microsoft Employee