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 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
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 Role-based access control
Microsoft Security | Microsoft Identity Manager
Alternative to VACUUM FULL for TOAST space reclamation on Azure Cosmos DB for PostgreSQL (Citus)
Problem Summary We have an Azure Cosmos DB for PostgreSQL (Citus) cluster with significant TOAST table bloat (120 GB) that we'd like to reclaim. However, we operate a 24/7 production system and cannot accept any downtime. Environment Service: Azure…
Azure Cosmos DB
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
Cosmos DB data replication with a second region stuck at "Updating" now for over 3 days
We have four subscriptions on a single Azure tenant, all have separate cosmos accounts and are in the UK South region. We wanted to simply try out global data replication using a second ("UK West") read region on our sandbox subscription…
Azure Cosmos DB
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
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
CosmosDB emulator not responding
After last windows update(2025-10 Cumulative Update for Windows 11, version 25H2 for x64-based Systems (KB5066835) (26200.6899) emulator not working. Started without any errors, but opened page is unreachable: Reproduced on couple machines. Tried…
Azure Cosmos DB
Cannot view data in the Azure Cosmos DB Data Explorer in Chrome
Using Chrome, I was previously able to view data in my Cosmos Databases using the Data Explorer in Azure. However, ever since the Azure outage on October 29th, 2025, the data never loads - it just spins. In the browser console, I can see that I'm…
Azure Cosmos DB
CosmosDB , how to get the partition key
Hello , Do we have a guide as to how to set the partitionkey in CosmosDB ? Thanks Himanshu
Azure Cosmos DB
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
MongoDB cluster stuck in 'Updating' state for 1+ hour, cannot connect
Service: Azure Cosmos DB Problem type: Connectivity Summary: "MongoDB cluster stuck in 'Updating' state for 1+ hour, cannot connect" Details: Started: 2025-11-06 12:26:52 UTC - Error: "Operation stuck in 'Updating' state, blocking…
Azure Cosmos DB
Not able to enable Customer Managed Key (CMK)
I want to enable Customer Managed Key (CMK) to Azure Cosmos DB, for that I have created key in azure key vault in the same region as Azure Cosmos DB present. I have followed all the steps still get below issue when applying CMK on Azure Cosmos DB …
Azure Cosmos DB
How to enable Copilot for Cosmos DB?
I've followed the instructions listed in this doc: enable at the subscription level But I don't see the Query faster with Copilot card in the Data Explorer. Is there any other step or requirement to fulfill?
Azure Cosmos DB
error in portal query: Authorization header doesn't confirm to the required format. Please verify and try again. ActivityId: 89881f95-402e-4aa3-b2f8-42bdd85c55fc, Windows/10.0.20348 cosmos-netstandard-sdk/3.18.0
Hello everyone, I am trying to perform queries in Cosmos DB as I have always been doing, however it gives me the following error that I do not understand: Authorization header doesn't confirm to the required format. Please verify and try…
Azure Cosmos DB
CosmosDB TTL changes:Data Masking Policy is not enabled on this account
Hi, I am trying to update the TTL setting on the existing CosmosDB container, but I receive the following error message. Do you know how to fix it and why it is happening Failed to update container TestTTL: Message:…
Azure Cosmos DB
Access my resource through application
Hi I want to disable public network access on my Cosmos DB resource and use a private endpoint to ensure a secure connection. For testing, I created a virtual machine to check connectivity and ran the nslookup command, which worked. Now, I would like to…
Azure Cosmos DB
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
I had Microsoft Azure exam, I faced service issue and it was showing as Microsoft site was under maintenance,So can you please help me reschedule my exam
On 29 th December at 10PM had a exam, When I tried to check in into the exam it was showing error page by saying that Microsoft was under maintenance, Can you please reschedule my exam for today?
Azure Cosmos DB