1,749 questions with Azure Cosmos DB tags

Sort by: Updated
2 answers

Is there a more secure way to access cosmos mongdb vcore via python app service

Is there a more secure way to access data in Cosmos mongodb vcore via python App service. Currently I am using basic authentication using connection string. I would like to know if there is a way to authenticate using managed identity or AAD tokens.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,257 questions
asked 2025-02-05T20:13:55.3066667+00:00
Priyanka Hurakadli 25 Reputation points Microsoft Employee
commented 2025-02-07T13:02:31.7566667+00:00
Sai Raghunadh M 2,315 Reputation points Microsoft Vendor
1 answer

How to fix and troubleshoot 503 errors in Azure Cosmos DB with substatus code of 20003

Hi, We are currently experiencing intermittent 503 errors in our cosmos db. Below is the error message: ServiceUnavailable`` (503); Substatus: 20003; ActivityId: 0b3f26d8-f0ea-4d67-9260-c984144c7f7f; Reason: (GatewayStoreClient Request Timeout.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-01-20T09:40:50.08+00:00
Katherine Bayona 0 Reputation points
commented 2025-02-07T13:00:22.1733333+00:00
Sai Raghunadh M 2,315 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Cosmos DB multi-region and free of charge

I want to do some tests with writable multi-region and still keep my account free of charge. In Best practices to keep your account free, it says that "Account with two regions that has one container with a max of 500 RU/s provisioned…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-02-06T23:02:46.53+00:00
Val Tortola Luis 20 Reputation points
commented 2025-02-07T10:51:17.6+00:00
Val Tortola Luis 20 Reputation points
0 answers

Having trouble in copy data between cosmos mongodb

Operation on target ForEach_q2g failed: Activity failed because an inner activity failed; Inner activity name: Copy_q2g, Error: Failure happened on 'Sink' side.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,206 questions
asked 2024-01-29T14:48:52.7+00:00
Rajagopal Venkataramani 5 Reputation points
commented 2025-02-07T08:42:06.3633333+00:00
Mamidi Vasavi 0 Reputation points
3 answers One of the answers was accepted by the question author.

Cosmos DB doesn't support MongoDB `hello` command

Hi, MongoDB is using "hello" command for handshaking health check. However, CosmosDB doesn't support it, and all the application development frameworks have switched from isMaster command to this now, which is creating dirty overriding layer in…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-02-04T11:41:52.6333333+00:00
Zhanming Cui 20 Reputation points
edited a comment 2025-02-07T07:41:11.8866667+00:00
Dimitri M 0 Reputation points
1 answer

Python CosmosDB trigger failing to show up in Azure Functions GUI

Hello, We are currently working on trying to deploy a python cosmosDB-triggered function to an azure function app (v2), and while we have had successful deployments of the relevant files to the resource, it simply does not appear in the GUI (the files…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,397 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-02-06T02:26:43.9933333+00:00
AdamHumiecki-2359 0 Reputation points
edited an answer 2025-02-07T04:44:43.12+00:00
Shireesha Eeraboina 1,550 Reputation points Microsoft Vendor
1 answer

How to fix "Similarity index was not found for a vector similarity search query." error from cosmos mongodb

I am trying to use cosmos mongodb vcore as memory for Semantic Kernel to implement RAG. I have code that inserts the sample data into cosmos mongodb vcore and does a vector search. I am able to insert the data using below code but when I try to search…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-02-05T20:25:01.5266667+00:00
Priyanka Hurakadli 25 Reputation points Microsoft Employee
edited a comment 2025-02-07T03:38:09.6766667+00:00
Vijayalaxmi Kattimani 1,085 Reputation points Microsoft Vendor
1 answer

Connect to a Cosmos Mongo Vcore instance over an Azure P2S VPN

I'm trying to connect to a Cosmos Mongo vcore database over a p2s vpn and am having a hard time pinning down why this isn't working. We have a hub vnet that contains a vpn gateway subnet, a private endpoint subnet, and a dns resolver subnet. I created…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-02-04T14:46:10.71+00:00
dweber-LTCH 0 Reputation points
commented 2025-02-06T17:50:12.04+00:00
Mahesh Kurva 2,670 Reputation points Microsoft Vendor
1 answer

How to download payloads from Azure Cosmos DB efficiently?

I need help figuring out how to download specific payloads from Azure Cosmos DB efficiently. While exploring the Azure interface, I noticed an option to delete data, but I couldn’t find a straightforward way to download it. For example, I want to…

Azure SQL Database
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-01-23T09:15:43.25+00:00
crynos_001 0 Reputation points
commented 2025-02-06T17:25:36.05+00:00
Sai Raghunadh M 2,315 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

CosmosDb multi-region writes and creating globally unique value

Hi! I am trying to understand how to deal with conflicts when using multi-region writes. Imagine I am trying to create a Twitter clone and I have to ensure that when a user creates an account, it also select an unique user handle (a unique key like…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-02-05T21:36:52.23+00:00
Val Tortola Luis 20 Reputation points
commented 2025-02-06T09:59:34.2566667+00:00
Val Tortola Luis 20 Reputation points
1 answer

error in portal query: Authorization header doesn't confirm to the required format. Please verify and try again. ActivityId: 89881f95-402e-4aa3-b2f8-42bdd85c55fc, Windows/10.0.20348 cosmos-netstandard-sdk/3.18.0

Hello everyone, I am trying to perform queries in Cosmos DB as I have always been doing, however it gives me the following error that I do not understand: Authorization header doesn't confirm to the required format. Please verify and try…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-01-06T15:40:30.4833333+00:00
Jose Garcia Anticona 20 Reputation points
answered 2025-02-06T06:31:03.3433333+00:00
DaveThompsonOut 5 Reputation points
0 answers

What is best practice for a Functions App to update a Cosmos NoSQL container configuration?

Much more details here: https://stackoverflow.com/questions/79325429/azure-functions-app-cannot-update-cosmos-db-container-configuration-using-ihoste Essentially in my app service plan I made a Functions app that uses IHostedService added to the service…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,397 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-01-03T17:18:20.3066667+00:00
David Hunsicker 0 Reputation points
commented 2025-02-06T04:00:06.4033333+00:00
RithwikBojja 75 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to access Azure Cosmos mongoDB vcore cluster data via python

I am trying to access Cosmos MongoDB vcore cluster data in my python code. Cluster connection string is mentioned below. I am getting server timeout error. I would also like to know how to use mongdb REST API to read the data. Connection String:…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-02-04T23:36:33.2733333+00:00
Priyanka Hurakadli 25 Reputation points Microsoft Employee
commented 2025-02-05T20:08:25.91+00:00
Priyanka Hurakadli 25 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

containerId null when using cosmosDB as an input bindung for a azure function

Hi all, I am trying to read some data from my cosmosDB-Database into an azure Function using an input binding. I followed this…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,397 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2023-12-06T10:16:34.16+00:00
Nicolas Fromme 25 Reputation points
commented 2025-02-05T16:15:18.2733333+00:00
Richard Valdivieso 0 Reputation points
1 answer

Linq Cosmos DB ArgumentNullException Exception

I am using LinQ on the client side to query Cosmos DB. All the other properties work fine except two properties. One is the "id" and the other is the "RowKey". I manually checked the database, the type of RowKeys are all string, they…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,279 questions
asked 2025-01-29T19:13:20.8733333+00:00
Yi Gu 0 Reputation points Microsoft Employee
commented 2025-02-04T16:47:10.52+00:00
NIKHILA NETHIKUNTA 4,510 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Cosmos DB Mongo API recieved Error 50 (ExceededTimeLimit) while attempting to read from an empty collection

Hey Guys, we encountered an issue with our Cosmos DB for Mongo DB 4.3. When we execute the same request (using mongoose 5.13), it fails randomly (error code 50 ExceededTimeLimit). The confusing part is that the db table is still empty. We took a…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-01-28T10:19:23.91+00:00
Fechter Florian 26 Reputation points
accepted 2025-02-03T08:58:30.0433333+00:00
Fechter Florian 26 Reputation points
4 answers

Getting error in cosmos db as authorization token is not valid for current time.

Hi All, I'm using free trail azure subscription and created azure cosmos Account. After successful creation of azure Cosmos Account I have created database. I tried adding documents to the collection its not allowing me to create a documents. I'm…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2021-09-24T02:16:31.257+00:00
Tharrun reddy 1 Reputation point
answered 2025-02-03T07:16:20.6033333+00:00
D, Nidhun 0 Reputation points
1 answer

issue with "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/*"

What are included in "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/*"? In ADF when testing pipeline, we got an error message saying "xxx does not have authorization to perform action…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2025-01-28T22:32:54.4933333+00:00
Xinglu Jiang 0 Reputation points Microsoft Employee
commented 2025-01-31T18:33:51.4366667+00:00
Mahesh Kurva 2,670 Reputation points Microsoft Vendor
2 answers

Localhost refused to connect when running CosmosDb emulator

I am getting the below screen when I launch the data explorer after installing the cosmos DB emulator. I have tried deleting the certificates, removing the folder from LOCALAPPDATA and reinstalling, but nothing seems to work. Any help on this…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2022-11-28T07:38:45.727+00:00
Prajwal Kotian 1 Reputation point Microsoft Employee
commented 2025-01-30T00:52:46.2+00:00
Benjamin Shaw 141 Reputation points
1 answer

How to sync dta between cosmos DB instances

My goal is to sync collection from 1st cosmos DB instance to 2nd DB instance. Want to replicate a limited set of fields for a collection from 1st instance to 2nd instance. Do not want a one time migration but an ongoing synchronization.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
asked 2021-09-30T10:41:19.947+00:00
Navelkar, Abhijeet-Narendra-XT 21 Reputation points
commented 2025-01-29T19:04:23.1533333+00:00
Edward Hakin 5 Reputation points