2,140 questions with Azure Cosmos DB tags

Sort by: Updated
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,140 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,310 Reputation points Microsoft External Staff Moderator
3 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,140 questions
asked 2026-05-28T00:38:00.4233333+00:00
Craig Webb 100 Reputation points
commented 2026-06-04T14:32:00.84+00:00
Pilladi Padma Sai Manisha 8,890 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,140 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,310 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,140 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,310 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,140 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,140 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,220 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,140 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,140 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,140 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,140 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 8,890 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,140 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,310 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,140 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,140 questions
asked 2026-05-25T11:43:46.9+00:00
commented 2026-05-26T16:33:40.3933333+00:00
Amira Bedhiafi 42,046 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,140 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,140 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
0 answers

Request RU quota increase for Azure Cosmos DB resources

Hi, in production for our (I can't raise a support ticket from SAW, so I'm reaching out here). Subscription Name: MSPurview_Prod_Global_Platform Resource group: ms-purview-ps-db-global-prod Cosmos DB name: ms-purview-ps-db-global-prod I need to request…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,140 questions
asked 2026-04-30T10:11:02.8266667+00:00
Sakshi Chadha 0 Reputation points Microsoft Employee
edited a comment 2026-05-25T07:58:37.8233333+00:00
Pilladi Padma Sai Manisha 8,890 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Increase CosmosDB Quota

Increase following CosmosDB max RUs per container to 500K

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,140 questions
asked 2026-05-21T09:43:29.49+00:00
Lingxiao Shi 20 Reputation points Microsoft Employee
accepted 2026-05-23T00:50:19.1933333+00:00
Lingxiao Shi 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,140 questions
asked 2026-05-22T23:14:53.6833333+00:00
Govind Prasad Pandia (HCL TECHNOLOGIES) 0 Reputation points Microsoft Employee
commented 2026-05-23T00:15:59.45+00:00
Dio Xavier 285.6K Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

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,140 questions
asked 2026-05-13T12:56:28.6+00:00
Kelvyn Risso 20 Reputation points
accepted 2026-05-22T13:18:20.6133333+00:00
Kelvyn Risso 20 Reputation points
2 answers

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,140 questions
asked 2026-05-22T08:22:15.8266667+00:00
Scott Edden 0 Reputation points Microsoft Employee
answered 2026-05-22T09:13:54.9833333+00:00
Pilladi Padma Sai Manisha 8,890 Reputation points Microsoft External Staff Moderator