1,537 questions with Azure Cosmos DB tags

Sort by: Updated
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,537 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,537 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,386 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,632 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,537 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,436 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,396 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,537 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,537 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,151 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 17,866 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,923 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,626 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,537 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,151 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,381 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,537 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,386 Reputation points Microsoft Employee
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,537 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,151 questions
asked 2024-07-16T13:46:31.1066667+00:00
Izaura Domi 0 Reputation points
commented 2024-07-19T20:02:26.4566667+00:00
Bhargava-MSFT 28,951 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,537 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,151 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,537 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 17,866 Reputation points Microsoft Employee
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,537 questions
asked 2024-07-15T15:25:49.1266667+00:00
Bivit 6 Reputation points
commented 2024-07-18T17:09:12.83+00:00
Oury Ba-MSFT 17,866 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,537 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 17,866 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,648 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,537 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,537 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 17,866 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,537 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,537 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,537 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,381 Reputation points
0 answers

How to get logs of item deletion past TTL in CosmosDB?

Hello team, I'd like to know the best way to monitor that the items in the container are getting properly deleted past TTL. I've come across the Change feed's All versions and deletes mode where I can trigger an Azure functions to continuously pull…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,537 questions
asked 2024-07-11T18:33:14.1366667+00:00
Catherine Du 0 Reputation points Microsoft Employee
commented 2024-07-12T18:15:49.4633333+00:00
Catherine Du 0 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

How to fix MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign , in cosmosdb after key rotation

I rotated all the keys at once in the keys plane on the portal. (All older than 470 days). After that getting: Message: {"Errors":["The MAC signature found in the HTTP request is not the same as the computed signature. Server used…

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.
508 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,537 questions
asked 2024-03-30T03:45:24.0533333+00:00
Adrian Wreyford 45 Reputation points
answered 2024-07-12T15:53:40.5266667+00:00
Andrew Hoffmann 0 Reputation points
2 answers

Azure CosmosDb for MongoDb - vCore // manage users

Hi Does anyone know when support for managing users in CosmosDb for MongoDb vCore will become available ? We are not really happy with giving admin credentials to users and RU model is way too expensive at the moment. thanks AndyB

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,537 questions
asked 2023-09-22T13:19:33.5+00:00
Andy Buckley - CAI 10 Reputation points
commented 2024-07-11T14:10:38.9533333+00:00
Tham, Rick 0 Reputation points