1,738 questions with Azure Cosmos DB tags

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

Active directory Integration with RBAC for Azure CosmosDB with Mongo API

Planning to create RBAC for Azure Cosmos DB with Mongo API, is Active directory user integration is possible

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 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.
871 questions
asked 2025-01-24T23:26:06.4166667+00:00
Ashok Arumugam 20 Reputation points
commented 2025-01-27T14:44:00.0566667+00:00
Ashok Arumugam 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to move an Azure subscription containing a Cosmos DB using customer-managed encryption keys?

I'm preparing to transfer an Azure subscription from one directory to another. This subscription contains a productive application which includes, among other resources, a Cosmos DB instance and a Key Vault. The Cosmos DB has at-rest encryption using…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,359 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-24T10:50:35.0566667+00:00
Daniel Saner 0 Reputation points
accepted 2025-01-27T11:05:58.6133333+00:00
Daniel Saner 0 Reputation points
0 answers

ReadNextAsync - existing without an error in .NET API

I am using the Azure Cosmos DB API in a C# console app just to play around with it. I am trying to query a Cosmos DB database. It looks like it is connecting to the Cosmos DB database, and iterator.HasMoreResults is true when I hit that line. However, it…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-15T01:03:11.08+00:00
Scott Klein 5 Reputation points
commented 2025-01-27T09:45:04.2233333+00:00
NIKHILA NETHIKUNTA 4,425 Reputation points Microsoft Vendor
3 answers

Unexpected Charge on Free Tier Cosmos DB

Hi all, I have only one Cosmos DB Account in my subscription which I have set to be the "free tier" account with 1000 RU/s and 25 GB quota. I have set the Account to not exceed 1000 RU/s. Now, having worked for a couple of hours on it (those…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-19T09:05:19.8233333+00:00
Mykhailo Saienko 0 Reputation points
commented 2025-01-27T09:19:05.0333333+00:00
Vijayalaxmi Kattimani 985 Reputation points Microsoft Vendor
1 answer

Worker was unable to load function cosmos-redis: 'A function can only be registered during app startup.'

Error: Worker was unable to load function cosmos-redis: 'A function can only be registered during app startup.' at t.registerFunction (C:\Program Files\Microsoft\Azure Functions Core Tools\workers\node\dist\src\worker-bundle.js:2:28959) any…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,351 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-23T05:17:33.6566667+00:00
Premsagar 0 Reputation points
answered 2025-01-27T02:51:02.0333333+00:00
Shireesha Eeraboina (Quadrant Resource LLC) 830 Reputation points Microsoft Vendor
1 answer

How to download payloads from Azure Cosmos DB efficiently?

I need help figuring out how to download specific payloads from Azure Cosmos DB efficiently. While exploring the Azure interface, I noticed an option to delete data, but I couldn’t find a straightforward way to download it. For example, I want to…

Azure SQL Database
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-23T09:15:43.25+00:00
crynos_001 0 Reputation points
commented 2025-01-27T02:50:47.9+00:00
Sai Raghunadh M 1,915 Reputation points Microsoft Vendor
1 answer

BadRequest exceptions from java sdk `readMany` request when container partition key path has quote-escaped field name

When I create a container using a partition key path of "/id", add some documents to the container (say, 20) and read back the documents with a CosmosContainer.readMany operation (java sdk for NoSQL), I get the documents back with no problem.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-22T17:36:00.9+00:00
notnotscott 0 Reputation points
commented 2025-01-25T00:33:13.8233333+00:00
Mahesh Kurva 2,095 Reputation points Microsoft Vendor
2 answers

I dont know why i cant use aggregation

Hi, I was wondering why my queries are not working when i am using aggregation in cosmos. from azure.cosmos import CosmosClient, PartitionKey cosmos_url = 'https://xxx.documents.azure.com:443/' cosmos_key = 'xxx==' client = CosmosClient(cosmos_url,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2024-03-03T18:32:04.65+00:00
Sakib Ali Choudhary 225 Reputation points
answered 2025-01-24T18:42:22.57+00:00
Carlos Milanes 0 Reputation points
2 answers One of the answers was accepted by the question author.

Gremlin API of Cosmos DB Emulator fails to parse decimal numbers

I'm currently developing an application using the Gremlin API of an Azure Cosmos DB, utilizing the Cosmos DB Emulator for local development as per the documentation. However, I've encountered an issue where the emulator does not handle decimal numbers…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2024-10-08T11:38:04.45+00:00
Quinten Claes 40 Reputation points
commented 2025-01-24T17:11:54.1566667+00:00
Tim Van Meerbeeck 0 Reputation points
1 answer

How to fix and troubleshoot 503 errors in Azure Cosmos DB with substatus code of 20003

Hi, We are currently experiencing intermittent 503 errors in our cosmos db. Below is the error message: ServiceUnavailable`` (503); Substatus: 20003; ActivityId: 0b3f26d8-f0ea-4d67-9260-c984144c7f7f; Reason: (GatewayStoreClient Request Timeout.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-20T09:40:50.08+00:00
Katherine Bayona 0 Reputation points
commented 2025-01-24T09:10:42.51+00:00
Sai Raghunadh M 1,915 Reputation points Microsoft Vendor
2 answers

How to connect Azure Data Explorer pool in Synapse to Cosmos DB

Hi, I am trying to connect Data Explorer (Synapse pool) to the Analytical Store in a Cosmos DB container. I was informed on this forum that this is indeed possible and the documentation shows how to do this. Unfortunately when I try to ingest data into…

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
544 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,149 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-20T11:04:52.11+00:00
Christopher Wilkinson 0 Reputation points
commented 2025-01-23T21:45:42.3+00:00
Chandra Boorla 7,260 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

CMK on existing/new Azure Cosmos DB for PostgreSQL Cluster account using Terraform

How do we do encryption (CMK) of existing or new Azure Cosmos DB for PostgreSQL Cluster using Terraform? I am unable to find any reference in terraform. Can you kindly advice? CMK is availble for cosmos db account which doesnot support postgres…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-21T15:03:39.2733333+00:00
Sushant Singh 20 Reputation points
commented 2025-01-23T13:47:08.9266667+00:00
Sai Raghunadh M 1,915 Reputation points Microsoft Vendor
1 answer

[Closed] Is it possible to use ORDER BY with both a field and VectorDistance in Azure Cosmos DB?

[Closed] This is no longer relevant to my use case. The documentation states that a query sorting on two or more fields requires a composite index in Cosmos DB. How can I perform sorting first by Price and then by vector distance, especially if vector…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-19T22:04:13.5266667+00:00
Viktor 0 Reputation points
commented 2025-01-23T01:17:51.1966667+00:00
NIKHILA NETHIKUNTA 4,425 Reputation points Microsoft Vendor
0 answers

Private Endpoint for CosmosDB for MongoDB

Hi , I am trying to achive below thing in Azure. I have a CosmosDB for MongoDB which is accessible publicly. But i need to connect the MongoDB from MongoDBCompass from my laptop. I have some resources in Azure which is accessible only when i…

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,622 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,602 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-20T11:53:45.59+00:00
Sriguruvel Rajendran 0 Reputation points
commented 2025-01-22T18:37:49.0266667+00:00
Ganesh Patapati 3,135 Reputation points Microsoft Vendor
1 answer

There was a problem updating your IoT hub to add a new endpoint

Good morning, I am writing this post since we are experiencing difficulties with our newly purchased Azure IoT Hub subsrcription (B1 Tier): every time we try to create a custom endpoint to route messages to other services, like Cosmos DB, we receive the…

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
411 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-09T09:31:11.3533333+00:00
Dennis Preatto 0 Reputation points
edited an answer 2025-01-22T17:42:15.8766667+00:00
Sander van de Velde | MVP 34,386 Reputation points MVP
1 answer

setting up private endpoint between cosmos db and synapse analytics

hello team, i want to setup private endpoint for synapse workspace and cosmos db but the "managed virtual network" is set as No. how does it affect the private endpoint connection. please let me know if any way to establish the explicit…

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,149 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-22T11:55:22.2066667+00:00
ANKIT GHENGE 85 Reputation points
answered 2025-01-22T17:15:20.18+00:00
Ganesh Gurram 3,270 Reputation points Microsoft Vendor
4 answers

Does the provided "access_cosmos_with_aad.py" sample works for Cosmosdb for MongoDB API?

Does the CosmosClient class allow authentication to Cosmosdb for MongoDB API? I tried using it but come back with the error: …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,010 questions
asked 2025-01-15T20:00:08.99+00:00
Jeffrey Mak 0 Reputation points
commented 2025-01-21T23:15:30.5433333+00:00
Goutam Pratti 1,395 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Private endpoint Connectivity | CosmosDB vCore

From VM inside vnet/subnet as the DB, I'm able to use Mongo shell to connect to CosmosDB vCore. I'll assume since private endpoint is configured, traffic flows over that connection. Strangely, the same applies when I access Azure portal, CosmosDB from…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2025-01-14T18:41:48.65+00:00
Gonzalez, Ernie 45 Reputation points
accepted 2025-01-21T20:37:55.9433333+00:00
Gonzalez, Ernie 45 Reputation points
1 answer

้how to pause/stop some databases on Azure Cosmos DB for maintenance?

Anyone know how to pause/stop some databases on Azure Cosmos DB for maintenance purpose. We need to maintain/data migrate on the specific database with no impact to other databases that are still running for business operation.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2021-07-10T04:53:03.943+00:00
Songkran Junpet 1 Reputation point
edited a comment 2025-01-21T09:30:34.39+00:00
David DEL VECCHIO 26 Reputation points
1 answer One of the answers was accepted by the question author.

Need help on connecting Azure Cosmos DB using Java script.

Hello, I have just started on using cosmos DB. My goal is to create a java script app where I can store audit logs into cosmos DB. But I have some problems related to adding new items in the container. I ran this following code I provided, but it…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
asked 2024-10-08T10:16:21.2066667+00:00
Junheok Cheon 100 Reputation points
accepted 2025-01-21T09:17:36.5866667+00:00
Junheok Cheon 100 Reputation points