1,539 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer

Error: Multiple attempts to restart one of the Azure Cosmos Emulator processes were detected.

Hi! I have just installed version 2.14.18 of CosmosDB emulator on an Edition Windows 11 Pro Version 22H2 Installed on ‎2023-‎11-‎22 OS build 22621.2715 in a VM on a Mac mini M1 and it fails to start with Error: Multiple attempts to restart one of the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-15T15:25:49.1266667+00:00
Bivit 6 Reputation points
commented 2024-07-24T19:39:58.74+00:00
Azar 22,350 Reputation points MVP
1 answer

Azure Cosmos DB emulator, fail to use it from python due to Firewall errors

I've started a cosmos db in my docker on the windows machine, used Linux docker image. docker run \ --publish 8081:8081 \ --publish 10250-10255:10250-10255 \ --name linux-emulator \ --detach \ …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-23T14:36:04.5533333+00:00
edited the question 2024-07-24T13:42:57.26+00:00
1 answer

CosmosDb incerased number of http 449 errors

Hi,   Unfortunately, over the last three weeks, we've been experiencing random HTTP 449 errors. This hasn't happened before. We now that that the recommendation is to retry the request, but its not working, we try 10 times these failed requests with no…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-23T14:44:19.86+00:00
Dániel Kiss 0 Reputation points
accepted 2024-07-24T07:29:19.9833333+00:00
Dániel Kiss 0 Reputation points
1 answer

Error Data Flow connection vs CosmosDb

I'm creating a ADF data flow to import data from CosmosDb. I have created a linked service and a dataset to connect with CosmosDb; these connections run successfully: Linked Service connection Dataset connection When i try to do a data preview…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,180 questions
asked 2024-07-16T13:46:31.1066667+00:00
Izaura Domi 0 Reputation points
commented 2024-07-23T14:10:27.7266667+00:00
Bhargava-MSFT 29,036 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Retirement Announcement - Update to version 3 of the Azure Cosmos DB .NET SDK by 31 August 2024

Because version 3 of the Azure Cosmos DB .NET SDK includes updated features and improved performance, we'll retire version 2.x of this SDK on 31 August 2024. As a result, you'll need to update your SDK to version 3 by that date. If you have a question,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2021-08-26T23:17:33.397+00:00
HimanshuSinha-msft 19,386 Reputation points Microsoft Employee
commented 2024-07-23T08:58:29.9633333+00:00
Csaba Gal 0 Reputation points
0 answers

TTL on timestamp fields are not accepted on older instances of Azure Cosmo DB for MongoDB

We are using several Azure Cosmos DB for MongoDB (RU) instances running on server version 4.2. We now want to create a TTL index on a timestamp field. When we create the index it gives the exception "The 'expireAfterSeconds' option is supported on…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-22T12:40:00.61+00:00
Kris Lemoine 0 Reputation points
commented 2024-07-23T06:33:28.94+00:00
Kris Lemoine 0 Reputation points
2 answers

Normalized RU Consumption metrics calculation for Azure Cosmos

Hi, I was trying to understand the different metrics available in azure portal for Azure Cosmos resource. There is one metric named as "Normalized RU Consumption(Max)" , I would like to understand how this percentage is calculated over a given…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-10T04:08:39.6933333+00:00
Debajit Mitra 20 Reputation points
commented 2024-07-23T04:46:00.83+00:00
ShaktiSingh-MSFT 14,406 Reputation points Microsoft Employee
1 answer

Getting error after recreating cosmos db - System.IO.InvalidDataException: Could not find the start of the json array in the stream: | Old databases are working fine only getting this error while reading data from new cosmos dbs

Getting error after recreating cosmos db - error > System.IO.InvalidDataException: Could not find the start of the json array in the stream: | Old databases are working fine only getting this error while reading data from new cosmos dbs

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,643 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-22T12:57:54.32+00:00
Mayur Malekar 0 Reputation points
edited the question 2024-07-23T01:45:26.6633333+00:00
Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
1 answer

Cosmos database_RID metrics for API (Microsoft.DocumentDB)

I’m trying to obtain data from a specific cosmosDB database, in this case I use the Total Requests metric as an example.  With the help of the URL…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,420 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-18T00:47:57.7066667+00:00
Nadia Mendez 0 Reputation points
commented 2024-07-22T23:44:02.1233333+00:00
Nadia Mendez 0 Reputation points
2 answers

ADF Issue with partially uploading data to Cosmos DB SQL API

I am migrating data from one container to another container in Cosmos DB SQL API, where I only changed the partition key. However, when migrating using ADF, it is not writing the complete data at the sink side. Can you please guide me on how to resolve…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,180 questions
asked 2024-07-19T15:09:45.43+00:00
Brahmendra Shukla 0 Reputation points
edited an answer 2024-07-22T15:41:19.6766667+00:00
Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Azure Data Factory error creating blob

Hi, I have a pipeline in Azure Data Factory that queries Cosmos DB for some data and writes this data in a blob storage. It was working until it wasn't. I changed the query in the copy activity for a specific scenario, and when I ran it again it failed…

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,935 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,634 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,180 questions
asked 2024-07-20T12:55:13.6333333+00:00
Joao Borba 25 Reputation points
commented 2024-07-22T04:56:20.58+00:00
Vinodh247 13,626 Reputation points
2 answers

Regarding Azure Cosmos MongoDb Vcore Cluster service.

Issue reference: Version reference: Docs reference: https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/compatibility

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-16T07:02:15.4166667+00:00
Krishnan N 0 Reputation points
commented 2024-07-22T04:26:07.65+00:00
ShaktiSingh-MSFT 14,406 Reputation points Microsoft Employee
1 answer

"Detect Datetime" setting ignored when using Managed Identity for connecting to CosmosDB Source in ADF Copy activity

In several Azure Data Factory pipelines one of the activity is Copy Activity that uses Azure Cosmos DB for NoSQL as source and Azure Data Lake Storage Gen2 with JSON format as sink. The dates stored in CosmosDB use various datetime offsets e.g.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,180 questions
asked 2024-07-17T22:26:56.36+00:00
Amit Gupta 1 Reputation point
commented 2024-07-19T18:02:39.7566667+00:00
Amit Gupta 1 Reputation point
0 answers

Trouble Assigning Cosmos DB Operator Role to User-Assigned Managed Identity via ARM Template

Hi Azure Community, I'm currently working on assigning the Cosmos DB Operator role to a user-assigned managed identity using an ARM template. Despite following the documentation, I'm encountering a "not found" error, and I'm not sure what I'm…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-06-06T11:45:22.9333333+00:00
Djordje Djukic (AKVELON INC) 0 Reputation points Microsoft Vendor
commented 2024-07-18T22:44:13.7566667+00:00
Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
1 answer

Did Microsoft have a Cosmos outage on 6/27/24 from 10:11 - 10:20 AM Eastern time?

Did Microsoft have a Cosmos outage or failover on 6/27/24 from 10:11 - 10:20 AM Eastern time? We were getting response times over one minute for every call. We made thousands of calls whose status was Canceled, and hundreds of calls whose status was…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-16T19:51:14.2066667+00:00
Jim Hammond 0 Reputation points
commented 2024-07-17T18:11:56.9133333+00:00
Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Catch unique key exception from Cosmos DB output binding

I have an azure function with an http trigger input that uses an output binding to write a new item into my Cosmos DB database. The collection has a unique partition key named "channel". When I try to create a new item using an existing…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,661 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2020-12-31T19:30:14.463+00:00
Jesse Stewart (he/him) 66 Reputation points Microsoft Employee
commented 2024-07-17T16:25:56.06+00:00
Redar Ismail Chicho 1 Reputation point
1 answer

CosmosDB blocking Managed Identity principal for readMetadata action

Hi, I am having CosmosDB and Managed Identity created in same resource group. I have added Reader, Contributor Roles from Managed Identity - Azure Roles Assignments from left panel of azure portal. But still I am getting following error: Request blocked…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-09T13:59:42.9+00:00
aditya kature 0 Reputation points
commented 2024-07-16T20:34:45.6666667+00:00
Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
1 answer

Migration and synch from one Azure Cosmos DB for MongoDB to another Azure Cosmos DB for MongoDB

Hello I have task to create a read only replica of Azure Cosmos DB for MongoDB. We currently have a Azure Cosmos DB for MongoDB setup in two regions with Multi-region writes enabled. We have application services in each region pointing to this with no…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-11T20:39:11.79+00:00
Sreenath HS 45 Reputation points
commented 2024-07-16T18:38:00.01+00:00
Sreenath HS 45 Reputation points
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,539 questions
asked 2024-05-15T04:52:20.11+00:00
Vincent Zhang 5 Reputation points
commented 2024-07-15T10:20:12.7033333+00:00
Lei Qiu (CSI INTERFUSION INC) 0 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Bounded Staleness Consistency

Hello, I have a question with the bounded staleness consistency in cosmos db: https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels#bounded-staleness-consistency I'm trying to understand the following line: "If the data lag in a…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,539 questions
asked 2024-07-13T19:37:44.8133333+00:00
Karl Gardner 85 Reputation points
commented 2024-07-15T04:24:44.4933333+00:00
Vinodh247 13,626 Reputation points