2,157 questions with Azure Cosmos DB tags

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

what are the risks with deleting Cosmos Replica?

Hi, I've got an Azure Cosmos DB account running a single container. The db is quite large and we're being charged double in storage costs as we have our main replica, then a readonly replica in practically the same region. We want to look at deleting the…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-09-04T02:31:42.9966667+00:00
Jesse 0 Reputation points
accepted 2026-09-04T03:38:33.4333333+00:00
Jesse 0 Reputation points
0 answers

Foundry Standard Agent Setup (BYO Cosmos DB), run-state-v1 container throttled at 1000 RU/s

Hi. I'm running a Foundry Standard agent setup with Bring-Your-Own (BYO) thread storage backed by my own Azure Cosmos DB for NoSQL account. Setup: Standard agent setup (own Cosmos DB, Storage, AI Search) Cosmos DB: no total throughput limited,…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-09-02T10:41:23.93+00:00
Nutpapon Limsupavanich 20 Reputation points
commented 2026-09-03T14:32:16.02+00:00
Himaja Y 280 Reputation points Microsoft External Staff Moderator
1 answer

Cosmos DB: Elevated latency in refrehtoken container — Request analysis and troubleshooting steps

Problem description I am experiencing elevated request latency (~3 seconds per request) against the 'refreshtoken' container in my Azure Cosmos DB SQL API account located in West ***. The latency issues began on August 31, 2026, at 07:00 UTC+03:00,…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-09-01T10:55:26.8766667+00:00
CLOUD - Semih BAY 0 Reputation points
answered 2026-09-02T16:49:03.2533333+00:00
Allan Solomon Mejia 7,585 Reputation points
1 answer

How to move Cosmos DB, SQL, storage data from an expired subscription

So my friend had a MSDN enterprise and activated an Azure subscription. It gave me access too and I put some resources in there that I used from time to time. Now, subscription is disabled and didn't see the warning messages in time due to filters and…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-08-26T12:42:32.2933333+00:00
Claudiu 0 Reputation points
commented 2026-09-01T02:04:30.5833333+00:00
SIVASANKAR YEDDULA 150 Reputation points Microsoft External Staff Moderator
1 answer

Azure Cosmos DB: Resource Stuck in Updating State — Unable to Complete Region Move

Problem description I am facing an issue where my Azure Cosmos DB for MongoDB (vCore) resource, ', has been stuck in the 'Updating' provisioning state since August 16, 2026. Attempts to move the resource to West Europe region have failed, and the…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-08-25T13:37:28.44+00:00
ViBenderest-3341 0 Reputation points
answered 2026-08-25T21:21:27.22+00:00
Allan Solomon Mejia 7,585 Reputation points
1 answer

Restore Cosmos DB

A Cosmos DB has been deleted by mistake. A blank one has been created in it's place with the same name. We need to restore the database to before the delete this morning at around 07:30am UTC. It's not possible to view the restore points in Azure for…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-08-03T13:18:33.37+00:00
IV ServiceDesk 0 Reputation points
commented 2026-08-20T13:01:11.62+00:00
SAI JAGADEESH KUDIPUDI 3,645 Reputation points Microsoft External Staff Moderator
1 answer

Data API enablement in Azure Cosmos DocumentDB vCore

I have attempted to enable the Data API feature for my Cosmos DB. It is accepted, I see the Data API change to ON but is greyed out, and the Status on Overview changes to Updating. This goes for about an hour then status changes to Ready. I check the…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-08-06T01:02:48.4+00:00
Pete Cordova 0 Reputation points
commented 2026-08-06T06:55:13.48+00:00
Peram Venkateswara Reddy 260 Reputation points Microsoft External Staff Moderator
1 answer

Azure Cosmos DB (NoSQL / Core SQL API): Container created with newer SDK (V2 / large or hierarchical partition key) cannot be read by older SDK — HTTP 400 "collection cannot be accessed with this SDK version"

We are querying Azure Cosmos DB from SQL Server via a linked server (MSDASQL OLE DB provider over an ODBC driver for the Cosmos DB / DocumentDB SQL API). Authentication now succeeds, but the connection fails during container access with the following…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-07-28T17:38:14.3233333+00:00
Weezelboy 1 Reputation point
commented 2026-08-05T11:04:10.93+00:00
Peram Venkateswara Reddy 260 Reputation points Microsoft External Staff Moderator
0 answers

Can you please restart my MongoDB cluster

I have been experiencing issues while connecting to MongoDB thats provisioned through CosmosDB. It fails with this error: I have checked the knowledge base tried other troubleshooting steps and the only way for me to recover from this is if I can…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-07-30T11:25:49.8033333+00:00
Umer Ahmed 40 Reputation points
commented 2026-08-04T17:01:40.0533333+00:00
Ganesh Chelluri 190 Reputation points Microsoft External Staff Moderator
4 answers

My CosmosDB is self-scaling 200x above documented requirements

I have a CosmosDB instance containing 2000 GBytes of data.  According to this documentation I should expect my database to require a minimum of 20,000 RU/s to be provisioned. I see in the Activity Log for my resource that some recurring…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-07-29T13:18:11.6333333+00:00
Trevor Christman 0 Reputation points Microsoft Employee
recommended 2026-07-31T13:18:51.02+00:00
Manoj Kumar Boyini 19,590 Reputation points Microsoft External Staff Moderator
2 answers

How to restore a comos database from a snapshot

Hi All. I have a Cosmos DB that I need to restore a snapshot from, but not able to access it as it is stated to log a call with MS but I am not able to do that either, and I have full permissions. Thank you

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-07-29T14:31:45.1166667+00:00
Jonathan Pretorius 0 Reputation points
answered 2026-07-29T16:48:55.5633333+00:00
Pilladi Padma Sai Manisha 11,715 Reputation points Microsoft External Staff 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,157 questions
asked 2026-05-26T00:05:48.7333333+00:00
Ashley Swearingen 0 Reputation points Microsoft External Staff Moderator
edited the question 2026-07-28T21:56:45.79+00:00
Ashley Swearingen 0 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Not able to connect to MongoDB vCore cluster

I have a MongoDB cluster with the following details: Since last night i'm not able to connect to this server using Compass or my Webapp. The error I get on Compass is this: if you can please restart my mongoDB cluster so it can drop the…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-07-26T17:53:28.1666667+00:00
Umer Ahmed 40 Reputation points
edited the question 2026-07-27T08:49:00.28+00:00
Umer Ahmed 40 Reputation points
2 answers

Autoscale min RU/s floor driven by historical peak — why is there no bound/reset on the historical peak

An attempt to lower a container's autoscale max throughput to 35,000 RU/s was rejected with: The offer should have valid throughput values between 39000 and 100000 inclusive in increments of 1000. Requested throughput 35000 is less than minimum…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-07-24T23:18:22.9266667+00:00
Augustine Wu 0 Reputation points Microsoft Employee
answered 2026-07-25T23:45:12.8133333+00:00
Pilladi Padma Sai Manisha 11,715 Reputation points Microsoft External Staff Moderator
1 answer

How do I get IntelliSense for Cosmos DB stored procedures in VS Code?

I'm writing Azure Cosmos DB stored procedures in JavaScript, but VS Code doesn't provide IntelliSense for the server-side API. Functions like getContext(), getCollection(), and queryDocuments() are not recognized, and there are no official .d.ts type…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-07-02T19:49:27.9733333+00:00
Wayne Blackmon 0 Reputation points
commented 2026-07-05T03:46:13.53+00:00
SAI JAGADEESH KUDIPUDI 3,645 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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,157 questions
asked 2026-06-01T15:07:08.5+00:00
Julius Dietmar 60 Reputation points
accepted 2026-07-03T19:06:16.3466667+00:00
Julius Dietmar 60 Reputation points
1 answer One of the answers was accepted by the question author.

AzMigration Feature not enabled to migrate cosmosdb account to zone redundant

Observing this issue while migrating cosmosdb to zone redundancy

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-06-19T09:30:59.5666667+00:00
Navpreet Kaur 40 Reputation points Microsoft Employee
accepted 2026-07-03T16:54:53.3933333+00:00
Navpreet Kaur 40 Reputation points Microsoft Employee
4 answers

Enable Subscription Access for Data Export + Cost Optimization for Cosmos DB

ISSUE SUMMARY Subscription is disabled, blocking application development. Need temporary re-enablement to export Cosmos DB data and cost optimization guidance. BUSINESS IMPACT Development blocked due to disabled subscription Current cost ₹13,600/month…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-07-02T04:42:27.0333333+00:00
Dinnemidi Ananda Kumar 140 Reputation points
answered 2026-07-02T15:57:41.52+00:00
Bharath Y P 10,530 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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,157 questions
asked 2026-06-11T17:27:39.07+00:00
Yingying Zhao 20 Reputation points Microsoft Employee
accepted 2026-06-30T05:48:56.2466667+00:00
Yingying Zhao 20 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Cosmos DB Mongo API unreachable in North Europe & UK South – repeated outage, ECONNREFUSED

Problem Description: We are experiencing a critical outage affecting multiple Azure Cosmos DB Mongo API accounts across North Europe and UK South. All affected accounts suddenly became unreachable at the same time. This is the second time we have…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,157 questions
asked 2026-06-19T15:15:18.5266667+00:00
Suneth Thotagamuwa 40 Reputation points
accepted 2026-06-26T13:54:11.1833333+00:00
Suneth Thotagamuwa 40 Reputation points