2,019 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer

My cosmosDB network settings are stuck on Updating since a week. Means we cannot update from public to IP-limited access.

My cosmosDB network settings are stuck on Updating since a week. Means we cannot update from public to IP-limited access.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-17T15:18:03.7533333+00:00
Simon Grund Sørensen 0 Reputation points
commented 2025-11-22T07:26:05.4266667+00:00
Manoj Kumar Boyini 930 Reputation points Microsoft External Staff Moderator
1 answer

Refresh issue with Cosmos dB connection

Hi, I noticed one strange thing with my power bi report as I made a connection cosmos dB (used a query) and get the data applied some transformation created visual and published on the service now refresh is schedule for every day. Now some records get…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-20T19:44:54.1+00:00
Khusbu Kumari 0 Reputation points
commented 2025-11-21T19:38:27.78+00:00
Swapnesh Panchal 980 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Unable to Connect Azure Cosmos DB(Mongo db vcore) using Microsoft Entra ID in MongoDB Shell

Hi I have a Azure Cosmos DB(Mongo db vcore) and enabled the Microsoft Entraid authentication and have added one of AAD user Now I am trying to connect using mongosh or Mongo compass but it does not work. From mongsh I get error…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-20T13:26:41.4166667+00:00
Harikant Kumar 0 Reputation points
accepted 2025-11-21T14:07:12.2966667+00:00
Harikant Kumar 0 Reputation points
3 answers

Missing Azure Cosmos DB for MongoDB option in API selection when creating Cosmos DB resource.

Hello, Im trying to create new Cosmos DB in Azure, but unfortunatly I dont have direct Azure Cosmos DB for MongoDB option when selecting APIs. I have only: Azure Cosmos DB for NoSQL Azure Document DB (with MongoDB compatibility) Azure Cosmos DB for…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-19T08:10:51.8933333+00:00
Lukáš Műller 0 Reputation points
commented 2025-11-21T13:41:14.01+00:00
Kalyani Kondavaradala 3,940 Reputation points Microsoft External Staff Moderator
2 answers

How to connect to Azure Cosmos using the Java Cassandra Drivers

I have an existing application which uses Apache Cassandra, and I am attempting to check its compatibility with Azure Cosmos DB for Apache Cassandra My application uses a recent 4.x version of the DataStax Java Driver for Cassandra (this has subsequently…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-19T21:22:24.9633333+00:00
David North 0 Reputation points
commented 2025-11-20T20:18:03.16+00:00
Swapnesh Panchal 980 Reputation points Microsoft External Staff Moderator
2 answers

How to query Cosmosdb using FullTextContains with fuzzy search parameters

In my full text search enabled resource container, I'm attempting to use the fuzzy search syntax to find close matches to a search term but receive and error when using the portal or python SDK (4.14.1) SELECT TOP 10 * FROM c WHERE…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-14T21:34:33.5733333+00:00
Alberto Ramirez 0 Reputation points
commented 2025-11-20T18:21:11.4+00:00
Mahesh Kurva 10,265 Reputation points Microsoft External Staff Moderator
2 answers

does Azure Cosmos DB for Mongo Support the listSearchIndexes command

Dear Azure team, I am testing some features on Azure Cosmos DB using the MongoDB API. Could you please confirm whether the listSearchIndexes command is supported in Cosmos DB for MongoDB? Thank you

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-18T08:12:29.12+00:00
Chun sheng Ma (NCS) 0 Reputation points
commented 2025-11-20T16:10:29.4166667+00:00
Mahesh Kurva 10,265 Reputation points Microsoft External Staff Moderator
1 answer

[Java Spring] Error when save entity using JPA ( msg :java.lang.NullPointerException: Cannot invoke "com.fasterxml.jackson.databind.JsonNode.isValueNode()" because "jsonNode" is null)

I have a Spring Boot application that uses com.azure:azure-spring-data-cosmos:5.20.1. I’ve mapped my entities to the Cosmos containers like this: package com.fpt.emt.api.biz.assessments.model.v2.clustering; import…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-17T07:16:07.0366667+00:00
Long Nguyen Van 0 Reputation points
commented 2025-11-20T16:09:13.5333333+00:00
Mahesh Kurva 10,265 Reputation points Microsoft External Staff Moderator
1 answer

Azure DocumentDB read-write access to specific databases

We were excited to see the announcement of Azure DocumentDB at the recent Azure Ignite. Currently we are doing a small POC and we were able to successfully connected our Spring Boot application to the cluster using Microsoft Entra ID authentication.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-20T12:34:28.25+00:00
Anthony Slabinck 0 Reputation points
answered 2025-11-20T12:34:49.7333333+00:00
Q&A Assist
1 answer One of the answers was accepted by the question author.

How to create a custom role for secondary user in CosmosDB for MongoDB vCore

I am facing the same problem as mentioned at https://learn.microsoft.com/en-us/answers/questions/5551293/how-to-create-a-custom-role-for-secondary-user-in In Azure CosmosDB for Mongo DB with Native DocumentDB authentication, able to create users at…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-20T09:25:09.4733333+00:00
Akunuri, Vithal 20 Reputation points
accepted 2025-11-20T10:34:33.0266667+00:00
Akunuri, Vithal 20 Reputation points
2 answers 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,019 questions
asked 2025-11-13T00:45:01.3233333+00:00
Tim Brown 30 Reputation points
accepted 2025-11-20T00:34:45.92+00:00
Tim Brown 30 Reputation points
1 answer

How to create a custom role for secondary user in CosmosDB for MongoDB vCore

I am trying to create a custom role that grants readWrite access to database. I am doing it to assign read write permissions to a specific database. The inbuilt role readWriteAnyDatabase grants read write access to all the database so I can not use this.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-09-10T21:07:29.9566667+00:00
Nagarjun kondapalli 0 Reputation points
edited a comment 2025-11-19T14:43:24.2066667+00:00
Akunuri, Vithal 20 Reputation points
1 answer

Restore our accidentally dropped Mongodb database

One of our databases in a Azure cosmos db cluster got accidentally deleted yesterday. This cluster has periodic backup setup with Geo-Redundant Policy. Please restore the entire Azure cosmosdb account for MongoDB tdclabs-dev account a new account.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-14T04:49:47.61+00:00
Aditya 0 Reputation points
commented 2025-11-19T07:48:58.1866667+00:00
Aditya 0 Reputation points
1 answer

Cosmos DB for MongoDB (vCore) upgrade M10→M30 stuck in “Updating” ~3 hour; data plane very slow/timeouts

Hi Microsoft team, I’m seeing a prolonged “Updating” state after scaling a Cosmos DB for MongoDB (vCore) cluster from M10 → M30, and my app is experiencing severe slowness/timeouts during the window. Environment Service: Azure Cosmos DB for MongoDB…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-11T20:20:16.8266667+00:00
Brian Peach 0 Reputation points
commented 2025-11-18T11:57:30.08+00:00
Pilladi Padma Sai Manisha 340 Reputation points Microsoft External Staff Moderator
1 answer

Please change my first name,Middle name and last name under Profile section

Hi Team, As per my request could you please change the Name under my Profile in Microsoft account as First name:koti Middlename:Nithin Lastname:Kumar Thanks, Nithin.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-18T06:17:13.0333333+00:00
Koti NithinKumar 0 Reputation points
commented 2025-11-18T06:26:50.32+00:00
Koti NithinKumar 0 Reputation points
2 answers

How can I restore a periodic backup in Azure Cosmos DB?

Hi, I accidentally deleted a container in my Azure Cosmos DB account. My account is using Periodic backup mode, and I want to restore the data from a backup taken yesterday. How can I request or perform a restore from a periodic backup? Is there any…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-17T07:23:50.0866667+00:00
William Jacome Rodriguez 0 Reputation points
answered 2025-11-17T10:16:19.4666667+00:00
Manoj Kumar Boyini 930 Reputation points Microsoft External Staff Moderator
1 answer

Cosmo DB is Missing data

Dear Team, Greetings!!! We are facing a critical issue with Azure Cosmos DB. Data has been lost unexpectedly. Around 16 users have access and we are unsure how the data was deleted or lost. We request Microsoft Support to investigate and help us recover…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-10T16:48:29.48+00:00
The Skill Enhancers 0 Reputation points
commented 2025-11-14T18:22:59.0133333+00:00
Mahesh Kurva 10,265 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

How to drop a Gremlin vertex that contains "/" in the id field.

I cannot drop vertices that contain the "/" character in the id field. I get an error message…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-10-16T17:32:44.3533333+00:00
Jason Koncsol 20 Reputation points Microsoft Employee
recommended 2025-11-13T16:17:24.51+00:00
Amira Bedhiafi 41,036 Reputation points Volunteer Moderator
1 answer

How to use update a cosmos db document using rest call

Hi, I want to update a cosmos db document using available cosmodb rest api. Can you provide me a sample code or documentation for the same. Thanks

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2025-11-13T01:23:39.9933333+00:00
Saurabh Sharma 23,866 Reputation points Microsoft Employee Moderator
answered 2025-11-13T01:24:24.7233333+00:00
Q&A Assist
4 answers

Missing Cosmos DB Built-in Data Reader and Cosmos DB Built-in Data Contributor roles in Access Control (IAM)

I'm trying to assign roles to managed identity in Cosmos DB, through browser using Access Control (IAM). Unfortunately two build in roles Cosmos DB Built-in Data Reader and Cosmos DB Built-in Data Contributor are not there. How can I add managed…

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
1,053 questions
Microsoft Security | Microsoft Identity Manager
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
2,019 questions
asked 2023-02-01T15:31:32.8+00:00
Jacek Przezdziecki (ext) 25 Reputation points
commented 2025-11-12T21:55:29.84+00:00
Anand Chowdary 0 Reputation points