1,520 questions with Azure Cosmos DB tags

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

Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: ServiceUnavailable (503); Substatus: 20001;

I am using Cosmos Client to run a query. I am getting this error continuously. I have added retry mechanism and even reran the project multiple times, but I am getting the same error. Is there any change I have to do in the resource to get rid of this…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2023-11-03T14:55:55.21+00:00
Rajeshwar Reddy Chowdepalli 61 Reputation points Microsoft Employee
edited the question 2024-05-21T03:16:36.8033333+00:00
Rajeshwar Reddy Chowdepalli 61 Reputation points Microsoft Employee
1 answer

Microsoft Azure CosmosDB for MongoDB Deprecated Classic Metrics: Data+Index Size Consumed Per Partition Key Range

Hi All, Given the Monitor Classic Metrics was deprecated. I would like to know is there any way to know the data size consumed per partition key for CosmosDB (MongoDB)? I had explored the Metrics in Monitoring blade at Azure Portal, but seems I could…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,971 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-05-16T04:11:14.7+00:00
Kanisius Raychitra Lieka Avisena 0 Reputation points
answered 2024-05-20T20:13:53.0633333+00:00
Amira Bedhiafi 18,661 Reputation points
3 answers

The best database in Azure to manage real time data operations.

Hello Experts, I have to manage some real time stock updates between more than 2 online portals and we are thinking to go with Azure Services. And also think to store data in Azure Database services. Hence, we are looking for the database that must be…

Azure Table Storage
Azure Table Storage
An Azure service that stores structured NoSQL data in the cloud.
162 questions
Azure SQL Database
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2023-05-19T15:35:22.92+00:00
Ancy 6 Reputation points
commented 2024-05-20T15:55:18.95+00:00
Oury Ba-MSFT 17,631 Reputation points Microsoft Employee
1 answer

Received Error 'Unexpected end of JSON input' When Browsing Cosmos DB with the Data Explorer in Portal

Hi There, I wonder what happens behind the scene. I don't need to do anything to fix it, just keep refreshing the web page until it works, it could take 2 mins or 1 hour to get it work. Thanks.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-05-15T04:52:20.11+00:00
Vincent Zhang 0 Reputation points
commented 2024-05-20T06:36:16.0866667+00:00
ShaktiSingh-MSFT 14,281 Reputation points Microsoft Employee
4 answers

The input authorization token can't serve the request. The wrong key is being used or the expected payload is not built as per the protocol.

Hi all engineers, hoping to get some assistance on above error. Looks like permission issue. Created a user and assigned the role however, when the user is trying to modify the code, getting an error. If anyone in this channel has any solution, it would…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2023-09-17T23:25:39.7366667+00:00
Aadi 0 Reputation points
commented 2024-05-20T05:38:57.73+00:00
ShaktiSingh-MSFT 14,281 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Cosmos DB Rest API - unable to get document after passing partition key

Trying to get a document by its id using the following API (https://video2.skills-academy.com/en-us/rest/api/cosmos-db/get-a-document). However, after providing the value for x-ms-documentdb-partitionkey I keep getting a not found error message despite the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-05-19T07:51:45.2233333+00:00
Abdullah Humayun 40 Reputation points
accepted 2024-05-19T08:31:43.3466667+00:00
Abdullah Humayun 40 Reputation points
1 answer One of the answers was accepted by the question author.

Having problem with Azure sandbox storage account

Hi, I am having issue to access to storage account in Azure sandbox environment. I have login to Azure sandbox environment, but not able to access to Azure storage account even though my subscription is selected as sandbox. Capture.PNG

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,410 questions
Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
669 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,874 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,285 questions
asked 2024-05-11T05:36:05.7433333+00:00
Weiy 20 Reputation points
edited a comment 2024-05-18T13:41:51.58+00:00
Weiy 20 Reputation points
4 answers

Missing Cosmos DB Built-in Data Reader and Cosmos DB Built-in Data Contributor roles in Access Control (IAM)

I'm trying to assign roles to managed identity in Cosmos DB, through browser using Access Control (IAM). Unfortunately two build in roles Cosmos DB Built-in Data Reader and Cosmos DB Built-in Data Contributor are not there. How can I add managed…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
649 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 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.
710 questions
asked 2023-02-01T15:31:32.8+00:00
Jacek Przezdziecki (ext) 20 Reputation points
commented 2024-05-17T11:55:19.7933333+00:00
AGA 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to use Azure Cosmos DB REST (Data plane) API with AAD RBAC?

I am attempting to make a REST request following these instructions which states "The Azure Cosmos DB RBAC is currently supported with the 2021-03-15 version of REST API." Yet when I make a request I get the response "Invalid API version.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,365 questions
asked 2021-06-29T22:24:30.62+00:00
James G Foster 46 Reputation points
commented 2024-05-16T11:25:04.78+00:00
Somya Srivastava 0 Reputation points
2 answers

While fetching data from cosmos db conatiner and persisting the json file in ADLS Gen 2 through Synapse Pipeline, some objects in my json file are appearing as blank string causing data loss. This is happening in PROD only not in UAT and DEV.

Hi, The issue i am facing is with the Synapse Analytics Service - Pipeline. I have created a dataflow which is pulling data from cosmos db container in json format and storing that json file in ADLS Gen 2. When I check the json file in ADLS I see that…

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,410 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.
4,629 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-04-05T13:17:47.2733333+00:00
Vity Pandita 0 Reputation points
commented 2024-05-13T10:35:01.35+00:00
ShaikMaheer-MSFT 38,321 Reputation points Microsoft Employee
2 answers

Create Cosmos DB for MongoDB cluster

Hi guys, I keep getting this error while creating Azure Cosmos DB for MongoDB although there no place to config the previewFeatures when creating Azure Cosmos DB for MongoDB on Azure Portal

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,054 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-05-09T13:39:27.7+00:00
Hung Nguyen 20 Reputation points
commented 2024-05-10T17:04:51.9+00:00
GeethaThatipatri-MSFT 29,007 Reputation points Microsoft Employee
0 answers

All queries from from FHIR server to Cosmos DB failing

We are running an instance of the Azure FHIR Server using Cosmos DB. Since at least 12 hours ago, all queries to the FHIR server are failing with the following exception and trace: 2024-05-08T05:41:26.650255158Z fail:…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
Azure Health Data Services
Azure Health Data Services
An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.
154 questions
asked 2024-05-08T06:10:25.21+00:00
Emma 0 Reputation points
commented 2024-05-09T09:23:56.6733333+00:00
ShaktiSingh-MSFT 14,281 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Change password in Azure CosmosDB MongoDB Vcore

I created the database mentioned above and I want to change the password. I checked online and this was the way to do it. But it seems Azure is not supporting it. So how do we change the password? db.changeUserPassword("accountUser",…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-05-03T01:49:10.5333333+00:00
Ziggy Zulueta 490 Reputation points MVP
commented 2024-05-09T04:40:45.7466667+00:00
ShaktiSingh-MSFT 14,281 Reputation points Microsoft Employee
0 answers

Trouble with UUID data when Migrating collection from one Cosmos DB for Mongo DB to another

We are using Azure Data Factory to move a non-prod collection from one Azure Cosmos DB for Mongo DB to another in the same resource group. The are both RU-based resources. I was able to use the "Ingest" template to create a simple pipeline with…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-05-08T15:35:55.4833333+00:00
Justin Wright 0 Reputation points
edited the question 2024-05-09T03:38:01.0933333+00:00
ManoharLakkoju 690 Reputation points Microsoft Vendor
5 answers One of the answers was accepted by the question author.

unable to update throughput settings of a sql database container in cosmos db via bicep

I am trying to update cosmos sql container throughput settings via bicep. Bicep deployment is successful however the configuration is not in place... anyone else is facing this? please help.. thank you resource db_account…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-04-12T05:47:12.9566667+00:00
Pamitha Herath 20 Reputation points
commented 2024-05-06T10:00:21.95+00:00
rachelgreen 0 Reputation points
1 answer

Synapse Scala | Read Cosmos DB Container data using managed identity

Hi Team, I tried reading Cosmos data using Managed Identity inside a Synapse Scala notebook, but it's not working as expected. Already provided access for synapse workspace by using below command New-AzCosmosDBSqlRoleAssignment -ResourceGroupName…

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,629 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-05-01T14:01:16.22+00:00
AJITH KUMAR RAI 0 Reputation points
answered 2024-05-06T07:46:28.3866667+00:00
Smaran Thoomu 12,105 Reputation points Microsoft Vendor
2 answers

How do I create a dynamic SQL query for Cosmos DB using Azure Data Factory?

I am doing a simple data flow where I have a source from a cosmos db container, I want to get the latest data that is greater than a _ts value that I store in a variable (SELECT * FROM c WHERE c_ts > @variables('LastRunDateTS')). How can I pass this…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,023 questions
asked 2024-04-30T13:18:23.7733333+00:00
Andrew Hopkinson 6 Reputation points
commented 2024-05-03T09:20:15.4+00:00
phemanth 8,165 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to control Priority-based executions in Azure Cosmos DB

Hi Team , I would like to know , How I can leverage this feature in a better way . Suppose , RU consumption is 100% if I want to do a transaction , How can I make it a priority ? Should I specify priority "high" at the time of querying like…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-01-23T11:43:01.05+00:00
Sai Praneeth Eranti 170 Reputation points
accepted 2024-05-01T09:45:39.14+00:00
Sai Praneeth Eranti 170 Reputation points
1 answer

Join cosmos DB when processing streaming data from eventhub in Synapse

Hi Team, Good morning! Would like to check that when we using spark notebook in Synapse to process Eventhub streaming data, we join the streaming data from Eventhub with CosmosDB data. We try both way of connecting CosmosDB transcational store with OLTP,…

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,629 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-04-24T17:24:07.47+00:00
Jiacheng Zhang 20 Reputation points
commented 2024-04-30T07:01:08.1833333+00:00
Smaran Thoomu 12,105 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Azure Cosmos DB container sorting of records

Hi everyone, We have an Azure Cosmos DB container that gets populated with batched entries and currently they get sorted by the "c_ts" JSON value. I would like them to be sorted by "creationDate" value in Oldest to Newest order. …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2024-02-20T21:55:08.5966667+00:00
Chris Buley 51 Reputation points
commented 2024-04-29T20:06:39.7866667+00:00
Oury Ba-MSFT 17,631 Reputation points Microsoft Employee