1,446 questions with Azure Cosmos DB tags

Sort by: Updated
4 answers

What should I do about the Azure Function Http trigger not connecting to Cosmos DB?

I am learning the module called "Chain Azure Functions together using input and output bindings". The previous modules are learning without any problem and can successfully access the http trigger via url. But in this module, I have…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,291 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2023-08-23T07:28:10.7166667+00:00
Wang Kangli 75 Reputation points
commented 2024-05-02T17:44:32.7033333+00:00
rdp 0 Reputation points
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,446 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,588 questions
asked 2024-04-30T13:18:23.7733333+00:00
Andrew Hopkinson 6 Reputation points
commented 2024-05-02T16:38:59.1833333+00:00
phemanth 5,840 Reputation points Microsoft Vendor
0 answers

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,389 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-05-01T14:01:16.22+00:00
AJITH KUMAR RAI 0 Reputation points
commented 2024-05-02T12:01:33.4066667+00:00
Smaran Thoomu 9,685 Reputation points Microsoft Vendor
2 answers

CosmosDB Analytical store delete changes in sql sink

Hi I am trying to capture delete changes from Azure cosmosdb analytical store using change data capture in Azure datafactory, Source is Cosmosdb, sink is Azure sql database. In between I am flattening my file using dataflow. My insert, update is…

Azure SQL Database
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,389 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,588 questions
asked 2024-04-30T13:52:46.2133333+00:00
Kuldeep Bhati 0 Reputation points
commented 2024-05-02T07:24:09.3266667+00:00
Harishga 3,430 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,446 questions
asked 2024-01-23T11:43:01.05+00:00
Sai Praneeth Eranti 115 Reputation points
accepted 2024-05-01T09:45:39.14+00:00
Sai Praneeth Eranti 115 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,389 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 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 9,685 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,446 questions
asked 2024-02-20T21:55:08.5966667+00:00
Chris Buley 26 Reputation points
commented 2024-04-29T20:06:39.7866667+00:00
Oury Ba-MSFT 16,241 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Enforcing RBAC as the only authentication method in Cosmos DB

Hello , How can I enforce Role-Based Access Control (RBAC) as the only authentication method in Cosmos DB? I received this recommendation on one of my Cosmos accounts last year, and I would like to know if there are any Microsoft documentation…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-04-11T12:36:35.89+00:00
Sai Praneeth Eranti 115 Reputation points
accepted 2024-04-29T14:57:33.13+00:00
Sai Praneeth Eranti 115 Reputation points
3 answers

Cosmos DB Security if given public access & how to access from outside VNET if changed to private.

I was wondering what are the security implications with creating a CosmosDB account with Public access? And if there is any way to access by a NodeJS app which is outside the VNET if the db is set to be private. Let me explain a bit in detail. I'm…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2023-06-06T09:53:28.76+00:00
Abhinandu V Nair 0 Reputation points
commented 2024-04-29T13:09:02.0933333+00:00
Boris Janischevsky 0 Reputation points
1 answer One of the answers was accepted by the question author.

Azure vCode based cosmos DB for mongo DB Quick Start

I have created Azure vCode based cosmos DB for mongo DB account. When i click on "Quick Start" for further testing. It always throws me error "Connection Failed We are unable to connect to the temporary workspace." I have configured…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-04-27T17:02:08.57+00:00
Baijnath Singh 20 Reputation points
edited a comment 2024-04-29T07:31:12.07+00:00
Baijnath Singh 20 Reputation points
3 answers One of the answers was accepted by the question author.

Cosmos free tier Opt out option is not available.

Is it possible to opt out of the free pricing tier for Azure Cosmos DB once a compute pricing model and API are chosen? According to Microsoft documentation, it seems that once a compute pricing model and API are selected, opting out of the free tier is…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-04-26T07:15:34.53+00:00
Niket Kumar Singh 190 Reputation points
answered 2024-04-29T03:04:15.9433333+00:00
ShaktiSingh-MSFT 13,436 Reputation points Microsoft Employee
1 answer

Unable to update Cosmos DB documents with Hierarchical partition keys using Azure Stream Analytics job

I have document in Cosmos DB with Hierarchical partition keys. I want to patch certain property value. But while running the job I am getting this error👇 The streaming job failed: Stream Analytics job has validation errors: Error connecting to…

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
558 questions
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
330 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-03-01T13:02:56.9233333+00:00
Subhajit Mondal 10 Reputation points
commented 2024-04-26T10:37:26.4+00:00
Luis Trinta 0 Reputation points
4 answers

Why does updating the firewall IP configuration in Azure Cosmos DB result in slow performance?

When utilizing GitHub Actions to update the networking firewall settings of CosmosDB, the process of adding a single IP address requires approximately 8 minutes to complete. Similarly, the removal of an IP address from the firewall settings also takes an…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-02-04T10:36:30.9933333+00:00
Vlada Jerkovic 0 Reputation points
commented 2024-04-26T03:44:00.3033333+00:00
ShaktiSingh-MSFT 13,436 Reputation points Microsoft Employee
1 answer

Understanding TCP Connection Limits for Azure Container Apps with Cosmos DB

I'm developing an ASP.NET Web API for handling CRUD operations with Cosmos DB and plan to deploy it on Azure Container Apps. My setup involves using multiple CosmosClient instances connected to different accounts, aiming for a multi-tenant architecture.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
270 questions
asked 2024-04-07T08:45:41.0833333+00:00
Gebriel Tadesse 0 Reputation points
edited an answer 2024-04-25T20:15:52.2866667+00:00
Amira Bedhiafi 15,596 Reputation points
3 answers One of the answers was accepted by the question author.

How to set/check database-level throughput for CosmosDB with MongoDB API?

Hi I'm using CosmosDB with MongoDB API and I currently use a database instance to save IoT time series data from multiple machines in a dedicated collection per machine. Recently, all of the azure resources were moved (through a service provider) from…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,291 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-03-04T14:52:48.63+00:00
pstark 20 Reputation points
accepted 2024-04-25T06:52:13.4533333+00:00
pstark 20 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Cosmos DB Data Explorer

Hello! I'm looking for the "Data Explorer" in Azure Cosmos DB (MongoDB Atlas), I cannot find it anywhere on my view. Is it because I am still on the Free subscription? Or has this feature been removed? TIA

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-04-24T23:01:15.1633333+00:00
Ross 20 Reputation points
commented 2024-04-24T23:45:00.9+00:00
Marcin Policht 10,845 Reputation points MVP
2 answers

golang sample to connect to cosmosdb-gremlin

Hi, need a golang sample to connect to cosmosdb-gremlin over wss, preferably using Primary key or connection string? So far I have tried gremlingo, gramess etc but nothing resulted in successful connection. Thanks on advance for any pointers. So far I…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-04-18T19:29:26.9366667+00:00
Ankur Gupta 0 Reputation points
answered 2024-04-24T18:20:46.14+00:00
Ankur Gupta 0 Reputation points
2 answers

Cosmos Synapse link SQL query error

Hi, we have a Synapse SQL View onto a Cosmos container (using Synapse link). When we run a SELECT * on the view we sometimes get this error: Resolving CosmosDB path has failed with error 'CosmosDB request failed with status code '449';…

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,389 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-04-21T12:33:17.8733333+00:00
David Baker 21 Reputation points
answered 2024-04-24T10:34:11.61+00:00
Smaran Thoomu 9,685 Reputation points Microsoft Vendor
2 answers

How do you set up a Cosmos DB custom endpoint in IoT Hubs?

Saving messages from the IoT Hub directly into Cosmos DB via a custom endpoint is a new feature currently in preview. I'm following the official instructions located here:…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,124 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2023-02-25T17:04:15.59+00:00
Meghan Clark 10 Reputation points
commented 2024-04-23T01:29:33.6033333+00:00
Adrien Bourdeaux 0 Reputation points
3 answers

I already created an Index for MongoDB vCore, but when I query that database, I get the error 'Similarity index was not found for a vector similarity search query'

Here is my code for creating the collection. When I run it, I see that an index was created. However, when I try to query the database using a vector, it says that there is no index, as in the error above: import pymongo import openai from openai…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,446 questions
asked 2024-04-01T16:43:18.56+00:00
Tyler Suard 55 Reputation points
answered 2024-04-22T18:09:20.0033333+00:00
GeethaThatipatri-MSFT 27,567 Reputation points Microsoft Employee