2,057 questions with Azure Cosmos DB tags

Sort by: Updated
2 answers

how long does it take to restore for periodic backup for cosmos DB if i log support ticket

how long does it take to restore periodic back up for cosmos DB if i log support ticket

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-02-04T11:32:40.34+00:00
Rowtu Rama (RRA) 0 Reputation points
commented 2026-02-05T03:49:07.84+00:00
Saraswathi Devadula 13,985 Reputation points Microsoft External Staff Moderator
1 answer

Suddenly getting "500 Internal Server Error" for all upserts from Cosmosdb

Hi, I'm running 2 containers in the same pod that do each frequent upserts into the same Cosmosdb (same container). My application is written in Golang and use github.com/Azure/azure-sdk-for-go/sdk/data/azcosmos. From time to time, it happens that one…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-02-04T20:14:12.9766667+00:00
Julien Flatres 0 Reputation points
commented 2026-02-04T20:30:29.5966667+00:00
Manoj Kumar Boyini 5,795 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Azure DocumentDB (MongoDB API): queries with $geoWithin do not use 2dsphere index

I am using Azure DocumentDB with MongoDB compatibility and I need geospatial queries functionality with a 2dsphere index. I tried to reproduce the exact same example provided in the Learn portal (same data, same index, same query)…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-02-03T17:04:11.44+00:00
nktb40 0 Reputation points
accepted 2026-02-04T13:13:44.7233333+00:00
nktb40 0 Reputation points
6 answers

Azure DocumentDB MongoDB 8.0 - CVE-2025-14847 (MongoBleed) patch status?

Hey everyone, MongoDB just dropped a critical security fix on Dec 26 for CVE-2025-14847 ("MongoBleed") - it's a zlib heap memory leak that lets unauthenticated attackers steal data from MongoDB Server 8.0.0 through 8.0.16. My Azure DocumentDB…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2025-12-31T03:19:27.8633333+00:00
Tom TSE 0 Reputation points
answered 2026-02-03T10:29:27.74+00:00
LucaRicchi-9277 6 Reputation points
2 answers One of the answers was accepted by the question author.

Need to Enable 'All Versions and Deletes Change Feed' in Cosmos DB

Need to Enable 'All Versions and Deletes Change Feed' in Cosmos DB, in order to enable container copy job. Getting no reply after submitting the request here: …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-26T11:38:41.27+00:00
Ofry Peler 20 Reputation points Microsoft Employee
accepted 2026-02-03T09:46:05.95+00:00
Ofry Peler 20 Reputation points Microsoft Employee
2 answers

We didn't understand all of sudden connecting Azure Cosmos from Azure synapse by using Linked Services

As we observed fom 15th Jan 2026 , We didn't understand all of sudden connecting Azure Cosmos from Azure synapse by using Linked Services. It is throwing 404 error if connect through linked service . If I connect by using keys hard coded it was able to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-22T15:33:48.3366667+00:00
Kokkiligadda Raveendra 5 Reputation points
commented 2026-02-02T05:51:52.2166667+00:00
Manoj Kumar Boyini 5,795 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

CosmosDB for Tables - authorization using managed Identity and custom role - no required dataAction

I've attempted to establish a connection to Cosmos DB for Tables from an Azure function using a user-managed identity and custom role. Current privileges for custom role are: actions = [ …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2025-03-24T19:43:35.3966667+00:00
Arkadiusz Kozieł 91 Reputation points
commented 2026-01-30T05:52:54.3466667+00:00
Kalyan Ravi 0 Reputation points
2 answers One of the answers was accepted by the question author.

Issues creating Azure Managed Instance for Apache Cassandra

Hello, I can't create an "Azure Managed Instance for Apache Cassandra". I get an Internal Server Error and doesn't show any inner errors/details : The template deployment '95f605c639424ea1b57f7b9ddc667f2d' is not valid according to the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-23T11:22:25.1466667+00:00
Ben 20 Reputation points
accepted 2026-01-29T18:09:50.0033333+00:00
Ben 20 Reputation points
2 answers

I get an error adding CPU to my PG Cluster CosmosDB Coordinator node.

I am using Azure CosmosDB for PostgreSQL Cluster. My coordinator node requires more virtual CPU. It is assigned 32 cores, I am asking to increase to 64 cores. I get an error that I must add a support ticket for this request. However, in the quotas…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-25T00:43:36.2533333+00:00
Garland, Scott 0 Reputation points
commented 2026-01-29T00:52:54.24+00:00
Pilladi Padma Sai Manisha 3,295 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

"Replicate Data Globally" not available on my Cosmos DB account

The option to "Replicate Data Globally" is not available on my Cosmos DB account in the Azure console. Is this issue related to how the Cosmos DB account was originally created? Do I need to recreate the Cosmos DB account to be able to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-27T21:52:14.9366667+00:00
Davide Bonicelli 20 Reputation points
commented 2026-01-27T22:47:40.6333333+00:00
VRISHABHANATH PATIL 5,175 Reputation points Microsoft External Staff Moderator
2 answers

Got the Closest distance from a Point to LineString. How to get the Coordinates of Intersection in that LineString Cordinates ?

Hi Everyone - I have a LineString as indicated below (which has the coordinates of a Route in the map). I have a point outside of this Linestring and I am using the following Cosmos db query to figure out the shortest distance from that Point to this…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-24T18:03:00.8266667+00:00
Mathew James 421 Reputation points
commented 2026-01-27T01:25:53.93+00:00
Pilladi Padma Sai Manisha 3,295 Reputation points Microsoft External Staff Moderator
3 answers

Error using Managed Identity with OPENROWSET on Cosmos DB Analytical Store in Synapse

I’m trying to query Azure Cosmos DB data using a serverless SQL pool in Synapse with OPENROWSET and Managed Identity authentication. Previously, OPENROWSET with Managed Identity wasn’t supported, but according to the official documentation it should now…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2025-09-25T11:22:33.2033333+00:00
Poorna Sanjeewa 11 Reputation points
answered 2026-01-27T00:47:36.5566667+00:00
Jeremy Skippen 0 Reputation points
2 answers One of the answers was accepted by the question author.

Cosmos DB for MongoDB (vCore) upgrade storage stuck in updating for 3+ hours

Hi Microsoft team, The CosmosDB instance (M40) - West Europe, has been stuck in the 'Updating' state for several hours. Does a storage upgrade from 128 to 256 take hours? Do you have any service disruptions (Azure status page shows all green)? …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-19T14:42:56.47+00:00
Vasile Groza 20 Reputation points
accepted 2026-01-20T14:15:08.64+00:00
Vasile Groza 20 Reputation points
2 answers

I have CosmosDB Vector Vcore - M30 (Cluster tier), Need to Enable Full text search BM25

Request: Enable Azure DocumentDB full-text search with BM25 ranking (gated preview) on our cluster. Current behavior: $search only supports cosmosSearch / knnBeta; $search: { text: ... } fails with “Unrecognized $search option: text…”. Goal: Use BM25…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-17T14:47:04.8766667+00:00
Kalyan 0 Reputation points
answered 2026-01-18T11:27:31.5266667+00:00
Manoj Kumar Boyini 5,795 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Restore the funnelProperties container in the DB from the periodic backup, for Jan 11, 2026.

The documentation says I should open a ticket to do this, since my database was by default set to a "periodic" backup mode, but the flow to open a ticket for this simply ends and there is no way to open a ticket to request this, despite being…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-12T19:45:28.9166667+00:00
Nik Gauvreau 20 Reputation points
accepted 2026-01-16T15:46:43.6833333+00:00
Nik Gauvreau 20 Reputation points
2 answers One of the answers was accepted by the question author.

Cant access my Cosmos DB cluster, NEED IMMEDIATE HELP

My Cosmos DB Cluster was deleted without informing and can't be restored as it is showing 404. I need IMMEDIATE HELP since this is the production DB. Please reply. Status Message: The subscription '7b2dfa61-e268-4027-b8d0-97677d974a51' could not be…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-15T06:43:50.37+00:00
Chethas L Pramod 20 Reputation points
edited an answer 2026-01-16T03:51:22+00:00
Manoj Kumar Boyini 5,795 Reputation points Microsoft External Staff Moderator
1 answer

Running Aspire and Seeing Connection failure from the App Host when starting up.

My program.cs is below. When I start the app up with the container creation commented out everything comes up fine. Uncomment it and I get the error, Failed to connect to 127.0.0.1:9712. I know that is the Cosmos DB. The dashboard that comes up with…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2025-06-26T12:35:18.5+00:00
Trent Whiteley 0 Reputation points
commented 2026-01-14T16:46:24.9866667+00:00
Daniel Saner 45 Reputation points
3 answers One of the answers was accepted by the question author.

Possible to request a refund for Azure CosmosDB usage?

I have recently done lab experiments with Azure cosmosdb and one of the lab experiments created 2 databases (as it is a random generated id scripts). This caused the billed to soared to USD 64 within 1 day. I would like to know if there are ways to reach…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2025-12-12T06:56:56.0066667+00:00
Yoong Han 20 Reputation points
commented 2026-01-14T03:00:51.6366667+00:00
Siva shunmugam Nadessin 5,205 Reputation points Microsoft External Staff Moderator
2 answers

Can't change M30 tier cluster on cosmosdb to M20

I decided I wanted to try the M30 tier cluster for my cosmosdb, however we have determined it is not necessary for our application. I wanted to downgrade back to the M20 tier, however the azure portal currently doesn't allow me. Is there a way to change…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-13T00:25:53.56+00:00
Jonathon Mayorga 0 Reputation points
commented 2026-01-14T00:50:16.3566667+00:00
VRISHABHANATH PATIL 5,175 Reputation points Microsoft External Staff Moderator
1 answer

Unable to upload json to cosmos db from functions app

Hi, I am trying to upload hardcoded json from functions app to cosmos db. It doesnt throw any error except it only shows failed. How do I troubleshoot this further def main(myblob: func.InputStream, cosmosOut: func.Out[func.Document]): start_utc =…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,057 questions
asked 2026-01-04T13:57:04.4566667+00:00
Puffles 0 Reputation points
commented 2026-01-06T19:22:52.3333333+00:00
Manoj Kumar Boyini 5,795 Reputation points Microsoft External Staff Moderator