1,643 questions with Azure Cosmos DB tags

Sort by: Updated
0 answers

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-10-18T11:21:44.9566667+00:00
Stefano Falangone 0 Reputation points
edited a comment 2024-10-19T06:23:32.4066667+00:00
Mahesh Kurva 245 Reputation points Microsoft Vendor
0 answers

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": […

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,132 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,866 questions
asked 2024-10-15T19:53:01.86+00:00
Karan Saxena 0 Reputation points
commented 2024-10-18T21:54:20.1733333+00:00
Sai Raghunadh M 560 Reputation points Microsoft Vendor
0 answers

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…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,929 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,029 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,132 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,807 questions
asked 2024-10-14T10:34:46.59+00:00
Gupta, Shalu 0 Reputation points
commented 2024-10-18T17:59:20.8033333+00:00
VenkateshDodda-MSFT 21,226 Reputation points Microsoft Employee
0 answers

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-10-17T07:08:16.9066667+00:00
Albert Urgell 20 Reputation points
commented 2024-10-18T17:10:01.23+00:00
Vijayalaxmi Kattimani 5 Reputation points Microsoft Vendor
1 answer

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 \ …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-07-23T14:36:04.5533333+00:00
edited a comment 2024-10-18T16:52:05.2+00:00
Oury Ba-MSFT 19,346 Reputation points Microsoft Employee
0 answers

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-07-25T12:25:38.28+00:00
Mikkel 5 Reputation points
commented 2024-10-18T16:08:28.7+00:00
Oury Ba-MSFT 19,346 Reputation points Microsoft Employee
3 answers

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2022-10-27T10:37:25.317+00:00
Gimenez, Miguel 1 Reputation point
answered 2024-10-18T09:10:30.77+00:00
Tembhurne, Mrunali 0 Reputation points
1 answer

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,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 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.
814 questions
asked 2024-10-17T15:53:55.1966667+00:00
HAO XIN 0 Reputation points
commented 2024-10-17T18:55:34.0166667+00:00
HAO XIN 0 Reputation points
1 answer

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,643 questions
asked 2024-10-08T10:16:21.2066667+00:00
Junheok Cheon 0 Reputation points
commented 2024-10-17T17:55:02.09+00:00
Mahesh Kurva 245 Reputation points Microsoft Vendor
1 answer

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-09-11T14:34:07.0966667+00:00
Stefano Falangone 0 Reputation points
commented 2024-10-17T17:25:20.0333333+00:00
Oury Ba-MSFT 19,346 Reputation points Microsoft Employee
1 answer

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,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,132 questions
asked 2024-10-09T17:11:06.3366667+00:00
Brendon de Almeida Calazans 0 Reputation points
commented 2024-10-17T16:47:50.9933333+00:00
Oury Ba-MSFT 19,346 Reputation points Microsoft Employee
1 answer

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…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,029 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-02-20T19:29:23.9733333+00:00
Alex S 6 Reputation points
commented 2024-10-14T21:50:46.8266667+00:00
Francisco Romero 0 Reputation points
1 answer

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-10-09T07:59:23.93+00:00
Dmytro Kucheryavenko 0 Reputation points
commented 2024-10-14T16:33:12.5266667+00:00
Mahesh Kurva 245 Reputation points Microsoft Vendor
7 answers

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,132 questions
asked 2023-12-18T08:58:05.4833333+00:00
Siravich Piboonworachat 5 Reputation points
answered 2024-10-11T11:52:36.0133333+00:00
George Kontus 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,643 questions
asked 2024-10-08T11:38:04.45+00:00
Quinten Claes 40 Reputation points
accepted 2024-10-11T07:29:18.44+00:00
Quinten Claes 40 Reputation points
2 answers

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-10-05T09:55:53.3833333+00:00
AndyB-UK 106 Reputation points
edited an answer 2024-10-10T19:31:33.2666667+00:00
NIKHILA NETHIKUNTA 2,790 Reputation points Microsoft Vendor
1 answer

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-10-08T08:15:15.67+00:00
Zengbo Luo 0 Reputation points Microsoft Employee
commented 2024-10-10T16:43:00.2866667+00:00
Vijayalaxmi Kattimani 5 Reputation points Microsoft Vendor
0 answers

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',…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2021-11-05T11:30:12.587+00:00
Gerard Church 1 Reputation point
commented 2024-10-10T15:35:01.9033333+00:00
Surya Meda 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-09-14T14:49:03.9833333+00:00
Jihad Chreim 25 Reputation points
commented 2024-10-10T07:33:38.8866667+00:00
Nick Askew 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,643 questions
asked 2024-05-30T22:12:41.3266667+00:00
Ravindra Mankar 20 Reputation points
commented 2024-10-10T07:28:55.2066667+00:00
Nick Askew 0 Reputation points