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…
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 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://learn.microsoft.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…
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…
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://learn.microsoft.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…
Cosmos db account is failed with error-Failed to retrieve collection list. Please click Refresh to try again.
I am trying to create Cosmos db account in UK West from past 2 days but it's getting failed with error: Failed to retrieve collection list. Please click Refresh to try again.
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 use odata query on cosmos DB
I have the OData query with the filter, I need to apply the query on the cosmos DB and get the filtered results with the pagination. Is there any way I can convert the OData query into SQL query or any other better approach or is there any documentation…
Postgres for Cosmos DB stuck creating standby
Hi, Was wondering if anyone encountered this before. I had a basic postgres Cosmos setup for evaluation, then i scaled up the machine as it started to need a few more resources. Now it's been stuck "Creating standby" for a few days. I'm running…