1,448 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Cosmos DB Hierarchical Keys

Hi all, would like to know and get more clarity on this feature. 1.Let said i have set the hierarchical keys as colA and colB. a .Does the read performance improved if my cosmos query is using where condition with colA b. Does the read performance…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-07T11:19:07.2666667+00:00
Yang Chow Mun 101 Reputation points
accepted 2024-04-10T10:47:24.4366667+00:00
Yang Chow Mun 101 Reputation points
1 answer One of the answers was accepted by the question author.

i want to merge two tables in cosmos db

Hi im trying to join two tables in cosmos db can anyone help me on doing this merge data from two collections in my Cosmos DB ? your help is appreciated.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-09T19:37:23.69+00:00
simon 20 Reputation points
accepted 2024-04-10T05:12:47.7+00:00
simon 20 Reputation points
2 answers

Loopback connector with Cosmos Mongo DB

Hi, I was running an application which uses loopback-connector-mongodb to connect to Mongo DB, but when using the same connector with Cosmos Mongo DB it doesn't work. I tried in the datasources.json using mongodb protocol which gives connection timeout…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-07T13:21:35.0133333+00:00
Sarah 0 Reputation points
commented 2024-04-10T04:54:58.5533333+00:00
ShaktiSingh-MSFT 13,436 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

role based access control in azure using cosmosdb

Hi i need to create role based access using json file of my company employees data which is stored as items in a container in azure cosmos db. All employees data stored in Json format. i am still confused how achieve this in azure. i am creating this…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 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.
672 questions
asked 2024-04-09T18:14:58.1733333+00:00
Dinnemidi Ananda Kumar 60 Reputation points
accepted 2024-04-10T04:50:50.73+00:00
Dinnemidi Ananda Kumar 60 Reputation points
0 answers

Error when bulk inserting documents with Cosmos DB (Response status code does not indicate success: Conflict (409); Substatus: 0; ...)

I am trying to add a collection of this object: public class Organization { [JsonProperty("id")] public string? Id { get; set; } [JsonProperty("name")] public string? Name { get; set;…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-05T08:08:38.3866667+00:00
Syifa Prasetyo 20 Reputation points
commented 2024-04-08T22:05:07.95+00:00
GeethaThatipatri-MSFT 27,642 Reputation points Microsoft Employee
1 answer

How can I implement role-based access control (RBAC) in my chatbot using employees data in my company?

Hello Azure Community, I'm currently developing a chatbot application for my organization, and I'm seeking guidance on implementing role-based access control (RBAC) using Azure Cosmos DB for data storage. Here's a breakdown of my requirements: Data…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 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.
672 questions
asked 2024-04-07T14:23:33.08+00:00
Dinnemidi Ananda Kumar 60 Reputation points
answered 2024-04-08T08:00:23.02+00:00
ShaktiSingh-MSFT 13,436 Reputation points Microsoft Employee
1 answer

Does SQL client needs to change in any way if azure CosmosDB for PostgreSQL is encrypted with custom keys

I have a Cosmos PostgreSQL db and i can connect to it using normal username, password, hostname and port number. If the db is encrypted using custom keys does anything needs to change on client side. Or it can still be connect with a normal database user…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-05T09:40:52.15+00:00
Kaif Khan 0 Reputation points
commented 2024-04-08T06:15:41.81+00:00
Deepanshu katara 4,985 Reputation points
1 answer One of the answers was accepted by the question author.

partial update on cosmos db

Hi all, I have a few data sources which going to write into a single cosmos db container based on the id but the the update will be on different fields. Example. the document json will be like {id: xxxx, car_number:xxx, car_model:xxx, car_color:xxx,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-07T11:13:39.5933333+00:00
Yang Chow Mun 101 Reputation points
accepted 2024-04-08T01:05:28.1433333+00:00
Yang Chow Mun 101 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,448 questions
asked 2024-04-06T21:44:51.98+00:00
Kinnera, Sasank 20 Reputation points
accepted 2024-04-07T01:32:25.06+00:00
Kinnera, Sasank 20 Reputation points
1 answer

Error when creating Vector Index for MongoDB vCore

Hello. I uploaded around 150,000 documents to my MongoDB vCore. My searches were returning either terrible results or no results at all, so I decided to recreate the index. That is when I got this error message: I can't create an index with fewer…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-04T21:14:35.2566667+00:00
Tyler Suard 55 Reputation points
edited a comment 2024-04-05T19:41:58.99+00:00
James Codella 10 Reputation points Microsoft Employee
1 answer

Azure Sandbox suspended

Hi I took a coursera course of azure dp 203 i connected azure sandbox with new outlook account it work .Due to some work i had a seven days off so couldn't carry on with course.Today i started where i left but i am unable to access sandbox its stating my…

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,395 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,599 questions
asked 2024-04-04T15:44:53.6166667+00:00
Raj 0 Reputation points
answered 2024-04-05T10:30:00.8633333+00:00
Vinodh247-1375 11,211 Reputation points
1 answer One of the answers was accepted by the question author.

Which Database should I use for a moble app?

Which Database should I use for a moble app?. Specifically, I would also like a step-by-step tutorial for setting up this database. Since bing is a Microsoft product I thought I would give your AI co-pilot a try and ask him for advice. That might not…

Azure SQL Database
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
714 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-02T14:15:07.71+00:00
William Thompson 60 Reputation points
commented 2024-04-03T21:04:13.0933333+00:00
Oury Ba-MSFT 16,471 Reputation points Microsoft Employee
0 answers

I am getting a Deployment Failed message on deploy when creating an Azure Cosmos DB and a container using Bicep

I am getting a Deployment Failed message on deploy when creating an Azure Cosmos DB and a container using Bicep

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-03T18:23:43.13+00:00
Trevor Gadson 0 Reputation points
commented 2024-04-03T18:43:11.9566667+00:00
GeethaThatipatri-MSFT 27,642 Reputation points Microsoft Employee
3 answers

Can I connect directly to CosmosDB from ADF using the key vault?

I am trying to set up an azure key vault key to connect from Azure Data Factory directly to CosmosDB. I am following this link but it seems to be for a web app service. https://learn.microsoft.com/en-us/azure/cosmos-db/store-credentials-key-vault This…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,124 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,599 questions
asked 2024-03-06T17:59:38.0433333+00:00
Andrew Hopkinson 6 Reputation points
commented 2024-04-03T06:46:46.72+00:00
Shweta Mathur 27,711 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Can I use this free trial or the NoSQL emulator to access more replica sets?

Hi, I'm a student. The main research topic of my thesis is the Azure Cosmos DB NoSQL database. I have Azure for Students subscription which allows me to use the free trial version of the Cosmos DB. I would like to create a .Net 8 web application for…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-03-27T19:55:15.3733333+00:00
EDINA-SZYLVIA FAZAKAS 20 Reputation points
commented 2024-04-02T23:11:34.6466667+00:00
GeethaThatipatri-MSFT 27,642 Reputation points Microsoft Employee
1 answer

Help verify what code changes to be made for "Update to Azure Cosmos DB extension version 4.x for Azure Functions"

Hello, I had received the email notification from Microsoft in regards to "Update to Azure Cosmos DB extension version 4.x for Azure Functions by 31 August 2024".I have looked through and gone through some of the starting migration steps of…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,298 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-03-28T13:11:45.2733333+00:00
mg-e1001 0 Reputation points
edited a comment 2024-04-02T19:55:13.3266667+00:00
mg-e1001 0 Reputation points
1 answer One of the answers was accepted by the question author.

Accumulator $push not implemented yet. In Cosmos MongoDB

I am using Aggregation in AzureCosmosDB, my collection have many messages and I want to group it by user_id. This is my pipeline: {"$group": {"_id": "$user_id", "messages": {"$push":…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-03-29T08:07:18.46+00:00
Duy Nguyen (Engineering - Backend) 20 Reputation points
commented 2024-04-02T19:42:07.89+00:00
Artur Shahbazyan 25 Reputation points
2 answers One of the answers was accepted by the question author.

Can I require managed identites on a CosmosAccount via CLI/PowerShell/Portal

https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac#disable-local-auth Shows how to disable keys from an ARM template. Can this be done for an existing cosmos not created with ARM. Either from CLI, Powershell, or Portal. QA Assist…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-04-01T13:22:41.0266667+00:00
mikefinch87@gmail.com 60 Reputation points
accepted 2024-04-02T16:31:41.3+00:00
mikefinch87@gmail.com 60 Reputation points
1 answer

How to retrieve data from Cosmosdb using REST API

I'm currently working on retrieving data from Cosmos DB using the REST API, but I've encountered an issue with the authorization header. When I attempt the operation, I'm met with the following error…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-03-19T10:14:50.0066667+00:00
Abhishek Tiwari 0 Reputation points
commented 2024-04-01T23:50:06.5766667+00:00
GeethaThatipatri-MSFT 27,642 Reputation points Microsoft Employee
2 answers

Getting internal serrver error while using query document connector

hi using the query below. This runs fine on the data explorer. However, getting an internal server error while using in query document connector in Power Automate. Can someone please assist? SELECT DISTINCT value c.OfficeBranch From…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,448 questions
asked 2024-03-22T03:15:02.07+00:00
Ren 21 Reputation points
commented 2024-04-01T23:09:32.2233333+00:00
Ren 21 Reputation points