Best way to read from MongoDB change streams from within Azure
Hello! We have an application that needs events from our MongoDB change stream and insert the change event into Data Lake storage. We cannot use MongoDB Triggers to call an Azure Function because we have no way of authenticating the Trigger (we have been…
Azure Stream Analytics Job to save data to CosmosDB for Mongo
Hi I am creating an IoT solution I have connected the Azure Stream Analytics job with CosmosDB NoSQL and it si working fine, but I would like to connect to the CosmosDB for Mongo since we are used to work with Mongo DB. More over The CosmosDB is…
query a cosmosDB with private endpoint from a static webapp
I have an application running in a static webapp. This application should be able to query a cosmosDB which is only reachable via a private endpoint. What is the procedure to add a static webapp to a VNET to be able to reach the cosmosDB instance?
azure.core.exceptions.ServiceResponseError while uploading/retriving the data from Cosmos
While I am trying to access the Azure Cosmos, throug my Microsoft 365 cloud PC using Python I am getting the following error while retrieving/uploading into the container. **azure.core.exceptions.ServiceResponseError: ('Connection aborted.',…
How to perform bulk updates with CosmosDB Core API similar to UPDATE command in SQL?
We have a CosmosDB Core API instance and are finding it difficult to perform one-off bulk updates of our data, similar to how you use the UPDATE .... SET X = Y command with a relational SQL database. The initial research I performed pointed me in the…
Azure Cosmos DB - Incurred Charges on Free Tier
I incurred a charges for Cosmos DB in Free Tier. I understand the part where RUs are free up to certain limit, but after that users can be charged. Is there way to place a hard-stop, or throttling if RUs are going above max-limit given for free-tier…
Cosmos DB Client Encryption Key Management in IaC
We are working to implement client-side encryption in Cosmos DB through our infrastructure-as-code (IaC) setup with Pulumi. However, the current approach requires using the Cosmos DB SDK to manage encryption keys, which would necessitate assigning our…
Azure Policy: Cosmos DB Backup type
Hello I have the following policy where I want to check if the Cosmos DB are in Continuous Backup Mode (ideally later to check for 30D but first things first) I did this very basic Policy but the result is the opposite of the…
Can Continuous Backup in Cosmos DB Restore Items Expired by Time to Live (TTL)?
Can Cosmos DB's continuous backup feature restore items deleted by Time to Live expiration In the periodic backup documentation, it clearly states that documents that were deleted because of expired TTL will not be restored. But no such limitation is…
DeliveryFailedEvent from Azure Event Grid to Synapse trigger with errorCode=RequestEntityTooLarge
I have an event-driven flow where changes in Comsos DB triggers an Azure Function the Azure Function pushes each changed document to a topic in Azure Event Grid a Synapse trigger is triggered and pushes the changed document to a Synapse…
How to Create a custom RBAC role to provide access to a specific container in cosmosdb
Hi Microsoft Support Team, I’m reaching out for assistance with creating a custom RBAC role that provides access to a specific container within a Cosmos DB account. I followed the instructions outlined in…
ADF - Timeout when all parts have access to resources.
Hi Community! I’m running into a challenging issue with my Azure Data Factory setup. Here’s what my current infrastructure looks like: Azure Data Factory (ADF) CosmosDB Key Vault Storage Account Private Networks Everything was set up months ago…
Vector Search in Azure Cosmos DB for NoSQL
Hello, I would like to create a container for building a RAG solution with Azure Cosmos NoSQL: https://video2.skills-academy.com/en-us/azure/cosmos-db/nosql/vector-search This works if i create the BD via python, but i cannot find any reference in the API…
How can i add a filter to Azure CosmosDB for MongoDB?
Hi all, I am currently using LangChain to implement RAG with Azure CosmosDB for MongoDB. However, I am facing the issue of my filter not working. Have tried using both the filter argument for .as_retriever() and the pre_filter argument for…
Merging original Cosmos DB data with the restored data from continuous backup
Cosmos DB's continuous backup allows for point of time restore where a backed-up version of the database can be restored to a new Cosmos DB account. In the scenario, that some data is accidentally deleted from a Cosmos DB container, a back up can be…
Consistency Level Behavior in Azure Cosmos DB (MongoDB API)
From the information available in the documentation, "Session" consistency is not supported by MongoDB. The write concern is mapped using these three consistency levels: strong => majority, bounded stateless => minority, consistent…
Retrieving schema of purview scanned assets with object type is file also,i want to retrieve the schema of assets scanned with Cosmos db as source
I could get the schema for Object type is Tables in purview, but i couldn't retrieve for the object type is files,when I am calling atlas API the schema i get is empty[].
Getting Cosmos DB error while evaluating python-based RAG chat app using prompt flow SDK
Hi, I am following this https://video2.skills-academy.com/en-us/azure/ai-studio/tutorials/copilot-sdk-evaluate-deploy link and trying to evaluate my RAG based chat app. At the evaluation step, I am getting the below error: The workspace Cosmos DB is not…
How to create an output binding to cosmos db to create a new document using azure function.
I'm currently trying to send a sample document to Cosmos DB at the end of the function. Although the database and collection exist, it returns an error. System.Private.CoreLib: Exception while executing function: Functions.cosmosTriggerCheck.…
Connection Pooling with Azure COSMOS Python Client
I am using the below code to retrieve items from Azure COSMOS DB. This code is part of a WebAPI and the code will run in multiple threads. Which of the following objects are thread-safe: db_client, database, container ? Can I create a singleton for…