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
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…
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…
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…
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…
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…
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.…
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,…
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…
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.…
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…
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…
[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…
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…
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…
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…
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: …
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…
้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.
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…