1,402 questions with Azure Cosmos DB tags

Sort by: Updated
2 answers

Valid Database name should be provided error in ADF

Hi, I'm getting "Valid Database name should be provided" error when i'm trying to preview the data in Dataset. I've created a Key vault service to store a secret with the credentials to access to my cosmos DB collection so it didn ask me to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,341 questions
asked 2021-12-06T13:13:56.207+00:00
Sahu, Divya 106 Reputation points
commented 2021-12-30T08:32:02.627+00:00
PRADEEPCHEEKATLA-MSFT 75,286 Reputation points Microsoft Employee
0 answers

MongoDB migration to AZ Cosmos using DMS

Hello, I am receiving below error when trying to setup source db using migration wizard. I have tried using both Standard mode the Connection String option using but get the same error even after enabling TSL. {…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-22T21:36:10.647+00:00
sk79 1 Reputation point
commented 2021-12-29T11:55:25.777+00:00
Anurag Sharma 17,561 Reputation points
1 answer One of the answers was accepted by the question author.

Documenation on new EF Core Cosmos API Feature?

I've been studying CosmosMinimalApiSample.cs and I was hoping to find some documentation to help me better understand what is going on... What is the feature that is being demonstrated in this code?

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
689 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-03T03:18:43.007+00:00
Siegfried Heintze 1,851 Reputation points
commented 2021-12-28T03:02:32.15+00:00
Siegfried Heintze 1,851 Reputation points
0 answers

Problem reading database using Azure Cosmos DB Emulator

When I try and do a read using the Azure Cosmos DB Emulator, I get this error. How do I resolve the error? ex = {System.Net.Http.HttpRequestException: Network subsystem is down ---> System.Net.Sockets.SocketException: Network subsystem is down …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-12T16:01:09.7+00:00
Willie 31 Reputation points
commented 2021-12-27T20:48:25.657+00:00
Saurabh Sharma 23,661 Reputation points Microsoft Employee
1 answer

Stored procedure in Cosmos DB Gremlin API, can I use them from my .net code?

i am using cosmos db with Gremlin API, I want to use stored procedures to perform various data related operations. Currently I am using inline queries of gremlin to perform all the data related tasks. It hinders my performance in terms of speed. Anyone…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-21T12:18:52.217+00:00
Shubha Kaushal 1 Reputation point
answered 2021-12-21T17:33:44.417+00:00
Mark Brown - MSFT 2,761 Reputation points Microsoft Employee
0 answers

Cannot create views PowerBI Synapse with cosmos DB

I am trying to enable a PowerBI Azure Synapse link for my Cocmos DB (SQL) but run into a problem in the 'select workspace' step. After having created a workspace and database I get error creating the views. The error is "CosmosDB path has failed…

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,253 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-13T21:21:18.813+00:00
kdeman 11 Reputation points
commented 2021-12-21T08:05:33.13+00:00
PRADEEPCHEEKATLA-MSFT 75,286 Reputation points Microsoft Employee
0 answers

Problem creating Sample Cosmos DB (ToDoList) with Download of Sample Source Code

After creating sucessfully a Cosmos DB (SQL Core Type), i've tried the Quick-Start (Create Items for a ToDoList), while it created a Container, it never filled any Data inside. Also the next step, to download the Source Code to Test / Connect to the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-11T18:18:58.207+00:00
Markus Doerig 1 Reputation point
commented 2021-12-20T19:36:55.517+00:00
Kryštof Suchánek 1 Reputation point
1 answer One of the answers was accepted by the question author.

Regarding Cosmos DB filtering all properties for a given search key

Hi, I have a requirement like i need to get cosmos records where cosmos document contains a given search key in any one of the property. Example:- if search key is 'abc' it needs to return cosmos document 2 and document 3 from below documents, as…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-13T17:55:22.027+00:00
dayakar 36 Reputation points
commented 2021-12-20T07:00:30.3+00:00
Anurag Sharma 17,561 Reputation points
1 answer One of the answers was accepted by the question author.

Cosmos DB | Error reading string

Hi, I am trying my first Cosmos DB and trying to read the country items but getting this error: Error reading string. Unexpected token: StartObject. Path 'country_name', line 1, position 73. Here is my class: public List<CountryData>…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,273 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-18T02:08:08.863+00:00
Jassim Al Rahma 1,516 Reputation points
commented 2021-12-19T17:02:56.713+00:00
GeethaThatipatri-MSFT 26,537 Reputation points Microsoft Employee
1 answer

unable to load the dataframe from cosmos

Hello, I am trying to load the dataframe from cosmos and unable to do that. I am trying the following command: def load_dataframe(self, query): return…

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,253 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-14T22:43:20.617+00:00
Shubham Mehta 51 Reputation points Microsoft Employee
commented 2021-12-17T09:35:15.6+00:00
PRADEEPCHEEKATLA-MSFT 75,286 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Unable to create Cosmos DB in region Brazil South

{ "status": "Failed", "error": { "code": "ServiceUnavailable", "message": "Database account creation failed. Operation Id: xxx, Error : Sorry, we are currently experiencing high…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-11-22T20:48:07.043+00:00
Alexandre Reyes 26 Reputation points
commented 2021-12-15T19:41:34.443+00:00
GeethaThatipatri-MSFT 26,537 Reputation points Microsoft Employee
2 answers

Getting "One or more errors occurred. Message: {"Errors":["Cross partition query only supports 'VALUE <AggreateFunc>' for aggregates."]}" in ADF pipeline when trying to preview the data. How can we fix this?.

I'm passing below cosmos db query in source and when trying to preview the data getting the error. What are the possible ways to fix this issue?.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,341 questions
asked 2021-12-08T07:45:01.103+00:00
Sahu, Divya 106 Reputation points
commented 2021-12-14T22:26:27.867+00:00
HimanshuSinha-msft 19,376 Reputation points Microsoft Employee
1 answer

Azure Cosmos DB API for MongoDB - filter last 2 days

In Data Explorer on 'Azure Cosmos DB API for MongoDB' , I can apply a filter like {UpdatedOn: {$gt: '2021-11-18'}} I would like to replace the text '2021-11-18' with something like GETDATE()-2 so it get the selection GREATER OR EQUEL THEN 2 DAYS…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-11-19T11:15:42.14+00:00
Daniel van der Wal 1 Reputation point
commented 2021-12-14T19:59:01.66+00:00
Saurabh Sharma 23,661 Reputation points Microsoft Employee
1 answer

Load in subset of Cosmos Database with Notebook

I have a cosmos db that holds various events that are produced from my sensors similar to IOT telemetry data. Rather than load the entire database into a sparkdata frame, I'm trying to simply execute a sql query to bring in the columns I need and store…

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,253 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-09T19:53:33.587+00:00
Brenden Lemay 1 Reputation point
answered 2021-12-14T01:02:26.39+00:00
HimanshuSinha-msft 19,376 Reputation points Microsoft Employee
0 answers

How restore conversation from cosmosDB to azure bot Framework in Node.js

I am able to store the user conversation from the Azure bot framework to cosmos DB. Now, I need to restore that conversation back to the azure bot using userID If you need more information, please let me know. I am happy to share more details …

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
738 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-09T21:49:53.19+00:00
pav007 1 Reputation point
commented 2021-12-13T14:08:33.61+00:00
pav007 1 Reputation point
1 answer

Why do some CosmosDB/C# examples use HttpClient in "OnConfiguring"?

Why does CosmosPrimitiveTypesSample.cs incorporate a httpClient? What is this used for?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-06T22:34:07.697+00:00
Siegfried Heintze 1,851 Reputation points
commented 2021-12-13T04:24:07.67+00:00
Anurag Sharma 17,561 Reputation points
1 answer

unable to create cosmo db in southeast asia

I'm getting this error on my new Azure account every time i tried to create cosmo db api in southeast asia. "Sorry, we are currently experiencing high demand in this region, and cannot fulfill your request at this time. We work continuously to bring…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-08T02:43:09.957+00:00
Jeff 31 Reputation points
commented 2021-12-13T04:21:24.203+00:00
Anurag Sharma 17,561 Reputation points
2 answers

Private Network Configuration in Cosmos DB

Cosmos DB provides inbuilt security i.e. user accounts/ services only with valid authorization token will be able to access the data from the DB server. Applications running over public internet and trying to access the data from Cosmos DB using the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-11-12T17:55:21.143+00:00
SARASWAT CHETAN 91 Reputation points
commented 2021-12-10T23:03:25.67+00:00
Oury Ba-MSFT 15,821 Reputation points Microsoft Employee
2 answers

Problem while connecting azure data factory to Azure Cosmos DB with Mongo DB API

Hi, we are trying to connect from Data Factory (ADF) to an Azure Cosmos DB with MongoDB Api. The DB is hosted by a third party which has granted access to a specific IP-Address range. Therefore, we are using a self hosted integration runtime. We've set…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,341 questions
asked 2021-11-29T16:29:10.547+00:00
Steffen Klempau 1 Reputation point
commented 2021-12-10T08:00:18.337+00:00
ShaikMaheer-MSFT 37,566 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to disable cross partitioning in query in Golang Mongo API for Cosmos DB

Hi All I am using the official mongo Golang SDK (https://github.com/mongodb/mongo-go-driver) to connect to Cosmos DB. I am looking for a way to disable the cross partition query. The other SDKs supported by Cosmos DB have this option. Thanks Guru …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,402 questions
asked 2021-12-08T06:29:34.497+00:00
Thanakodi, Guru Prashanth 61 Reputation points
accepted 2021-12-10T05:41:15.937+00:00
Thanakodi, Guru Prashanth 61 Reputation points