1,742 questions with Azure Cosmos DB tags

Sort by: Updated
0 answers

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,742 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,262 questions
asked 2025-01-29T19:13:20.8733333+00:00
Yi Gu 0 Reputation points Microsoft Employee
commented 2025-02-03T17:45:52.8233333+00:00
NIKHILA NETHIKUNTA 4,430 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,742 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
1 answer

[UnusualActivity] Full Deny assignment

I can't perform any action on my account using my student credit . I can't create nor manage any resource even though I still have unused credits and valid azure account. The client with object id '.............' has permission to perform action…

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
244 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,237 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,064 questions
asked 2025-01-28T17:46:11.7966667+00:00
Ghassen Latrach 0 Reputation points
commented 2025-02-03T08:22:52.1333333+00:00
Naveena Patlolla 80 Reputation points Microsoft Vendor
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,742 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,742 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,430 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,742 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,742 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
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,382 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2025-01-03T17:18:20.3066667+00:00
David Hunsicker 0 Reputation points
commented 2025-01-29T17:16:08.5933333+00:00
RithwikBojja 0 Reputation points Microsoft Vendor
1 answer

Worker was unable to load function cosmos-redis: 'A function can only be registered during app startup.'

Error: Worker was unable to load function cosmos-redis: 'A function can only be registered during app startup.' at t.registerFunction (C:\Program Files\Microsoft\Azure Functions Core Tools\workers\node\dist\src\worker-bundle.js:2:28959) any…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,382 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2025-01-23T05:17:33.6566667+00:00
Premsagar 0 Reputation points
commented 2025-01-29T01:25:37.8+00:00
Shireesha Eeraboina 1,150 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

setting up private endpoint between cosmos db and synapse analytics

hello team, i want to setup private endpoint for synapse workspace and cosmos db but the "managed virtual network" is set as No. how does it affect the private endpoint connection. please let me know if any way to establish the explicit…

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.
5,161 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2025-01-22T11:55:22.2066667+00:00
ANKIT GHENGE 105 Reputation points
commented 2025-01-28T13:12:03.9933333+00:00
ANKIT GHENGE 105 Reputation points
1 answer One of the answers was accepted by the question author.

How to move an Azure subscription containing a Cosmos DB using customer-managed encryption keys?

I'm preparing to transfer an Azure subscription from one directory to another. This subscription contains a productive application which includes, among other resources, a Cosmos DB instance and a Key Vault. The Cosmos DB has at-rest encryption using…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2025-01-24T10:50:35.0566667+00:00
Daniel Saner 20 Reputation points
edited the question 2025-01-28T12:01:52.9666667+00:00
Raja Pothuraju 11,965 Reputation points Microsoft Vendor
2 answers

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,742 questions
asked 2024-10-08T11:38:04.45+00:00
Quinten Claes 20 Reputation points
edited a comment 2025-01-28T09:41:02.41+00:00
Quinten Claes 20 Reputation points
5 answers One of the answers was accepted by the question author.

How to run stored procedure for hierarchical partition container

I am trying to run stored procedure from Azure Portal UI. The container has hierarchical partition with two levels. When trying to give the partition key value im providing input as json: {"level1": "value1", "level2":…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2024-06-12T05:58:21.2433333+00:00
Antra Sharma 41 Reputation points Microsoft Employee
commented 2025-01-28T04:36:01.4933333+00:00
Ganesh Iyer 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Active directory Integration with RBAC for Azure CosmosDB with Mongo API

Planning to create RBAC for Azure Cosmos DB with Mongo API, is Active directory user integration is possible

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 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.
874 questions
asked 2025-01-24T23:26:06.4166667+00:00
Ashok Arumugam 20 Reputation points
commented 2025-01-27T14:44:00.0566667+00:00
Ashok Arumugam 20 Reputation points
3 answers

Unexpected Charge on Free Tier Cosmos DB

Hi all, I have only one Cosmos DB Account in my subscription which I have set to be the "free tier" account with 1000 RU/s and 25 GB quota. I have set the Account to not exceed 1000 RU/s. Now, having worked for a couple of hours on it (those…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2025-01-19T09:05:19.8233333+00:00
Mykhailo Saienko 5 Reputation points
commented 2025-01-27T09:19:05.0333333+00:00
Vijayalaxmi Kattimani 1,070 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,742 questions
asked 2025-01-23T09:15:43.25+00:00
crynos_001 0 Reputation points
commented 2025-01-27T02:50:47.9+00:00
Sai Raghunadh M 2,155 Reputation points Microsoft Vendor
1 answer

BadRequest exceptions from java sdk `readMany` request when container partition key path has quote-escaped field name

When I create a container using a partition key path of "/id", add some documents to the container (say, 20) and read back the documents with a CosmosContainer.readMany operation (java sdk for NoSQL), I get the documents back with no problem.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2025-01-22T17:36:00.9+00:00
notnotscott 0 Reputation points
commented 2025-01-25T00:33:13.8233333+00:00
Mahesh Kurva 2,430 Reputation points Microsoft Vendor
2 answers

I dont know why i cant use aggregation

Hi, I was wondering why my queries are not working when i am using aggregation in cosmos. from azure.cosmos import CosmosClient, PartitionKey cosmos_url = 'https://xxx.documents.azure.com:443/' cosmos_key = 'xxx==' client = CosmosClient(cosmos_url,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2024-03-03T18:32:04.65+00:00
Sakib Ali Choudhary 225 Reputation points
answered 2025-01-24T18:42:22.57+00:00
Carlos Milanes 0 Reputation points
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,742 questions
asked 2025-01-20T09:40:50.08+00:00
Katherine Bayona 0 Reputation points
commented 2025-01-24T09:10:42.51+00:00
Sai Raghunadh M 2,155 Reputation points Microsoft Vendor
2 answers

How to connect Azure Data Explorer pool in Synapse to Cosmos DB

Hi, I am trying to connect Data Explorer (Synapse pool) to the Analytical Store in a Cosmos DB container. I was informed on this forum that this is indeed possible and the documentation shows how to do this. Unfortunately when I try to ingest data into…

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
544 questions
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.
5,161 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,742 questions
asked 2025-01-20T11:04:52.11+00:00
Christopher Wilkinson 0 Reputation points
commented 2025-01-23T21:45:42.3+00:00
Chandra Boorla 7,490 Reputation points Microsoft Vendor