1,948 questions with Azure Cosmos DB tags

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

Azure Cosmos DB for PostgreSQL Cluster

I am trying to start our PostgreSQL instance, but it has been stuck in the provisioning status for the past 1 day.   Can you please help on this __Azure Cosmos DB for PostgreSQL Cluster-à__devagenticcosmosdbpostgresql Subscription…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-29T04:33:18.2733333+00:00
A, Kowsalya (Cognizant) 20 Reputation points
commented 2025-08-29T11:23:03.7466667+00:00
A, Kowsalya (Cognizant) 20 Reputation points
0 answers

CosmosDB Change Feed, move on in the feed without code changes

I have been asked to find a strategy for moving on to the next record in a change feed, manually, not in the code. I have looked at the documentation on change feed processors and the leases they create to bookmark their current location in the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-26T10:35:25.2+00:00
Johnston, Anthony 0 Reputation points
commented 2025-08-29T05:03:31.21+00:00
VRISHABHANATH PATIL 85 Reputation points Microsoft External Staff Moderator
0 answers

vCore database connection

Hi I am using the vCore based mongo db and the issue is that when I use the connection string URI with an application for grafana it works, but my main application for which I had used the mongo db , it fails to get start, it just shows the logs-…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-26T09:31:13.7733333+00:00
Mansi Gusain 530 Reputation points
commented 2025-08-29T04:04:47.2866667+00:00
Mansi Gusain 530 Reputation points
0 answers

Inconsistent RowKey Behavior in Azure Table Storage

Issue Type: Data Query / Retrieval Inconsistency Severity: High (Data integrity concern affecting querying and reporting) Description: We are encountering inconsistent behaviour when querying our Azure Table Storage database by RowKey. …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-26T01:28:58.4533333+00:00
Jolene van Tonder 0 Reputation points
commented 2025-08-28T16:50:24.59+00:00
Oury Ba-MSFT 21,111 Reputation points Microsoft Employee Moderator
1 answer

Unable to run pg_partman jobs due to lost permissions on admin account to extension tables

I am using pg_partman to manage partitions. My admin account lost permission to access partman.part_config and cannot run partition jobs anymore and I am unable to grant permission to the table manually for that user. How can I fix this issue and regain…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-07-16T15:21:09.14+00:00
Wolfjaw Studios 0 Reputation points
commented 2025-08-28T14:37:07.8033333+00:00
Wolfjaw Studios 0 Reputation points
1 answer

CosmosDB for postgresql stuck in Provisioning state

I am planning to use Read Replicas for my Cosmos DB for postgresql. I started with creating a replica of my existing DB instance on East US region. The status shows as created on Deployment page, but the DB instance shows provisioning state and it is not…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
Azure Database for PostgreSQL
asked 2023-09-28T17:13:19.2133333+00:00
Vipal Mehta 45 Reputation points
answered 2025-08-28T07:34:01.4333333+00:00
A, Kowsalya (Cognizant) 20 Reputation points
0 answers

Cannot create vector index in Azure CosmosDB for MongoDB vCore

I'm trying to create a vector index in my free tier Azure CosmosDB for MongoDB vCore in location "France Central". I get an error. The same query runs to completion in a Azure CosmosDB for MongoDB vCore database with M10 SKU in another…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-06-25T19:49:56.3533333+00:00
Peter Pölzl 0 Reputation points
commented 2025-08-26T06:21:43.28+00:00
Yashu Venkat S 0 Reputation points
2 answers

Enable per-schema-user connection limits in Azure Cosmos DB for PostgreSQL

We need to set connection limits per database user (e.g., ALTER ROLE schema1user CONNECTION LIMIT 10) in our Azure Cosmos DB for PostgreSQL cluster, but our application users lack the required CREATEROLE privilege. Current Setup: Multi-tenant application…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-22T16:00:58.42+00:00
Martin Masek 0 Reputation points
commented 2025-08-26T03:23:51.7133333+00:00
Pratyush Vashistha 1,525 Reputation points Microsoft External Staff Moderator
1 answer

Unable to Create MongoDB User in Azure Cosmos DB for MongoDB vCore

Per title, I cannot create secondary native users in vCore mongo cluster. EastUS region and M10 tier. No UI exists (as mentioned in answer https://learn.microsoft.com/en-us/answers/questions/5513331/unable-to-create-mongodb-user-in-azure-cosmos-db-f).…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-08T22:49:51.23+00:00
Jonathan Allbritten 0 Reputation points
commented 2025-08-23T11:58:19.8433333+00:00
Vinodh247 37,216 Reputation points MVP Volunteer Moderator
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 Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
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,012 questions
Microsoft Security | Microsoft Identity Manager
asked 2023-02-01T15:31:32.8+00:00
Jacek Przezdziecki (ext) 20 Reputation points
commented 2025-08-20T21:29:49.0333333+00:00
Schroeder, Michael (CTR) 36 Reputation points
1 answer

Unable to Assign Cosmos DB Built-in Data Contributor Role to Azure Function

In Azure Cosmos DB, there is difficulty in assigning the role of Cosmos DB Built-in Data Contributor to an Azure Function. The option to assign this role is not visible. What steps can be taken to resolve this issue?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-09T11:00:49.76+00:00
Sourav Kisku 0 Reputation points
commented 2025-08-20T21:24:50.1633333+00:00
Schroeder, Michael (CTR) 36 Reputation points
0 answers

Cosmos DB RequestTimeout (408)

Hi! I am encountering problems in cosmos db The Scenario - We have an application running in Function App that detects a process and inserts items to cosmos DB. - Each process has more than 10k items to insert. - The items are being inserted in batches…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-17T03:57:30.1466667+00:00
Teves John Carlo (ERNI) 0 Reputation points
commented 2025-08-20T06:17:12.3733333+00:00
Mahesh Kurva 7,570 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Failed to retrieve collection list. Please click Refresh to try again.

I'm unable to access CosmoDB Collections list. it keeps on showing "Failed to retrieve collection list. Please click Refresh to try again." Even in Visual Studio Code im unable to access. No VPNs or Endpoints are used.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-19T11:38:20.7733333+00:00
Vignesh A 25 Reputation points
accepted 2025-08-20T05:05:57.9633333+00:00
Vignesh A 25 Reputation points
1 answer

How to restart, redeploy, or otherwise fix Azure Cosmos DB for MongoDB (vCore) when it is non-responsive?

Twice over the past months this service of mine has become nearly unresponsive. The metrics graph in Azure portal substantiates the instance being unresponsive. Last time I went in to upscale the instance, even though that was completely unnecessary,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-15T14:33:33.5966667+00:00
Jake Morgan 0 Reputation points
commented 2025-08-18T05:30:32.3366667+00:00
Mahesh Kurva 7,570 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Delete cosmos record with no partition key (Orphan record)

Hi, during development I added a json record to cosmos db through ADF copy activity (source - file, sink - cosmos db) but missed defining the partitionKey inside the json. Now, this record is orphaned. I can query and see that the record exists but I am…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-14T16:49:17.5666667+00:00
Raghavendra 20 Reputation points
accepted 2025-08-16T01:10:21.9566667+00:00
Raghavendra 20 Reputation points
1 answer One of the answers was accepted by the question author.

Is the Cosmos DB documentation example on session consistency misleading?

https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels#session-consistency The Cosmos DB documentation example on session consistency states: Whereas the "Australia East" region is using "Session B" so, it receives data…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-01T14:16:57.7366667+00:00
AZOK 20 Reputation points
accepted 2025-08-15T15:10:41.37+00:00
AZOK 20 Reputation points
1 answer

Cosmos DB - Resource not found

Hi, I have a script created in Microsoft Fabric. Script took a data, do embeddings and save it in cosmos db. It worked fine for last year and there wasn't any single change. However for last 5 days it fails with below error message :…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-13T10:56:10.46+00:00
Mateusz Kacprzak 0 Reputation points
answered 2025-08-14T06:22:54.4233333+00:00
Mateusz Kacprzak 0 Reputation points
0 answers

Cosmos DB vCore Vector Index Error Outside US Region: InternalError & Server Shutdown (Error Code 91)

Hello, We are encountering consistent issues when performing insert and read operations on a vector index in Azure Cosmos DB vCore outside US regions. While performing vector operations, we get the following…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-06T05:36:36.61+00:00
Harikrishna P S 0 Reputation points
commented 2025-08-12T13:07:14.6933333+00:00
Sina Salam 23,931 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

Title: How to remove EnableMongo16MBDocumentSupport capability from Azure Cosmos DB to enable CMK encryption?

Title: How to remove EnableMongo16MBDocumentSupport capability from Azure Cosmos DB to enable CMK encryption? Body: I have an Azure Cosmos DB account (Mongo API) that currently has the following capabilities enabled: json CopyEdit `[ {…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-08-11T12:14:47.2366667+00:00
Shubham Raut 45 Reputation points
accepted 2025-08-12T09:03:18.4433333+00:00
Shubham Raut 45 Reputation points
1 answer One of the answers was accepted by the question author.

[Azure Cosmos DB][Multi-Write Setup] Does Cosmos DB SDK support cross region retries for transient error codes like 429/410

We have a multi-write region setup. Wanted to know if Cosmos SDK inherently a cross region retries for transient error codes ? Does the cross region retry kick-in after a single failure or multiple failures ? Is the cross region retry configurable at the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,948 questions
asked 2025-07-28T20:51:58.81+00:00
Soumya Prateek Raul 70 Reputation points Microsoft Employee
accepted 2025-08-11T05:18:11.3633333+00:00
Soumya Prateek Raul 70 Reputation points Microsoft Employee