1,768 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer

Linq Cosmos DB ArgumentNullException Exception

I am using LinQ on the client side to query Cosmos DB. All the other properties work fine except two properties. One is the "id" and the other is the "RowKey". I manually checked the database, the type of RowKeys are all string, they…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,305 questions
asked 2025-01-29T19:13:20.8733333+00:00
Yi Gu 0 Reputation points Microsoft Employee
commented 2025-02-22T00:43:42.5433333+00:00
Yi Gu 0 Reputation points Microsoft Employee
0 answers

High Partition Utilization & Potential Hot Partition Issue in Serverless CosmosDB ( High Normalized RUs AVG consumption alert )

We are experiencing hot partition issues in our Azure CosmosDB (serverless mode). Some partitions are consistently at 100% utilization, while others remain at 0%. This is leading to potential performance bottlenecks and repeated alerts. Key Details: …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-19T14:49:33.3966667+00:00
Nizar 0 Reputation points
commented 2025-02-21T19:44:47.11+00:00
Mallaiah Sangi 80 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Create a Document using Postman HTTP API request

I need to create a new document to my Azure Cosmos database container. The database name is mydb and container name is mycontainer. However, I get below response: {"code":"Unauthorized","message":"The input…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2024-05-30T20:13:42.62+00:00
AzureGuru 40 Reputation points
commented 2025-02-21T19:42:07.2533333+00:00
Matt Schwartz 25 Reputation points
0 answers

Cosmos DB Diagnostic Logs Not showing up RUs for Create operations

I am using CosmosDB for a while now, and I would like to take advantage of diagnostic logs to keep an eye on RU usage. Query logs work fine, HOWEVER my create requests are being logged with requestcharge equal to 0. Does anyone have any idea why that…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-21T14:33:29.31+00:00
TUDOR33SUD14 0 Reputation points
commented 2025-02-21T18:46:06.93+00:00
Mallaiah Sangi 80 Reputation points Microsoft Vendor
0 answers

The /EnableTableEndpoint commandline parameter no longer works

A few years ago we build an application that used CosmosDB and for local integration testing we used the CosmosDB emulator. We want to make some changes to the application, but found that it now is impossible to get the Table Endpoint to run in the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-17T13:38:52.7933333+00:00
Dinant van Harmelen 0 Reputation points
commented 2025-02-21T05:33:39.89+00:00
Sajeetharan 2,261 Reputation points Microsoft Employee
1 answer

How to open this service? Can you attach the picture?(Change Stream on vCore-based Azure Cosmos DB for MongoDB (Preview))

When I use the change stream feature of mongodb in cosmos, it fails. How can I make mongodb in cosmos support this feature? // ChangeStreamExample.js const { MongoClient } = require("mongodb"); const uri = "xxxxxx"; async function…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-20T07:06:01.62+00:00
Zhang, Tao 0 Reputation points
answered 2025-02-21T04:51:53.6133333+00:00
Sajeetharan 2,261 Reputation points Microsoft Employee
1 answer

How to connect Cosmos Table DB to managed Grafana?

I have a Cosmos Table DB with data that I wish to visualize. So I set up and instance of managed Graphana, but I can't figure out how to connect the DB to it. I see that Grafana offers a plugin, but it is closed source, so what is the alternative if I…

Azure Table Storage
Azure Table Storage
An Azure service that stores structured NoSQL data in the cloud.
178 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-15T14:23:24.1633333+00:00
Artium Nihamkin 0 Reputation points
commented 2025-02-20T08:02:35.8533333+00:00
Vijayalaxmi Kattimani 1,480 Reputation points Microsoft Vendor
1 answer

Zone Redundancy DR Exercise

There are many Azure services provide the Zone Redundancy (Availability Zones) feature. However as a client how do we know if this works as what Azure claimed? Is there a way for us to perform the DR exercise on those services with Zone Redundancy? Or…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,345 questions
asked 2025-02-13T07:42:03.1733333+00:00
John Wong Yek Hon 120 Reputation points
commented 2025-02-20T06:53:15.2433333+00:00
Shree Hima Bindu Maganti 3,135 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

My Mongo cluster on Azure CosmosDB fails to create and deploy everytime

I am attaching my JSON output from the failed activity log here: { "authorization": { "action": "Microsoft.DocumentDB/mongoclusters/write", "scope":…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-18T17:55:06.8833333+00:00
Abhishek Jaiswal 20 Reputation points
accepted 2025-02-19T14:52:52.0533333+00:00
Abhishek Jaiswal 20 Reputation points
1 answer

How can I Increase CosmosDb RU and cost implication

Hello, I would like to ask how can I increase the max RU available in our cosmosDb account. Also, I would like to have some insights about the cost implications of have this number increased. Thank you

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-14T15:32:46.74+00:00
Saverio Veltri 0 Reputation points
commented 2025-02-19T12:01:05.46+00:00
Prasad Chaganti 0 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Desktop data migration tool is unable to export large data set

Hi, I am using Cosmos DB desktop data migration tool to export cosmos container data into JSON file, with 10K records tool works fine, meaning all records were exported but with 50K+ records for another container when tried to export it couldn't export…

Azure Database Migration service
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-13T07:57:24.59+00:00
Md Khalid Hussain 20 Reputation points
accepted 2025-02-18T12:17:04.44+00:00
Md Khalid Hussain 20 Reputation points
1 answer One of the answers was accepted by the question author.

Why isn’t my IoT Hub telemetry being ingested into Cosmos DB via Azure Functions?

Overview: I'm building an IoT solution on Azure where devices send telemetry to IoT Hub. The telemetry is routed using IoT Hub’s built-in Event Hub–compatible endpoint, and an Azure Function (using Python and the V2 programming model) to processes the…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,441 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,244 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
693 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-14T11:13:06.2433333+00:00
Heeyaichen Konsam 20 Reputation points
edited a comment 2025-02-18T10:19:39.8033333+00:00
Heeyaichen Konsam 20 Reputation points
1 answer

Unable to connect to Cosmos DB today

Our application wasn't able to connect to Cosmos DB today, 2025-02-13, from around 3:00 AM to 3:30 AM Pacific Time GMT-8. We're using the Mongo API, the errors are: MongoDB.Driver.MongoWriteException: A write operation resulted in an error. WriteError: {…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-13T15:22:12.6066667+00:00
Humberto Oliveros 0 Reputation points
commented 2025-02-18T03:49:00.8033333+00:00
Vijayalaxmi Kattimani 1,480 Reputation points Microsoft Vendor
1 answer

Azure Cosmos for MongoDB - Need to find heavily used Database and collection from Azure Portal

Need to find heavily used Database and collection for Azure Cosmos for Mongo API from Azure Portal. Please anyone guide me through

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-13T18:22:19.39+00:00
Ashok Arumugam 0 Reputation points
commented 2025-02-18T01:01:08.2766667+00:00
Adithya Prasad K 5 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

With CosmosDb do queries that specify a PartitionKey have the returned results limited to an exact match on the PartitionKey if not specified in the WHERE clause

In CosmosDb I store documents that have a RowKey that maps to an EventId. I also have a dedicated field called PartitionKey which is a concatenation of StoreID and a day (day portion of DateTime). This makes it so that if I need to get all the events…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-17T22:28:26.3333333+00:00
Don Gillett 20 Reputation points
accepted 2025-02-18T00:01:27.7666667+00:00
Don Gillett 20 Reputation points
2 answers One of the answers was accepted by the question author.

FIXED: App Service unable to connect to Cosmos database with private endpoints - RemoteCertificateNameMismatch

Hi, I have a problem with a new Cosmos account service. I have never deployed one before. Both the App Service and the Cosmos database account have private endpoints. Both private endpoints are in the same vnet and subnet. It seems the App Service…

Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
536 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,345 questions
asked 2025-02-13T07:59:14.24+00:00
TH-4622 20 Reputation points
accepted 2025-02-17T08:16:32.2766667+00:00
TH-4622 20 Reputation points
1 answer

Cosmos DB Data Explorer disabled

Azure Cosmos DB > Data Explorer disabled, so I couldn't create a table or add an entity.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-12T14:50:25.4333333+00:00
Xueming Wang 0 Reputation points
commented 2025-02-14T17:42:48.7766667+00:00
Mahesh Kurva 2,750 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Is there a more secure way to access cosmos mongdb vcore via python app service

Is there a more secure way to access data in Cosmos mongodb vcore via python App service. Currently I am using basic authentication using connection string. I would like to know if there is a way to authenticate using managed identity or AAD tokens.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,345 questions
asked 2025-02-05T20:13:55.3066667+00:00
Priyanka Hurakadli 65 Reputation points Microsoft Employee
answered 2025-02-14T04:48:03.5266667+00:00
Sajeetharan 2,261 Reputation points Microsoft Employee
1 answer

I am trying to configure cosmos db output in stream analytics job, getting error as This subpartitioned container has more than 1 partition key path please use `PartitionKeyPaths`, But there is no option to configure path in output settings

I am trying to configure cosmos db output in stream analytics job, getting error as This subpartitioned container has more than 1 partition key path please use PartitionKeyPaths, But there is no option to configure path in output settings. How this can…

Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
379 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-11T05:26:33.39+00:00
Rajesh Karuppiah 0 Reputation points
commented 2025-02-13T12:51:36.8466667+00:00
Chandra Boorla 8,795 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Does the cosmos GetItemQueryIterator method throw exception if it couldn't find any records?

Can you help me understand the GetItemQueryIterator<> method in Cosmos DB? Specifically, does it throw an exception if no records are found in the database? Additionally, does it query and return results partition by partition?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,768 questions
asked 2025-02-11T23:08:32.9933333+00:00
Venkata Sridhar Perepu 40 Reputation points Microsoft Vendor
accepted 2025-02-12T20:06:58.63+00:00
Venkata Sridhar Perepu 40 Reputation points Microsoft Vendor