Az intra-account copy in cosmosDB totalCount differs from processedCount
Hi guys, I created a collection "recordsWithA" in cosmosDB for MongoDB with 35kk records with partition key A and a field B. I then proceeded to create another empty collection "recordsWithB" choosing field B as the new partition…
Composite Index for Items in Azure CosmosDB Container
Hello Community, I am trying to create a container in my Azure CosmosDB account. I have enabled the Vector Preview feature for my container. I have a data that looks like this: - {"id": "6", "Context": […
Help with Bicep Template for Deleting Azure Resources Based on Resource Name
I have created Bicep templates for provisioning various Azure resources such as Azure OpenAI, Azure Cognitive Search, Azure App Service, and Azure Cosmos DB. In a similar way, I would like to write a Bicep template or script that allows for the deletion…
Cosmos 429 errors suddenly raised without apparent reason
Two days ago errors 429 in cosmos suddenly raised. For the normal workload the values are always between 1-5% of errors, although we raised the RU's (even double it) the errors keep going and they are 10 times the previous values. As you can see in the…
Azure Cosmos DB emulator, fail to use it from python due to Firewall errors
I've started a cosmos db in my docker on the windows machine, used Linux docker image. docker run \ --publish 8081:8081 \ --publish 10250-10255:10250-10255 \ --name linux-emulator \ --detach \ …
CosmosDB cannot read out documents with URL encoded IDs
We had a Cosmos DB account and in one of the containers some of the documents have URL encoded IDs, e.g.: rfq_123_%28test%29 meaning "rfq_123_(test)". I'm no fan of url encoded IDs, but I'm just supporting the project and it's too late to…
Power BI Service connection to Cosmos DB-> Not supported Online Refresh Data
I open this question because I am trying to monitor the data from a Database that is located in Comos DB. I have created a report in my local Power BI desktop and the connection works. However, when I try to uploaded the report to Power Bi service that…
disableLocalAuth for cosmos db
Attempting to use RBAC authentication to connect to Cosmos DB results in different behaviors based on the disableLocalAuth setting. When disableLocalAuth is set to false, the connection to Cosmos DB is successful, and data can be retrieved. However,…
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…
How to scale throught partitioning CosmosDB to handle billions of documents
At my company we have a mongo collection hosted on CosmosDB that has reached 180 million records that is currently sharded. Sadly and painfully, the chosen partitioning strategy has been shown to be really bad: suffers both from the scatter/gather…
Error when using the Cosmos Azure DB filter function with an OpenAI GPT
Previously I used Azure Cosmos DB for MongoDB (VCore) free tier for RAG and used the vector filtering process (included in Azure and also in my Python script) and everything worked perfectly. I created a new project following the same processes above,…
Cosmos DB Change Feed Occasionally Not Triggering Azure Function
I have an Azure Function that is triggered off the Cosmos change feed. Occasionally, this trigger does not seem like it is being called (or at least not logged (sampling is turned off)). Also, sometimes the Cosmos updates can happen quickly. Has anyone…
Does Azure Cosmos DB (Mongo API) utilize compound indexes or memory during sorting?
According to the Cosmos DB Mongo API (vCore) documentation, an existing indexing limit is stated as follows: Sorting is done in memory and doesn't push down to the index. Should this be understood to mean that indexes do not participate in sorting the…
In Azure OpenAI Studio, I'm working on Chat Playground, trying to connect to my own Azure Cosmos DB for MongoDB (vCore). I can't select an index name; there's no dropdown. What's the issue?
In Azure OpenAI Studio, I am currently engaged in the Chat Playground project, where I am endeavoring to establish a connection to my personal data source via Azure Cosmos DB for MongoDB (vCore). I have encountered a predicament during the selection of…
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…
Microsoft.Azure.Cosmos.CosmosException on PartitionKey
Hi. I have an old CosmosDB environment that was original accessed by DocumentDB client. the current partition key on the collection is listed in "settings" as /header.code and when a document is submitted I can see the value of the key in the…
does azure cosmosdb service tag include physical partition ip ranges?
I added a NSG rules to block the outbound requests to cosmosdb but found out that only the requests to cosmosdb gateway has been blocked. The requests to physical pation still could go through. So does azure cosmosdb service tag include physical…
Message: Cross partition query is required but disabled. Please set x-ms-documentdb-query-enablecrosspartition to true, specify x-ms-documentdb-partitionkey, or revise your query to avoid this exception.
I have a Azure Cosmos DB container in Azure partitioned by 'ticker'. I am using the python SDK to try and make a simply query using the ContainerProxy I receive the following error: for item in container.query_items('SELECT * FROM scores',…
I am trying to create a Cosmos DB instance for an online self training exercise, but I am getting an error when I choose the available location for my subscription
{ "code": "LocationNotAvailableForResourceType", "message": "The provided location 'centraluseuap' is not available for resource type 'Microsoft.DocumentDB/databaseAccounts'. List of available regions for the…
how to fix The provided location 'centraluseuap' is not available for resource group
{"code":"LocationNotAvailableForResourceGroup","message":"The provided location 'centraluseuap' is not available for resource group. List of available regions is…