2,075 questions with Azure Cosmos DB tags

Sort by: Updated
0 answers

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,075 questions
asked 2026-03-11T19:11:13.9166667+00:00
Andriy Svyryd 0 Reputation points Microsoft Employee
commented 2026-03-11T20:21:11.9033333+00:00
Pilladi Padma Sai Manisha 5,240 Reputation points Microsoft External Staff Moderator
1 answer

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,075 questions
asked 2026-03-11T07:06:42.62+00:00
Gajjala, Vinod Reddy 0 Reputation points
answered 2026-03-11T18:22:17.0666667+00:00
SUNOJ KUMAR YELURU 17,981 Reputation points MVP Volunteer Moderator
2 answers

Cosmos DB is not working correctly

I am running into a query performance issue with Azure Cosmos DB using the SQL API and I am not sure if I am missing something in the indexing configuration. My container stores documents with a nested array field (for example items[]), and I am querying…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-03-06T18:11:05.9833333+00:00
Vinod Pal 0 Reputation points
commented 2026-03-11T11:34:41.3566667+00:00
Manoj Kumar Boyini 9,410 Reputation points Microsoft External Staff Moderator
1 answer

Getting strange error during database migration mongodb

Error type Failed to connect, please check error details Error Detail A scenario reported an unknown error. Command serverStatus failed: Command serverStatus not supported.. The connection string is correct, and the IP Addresses and DNSs are…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-03-06T16:01:28.43+00:00
Ryan Thomas 0 Reputation points
commented 2026-03-09T20:23:52.8+00:00
Manoj Kumar Boyini 9,410 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Turn off CosmosDB Account Feature - Global Secondary Index for NoSQL API (preview)

I am trying to enable Cosmos Mirroring for Fabric. Mirroring requires continuous backup to be enabled. However, when I try to enable continuous backup, I get the error "Migration of backup mode to Continuous mode is not supported for accounts with…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-25T17:44:29.34+00:00
Ryan Moore 116 Reputation points Microsoft Employee
accepted 2026-03-06T16:33:18.2033333+00:00
Ryan Moore 116 Reputation points Microsoft Employee
1 answer

Error in Azure Portal – Can't Access Azure Cosmos DB Data: “Authorization header doesn't conform to the required format”

I'm experiencing an issue accessing data in Azure Cosmos DB through the Azure Portal. When I try to view the data, I receive the following error: Authorization header doesn't conform to the required format. Please verify and try again. ActivityId:…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-26T10:01:47.7766667+00:00
Ghazy Prihanda 0 Reputation points
commented 2026-03-06T10:45:28.4333333+00:00
Robert Eriksen 0 Reputation points
3 answers

How do I connect Azure DocumentDB (with MongoDB compatibility) to Powerbi

Hi, I recently created a DB account type: Azure DocumentDB (with MongoDB compatibility). I am curious to how I can connect this account to PowerBi to view data. I tried to use the current connector selections: Cosmo DB v1, Cosmo DB v2 and Cosmo DB for…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-24T17:02:00.5766667+00:00
Zalim 0 Reputation points
answered 2026-03-05T09:35:45.6766667+00:00
Zalim 0 Reputation points
1 answer

Cosmos DB SQL query to search for a string across all fields in a document.

I’m using Azure Cosmos DB (SQL API) and want to find documents where a specific string appears anywhere in the document, regardless of field name. What is the recommended query pattern for this, and what are the performance implications?

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-03-03T19:56:21.6133333+00:00
Stithi-msft 5 Reputation points Microsoft Employee Moderator
edited a comment 2026-03-03T20:59:56.7766667+00:00
Pilladi Padma Sai Manisha 5,240 Reputation points Microsoft External Staff Moderator
1 answer

Azure DocumentDB Mongo cluster stuck with 409 conflict: operation already in-progress

Hi, I have an Azure DocumentDB (MongoDB compatibility) cluster that appears to be stuck in a failed control-plane state, and I can no longer restore connectivity. Resource details Cluster name: lightreportapprisk Resource type:…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-28T20:45:53.8366667+00:00
ASC-Solutions 0 Reputation points
commented 2026-03-03T14:16:19.1333333+00:00
Saraswathi Devadula 14,645 Reputation points Microsoft External Staff Moderator
1 answer

Cannot drop databases with corrupted names (trailing newline character) on MongoDB vCore cluster

I have two databases on my Azure Cosmos DB for MongoDB vCore cluster whose names contain a trailing newline character (U+000A). These appear as dev\n and prod\n in db.adminCommand('listDatabases') output, distinct from my legitimate dev and prod …

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-07T15:27:02.0466667+00:00
Mikey Casalaina 5 Reputation points
commented 2026-03-02T19:50:13.78+00:00
Pilladi Padma Sai Manisha 5,240 Reputation points Microsoft External Staff Moderator
2 answers

Azure free tier dropped from 1000 RU/s included to 100 RU/s

The total RU/s across all resources in my account are set at 1000 RU/s. I was receiving 1000 RU/s per month for free although recently this dropped down to 100 RU/s. I see this on the cost management page that lists out the free services: "Azure…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-26T00:56:00.2033333+00:00
Patrick 0 Reputation points
commented 2026-03-02T12:37:06.4033333+00:00
Manoj Kumar Boyini 9,410 Reputation points Microsoft External Staff Moderator
2 answers

How can I define a collation, when creating an index in Cosmos DB?

Hi - I'm trying to migrate from a self-hosted mongodb instance to cosmos db. I managed to move all collections (after raising the limits several times). Now my work is to build all missing indices. Unfortunately I can't find a way to set the collation on…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2023-06-13T08:48:47.5333333+00:00
Munkel, Georg 5 Reputation points
commented 2026-02-27T13:17:55.9133333+00:00
Kiechle, Felix 0 Reputation points
2 answers One of the answers was accepted by the question author.

Recuperación de colección eliminada en Cosmos DB MongoDB

Hola a todos, Por error alguien de mi equipo borró unos datos de una colección de Azure Cosmos DB y necesitamos recuperarla lo más pronto posible. Intenté montar un caso con el soporte de Microsoft Azure y no me aparece la opción, no se si fue porque…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-16T16:31:44.03+00:00
Luis Mestre 20 Reputation points
accepted 2026-02-24T19:52:11.73+00:00
Luis Mestre 20 Reputation points
2 answers

Storage metric is not updated for Azure Cosmos DB for PostgreSQL

Issue Summary: Azure Cosmos DB for PostgreSQL single-node cluster storage upgrade from 512GB to 1024GB (last night) shows provisioned capacity correctly in Scale blade and Worker metrics ("1014 GB RAM storage"), but storage_percent metric…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-24T10:25:07.95+00:00
Pravin 0 Reputation points
answered 2026-02-24T10:51:19.7+00:00
Pilladi Padma Sai Manisha 5,240 Reputation points Microsoft External Staff Moderator
3 answers

Unable to Create Azure DocumentDB (MongoDB Compatibility) – Free Tier Disk Type Error

Hello, I am unable to create an Azure DocumentDB (with MongoDB compatibility) cluster using the Free tier. During deployment, I receive the following error: PremiumSSDv2 disk type is not supported for 'Free' cluster tier. (Code: bad_request) There are no…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-21T14:05:54.99+00:00
Daniel Berki 0 Reputation points
edited an answer 2026-02-24T09:49:51.9833333+00:00
Kevin 0 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Cosmos DB for PostgreSQL future?

I'm seeing a notification on all the Azure Cosmos DB for PostgreSQL documentation in learn.microsoft.com saying: Azure Cosmos DB for PostgreSQL is no longer supported for new projects. I've done a few searches, but haven't seen any other announcements…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2025-11-13T00:45:01.3233333+00:00
Tim Brown 30 Reputation points
commented 2026-02-23T21:50:30.5733333+00:00
Aaron L 0 Reputation points
2 answers

Cosmos DB Container disappeared

We have a set of Cosmos DB accounts, and within each we create databases and containers. Now in one of those, yesterday one container disappeared. We have an external monitoring app which shows exactly when this container was still available, and when it…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-22T11:33:32.5+00:00
Tys 0 Reputation points
answered 2026-02-23T15:32:10.73+00:00
Saraswathi Devadula 14,645 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Increase allowed throughput for CosmosDB account

Hello We are from the GitHub Next team, and, for one of our research projects, we are using Cosmos as the data storage. We are running large-scale indexing jobs, and, as part of that, we are bulk uploading data to Cosmos. The volume of the data itself is…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-12T14:38:55.73+00:00
Tamás Szabó 20 Reputation points Microsoft Employee
accepted 2026-02-17T09:33:07.9333333+00:00
Tamás Szabó 20 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Is MONGO_OIDC available on Azure CosmosDB for MongoDB RU version

Hello! My team is using Azure Cosmos DB for MongoDB RU and we want to connect from our apps to our database using Microsoft Entra ID (i.e. via OIDC using a ManagedIdentityCredential). We came across an article (here) that describes how to use the…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2025-10-27T18:01:00.3333333+00:00
Monica Suh 40 Reputation points
commented 2026-02-12T16:40:21.07+00:00
Jahn, Felix (IT DA DO DLI) 0 Reputation points
2 answers

Azure Cosmos DB for PostgreSQL stuck in read-only mode after DiskFull event, scaling and restore not working

Our cluster entered read-only mode after a DiskFull (Unplanned) event. We have since scaled storage, but the cluster remains stuck in read-only mode. Environment Service: Azure Cosmos DB for PostgreSQL (Citus) Topology: Single-node cluster Region:…

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

2,075 questions
asked 2026-02-10T14:23:37.1766667+00:00
Hjörtur Hjartarson 0 Reputation points
answered 2026-02-10T15:08:55.3666667+00:00
Pilladi Padma Sai Manisha 5,240 Reputation points Microsoft External Staff Moderator