1,638 questions with Azure Cosmos DB tags

Sort by: Updated
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,638 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,081 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
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,638 questions
asked 2024-10-08T10:16:21.2066667+00:00
Junheok Cheon 0 Reputation points
commented 2024-10-11T10:13:04.6733333+00:00
Junheok Cheon 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,638 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,638 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,555 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,638 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 (Quadrant Resource LLC) 5 Reputation points Microsoft Vendor
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,638 questions
asked 2024-10-09T07:59:23.93+00:00
Dmytro Kucheryavenko 0 Reputation points
commented 2024-10-10T16:02:23.88+00:00
Mahesh Kurva 245 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,638 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
0 answers

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,638 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,081 questions
asked 2024-10-09T17:11:06.3366667+00:00
Brendon de Almeida Calazans 0 Reputation points
commented 2024-10-10T12:57:04.9166667+00:00
Brendon de Almeida Calazans 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,638 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,638 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
1 answer One of the answers was accepted by the question author.

Azure Cosmos DB Account Location Not Available

Hi, I am receiving the following error while creating a new resource group on my trail account. I could only find two location options, 'EAST US 2 EUAP' and 'CENTRAL US EUAP' but, both the locations are giving me same error. I am currently on trail Azure…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
asked 2024-04-06T21:44:51.98+00:00
Kinnera, Sasank 20 Reputation points
commented 2024-10-10T07:24:42.54+00:00
Nick Askew 0 Reputation points
1 answer

Azure App Service Unable to Connect to Azure Cosmos DB (MongoDB API)

Hello! I'm experiencing an issue where my Flask application hosted on Azure App Service cannot connect to my Azure Cosmos DB (MongoDB API). The connection works fine on my local machine, but fails when deployed to Azure. Environment: Azure App…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,779 questions
asked 2024-10-08T20:25:34.7333333+00:00
Amin Kharaghani 0 Reputation points
commented 2024-10-10T00:08:54.2733333+00:00
Sina Salam 10,726 Reputation points
0 answers

I can't find the URL for my Azure Cosmos DB for MongoDB (vCore)

Hi, I want to create a simple HTTP Endpoint API but, I can't find the URL for my Azure Cosmos DB for MongoDB (vCore) are there any simple way like the Mongodb HTTPS endpoint API I have use Mongodb Atlas before and it's really easy and simple…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,130 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
asked 2024-10-04T05:14:36.2133333+00:00
autopart 0 Reputation points
commented 2024-10-08T01:09:01.0433333+00:00
Khadeer Ali Shaik Kanubai (Quadrant Resource LLC) 5 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Assign Entra ID user to CosmosDB PostgreSQL role using CLI/BICEP/Powershell

Hi there, We are using CosmosDB PostgreSQL Cluster and wish to use Entra ID authentication for all users. We build our environment completely via IaC using Bicep and CLI, but can't find how to create the roles for the Entra…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
Azure Database for PostgreSQL
asked 2024-09-30T14:17:32.2133333+00:00
Ian Clarke 20 Reputation points
edited a comment 2024-10-07T23:33:51.28+00:00
Oury Ba-MSFT 19,176 Reputation points Microsoft Employee
0 answers

CosmosDB API | How to get the logical data size for a given partition

Hi, I need to get the logical size of a given partition using the CosmosDB API, but I did not find anything in the SDK or with a web search. As there is a 20Gb limit on that logical size, it makes sense to have a way to get that size, so I probably…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
asked 2024-10-03T10:11:11.92+00:00
Olivier Moreau 0 Reputation points
commented 2024-10-07T17:50:28.3366667+00:00
Sai Raghunadh M 555 Reputation points Microsoft Vendor
2 answers

How to read data users.csv.gz?

Hi, I am referring link https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/quickstart-distribute-tables And getting this error: citus=> SELECT * FROM create_extension('azure_storage'); create_extension (1 row) citus=> COPY…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
Azure Database for PostgreSQL
asked 2024-10-03T11:44:25.7566667+00:00
Santosh Anand 0 Reputation points
commented 2024-10-07T16:29:43.85+00:00
Sai Raghunadh M 555 Reputation points Microsoft Vendor
3 answers

Migration of data between cross Tenants cosmos DB accounts

Hi Team, We want to migrate data between two cosmos DB NOSQL accounts which are located in two different tenants. One cosmos DB is in "CORP Tenant"(microsoft.com) and another cosmos DB is in PME tenant. Please provide me some guidance on how to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
asked 2024-08-28T05:42:15.5733333+00:00
Thakkelapalli Swapna (INFOSYS LIMITED) 0 Reputation points Microsoft Vendor
answered 2024-10-07T10:41:26.54+00:00
Richa Gaur 75 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Permission on subscription when creating Azure Synapse workspace

I want to create a workspace subscript on Cosmos-bingads-bi, the website prompts me that I do not have the permission. Where should I apply for the permission?

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
453 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
asked 2022-02-17T06:41:21.4+00:00
Jie Li 71 Reputation points
answered 2024-10-05T18:37:18.8233333+00:00
Gabor Stefan 0 Reputation points
0 answers

How to get Employees Hierarchy

Hi, My requirement is as follows: I would like to obtain Employee Wise Hierarchy (Bottom Employees to Top Employees) using SP. Note (Role): NH is Level-1(Top Level) VH is Level-2 AVP is Level-3 RM is Level-4 DRM is Level-5 BM is Level-6 TH is Level-7…

Azure Table Storage
Azure Table Storage
An Azure service that stores structured NoSQL data in the cloud.
170 questions
Azure Database for MariaDB
Azure Database for MariaDB
An Azure managed MariaDB database service for app development and deployment.
55 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
828 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
asked 2024-09-30T17:48:51.62+00:00
vandana 0 Reputation points
commented 2024-10-04T17:24:58.3266667+00:00
NIKHILA NETHIKUNTA 2,555 Reputation points Microsoft Vendor
2 answers

Cosmos DB - Failed to change the ID after it has exceeded 300 characters.

On 2023-03-23, we create a new CosmosDB Account. And then we found something wrong. Failed to change the ID after it has exceeded 300 characters. we change the ID of the data to one over 300 characters. it succeeded After that, failed to change the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,638 questions
asked 2023-03-24T07:58:54.4666667+00:00
CHEN XIAOJIE 96 Reputation points
commented 2024-10-03T22:19:20.9133333+00:00
aj 0 Reputation points