1,520 questions with Azure Cosmos DB tags

Sort by: Updated
0 answers

Function Cosmos DB Input Binding on New UI

Hello, I have been working on some azure function apps that have cosmosdb input bindings. Ever since I switched to the new UI, I have been having the following issue. It seems the new UI adds the field "id":"" to the function.json…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,572 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-06-19T19:20:48.543+00:00
Jason Ortiz 1 Reputation point
commented 2020-08-06T01:40:25.09+00:00
Mike Urnun 9,781 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Mongo: Unrecognized parameter to $dateToString: timezone

Using the $dateToString Mongo aggregation operator with the optional timezone parameter results in the following error, using Cosmos Mongo with Wire Protocol 3.6: {"ok": 0.0, "errmsg": "Unrecognized parameter to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-24T22:18:26.46+00:00
Charlie L 21 Reputation points
accepted 2020-08-05T21:02:23.943+00:00
Charlie L 21 Reputation points
0 answers

React Native & Cosmos DB - How to get them working together?

Hello, There seem to be no direct support for React Native through Cosmos DB SDK or npm packages. The JS package @azure/cosmos while works on React Native for the Web, but does not build for the native apps. It fails to build due to Crypto…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-08-01T20:51:50.407+00:00
Zaher R 16 Reputation points
commented 2020-08-05T16:23:38.543+00:00
Zaher R 16 Reputation points
1 answer

Key vault Azure data factory problem

Hello I've created a Key vault service to store a secret with the credentials to access to my cosmos DB collection. the secret value is as i show you : …

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,176 questions
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,024 questions
asked 2020-08-03T10:21:47.5+00:00
CORONADO GRANADOS Diana Milena 126 Reputation points
answered 2020-08-03T14:34:49.997+00:00
Alex Drenea 6 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Autoscale Throughput Properties inconsitency in Cosmos DB SDKs

I am using below link to create a console application, it is working fine. But when i add below properties it throws compile error. I have further checks to do but not able to proceed here. …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-30T09:40:20.43+00:00
NileshTech 21 Reputation points
accepted 2020-07-30T16:14:18.757+00:00
NileshTech 21 Reputation points
1 answer

"Insert error." for Mongo insertMany operation

When performing a Mongo insertMany operation with ordered=false, Cosmos responds in some cases with the following error: BulkWriteError{index=0, code=2, message='Error=2, Details='Insert error.', details={}} The troubleshooting documentation…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-20T22:49:11.29+00:00
Charlie L 21 Reputation points
commented 2020-07-30T00:38:44.557+00:00
Charlie L 21 Reputation points
1 answer

CosmosDb ordering by datetime - high RU

Is there a reason why ordering by a datetime property takes a much higher amount of RU than other properties? However it appears the penalty is only paid on the first page of data. e.g. in one of our collections I get these results: SELECT * FROM c…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-06-30T01:26:41.713+00:00
Kai Gorman 1 Reputation point
commented 2020-07-29T16:00:54.45+00:00
Mike Ubezzi 2,776 Reputation points
1 answer

Logic App to push data from Cosmosdb into CRM and performing updates

I have created a logic app with the goal of pulling data from a container within cosmosdb (with a query), looping over the results and then pushing this data to CRM. When the data is pushed to CRM, an ID will be created and I wish to then update cosmosdb…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,965 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-24T23:04:55.937+00:00
Jasmine2020 1 Reputation point
commented 2020-07-28T20:30:53.363+00:00
QuantumCache 20,186 Reputation points
1 answer

LogicApp that returns newly generated ID back to original source

Hello I am trying to create a LogicApp that first: Extracts data from CosmosDB, using a query Loops over the results Pushes the results data into CRM Sidenote: Once this data is pushed into CRM, CRM automatically generates an ID for each…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,965 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-26T21:29:10.63+00:00
Jasmine2020 1 Reputation point
answered 2020-07-28T19:00:38.59+00:00
Samara Soucy - MSFT 5,051 Reputation points
1 answer

Create mongo collection in cosmos with shared throughput with mongodb .net driver

I have an application which uses a cosmosdb with a mongoAPI. The application connects to the db with the MongoDb .net driver to create collections programatically, however it creates the collections without shared throughput. Is there a way to create a…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-24T16:46:15.927+00:00
m. knief 1 Reputation point
commented 2020-07-28T18:07:36.947+00:00
Navtej Singh Saini 4,221 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Azure Cosmos DB mongo db api: attribute wise count for the records

Hi, I have my data stored in azure cosmos db (Mongo db API), sample of the data is as shown below: currently, i query based on the apptype, my requirement is to show the count of each attribute as well. eg: in the example below, there are two…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-21T11:03:53.613+00:00
Alpee Jain 96 Reputation points
commented 2020-07-28T16:00:22.28+00:00
Mike Ubezzi 2,776 Reputation points
2 answers

Azure Cosmos DB - Portal - Error 449 Retry on container creation

Hi there, I try to create a CosmosDB container on my Azure portal. For each attempt, an error 449 is thrown.. We have been adding containers frequently in the last months to this Database. With the API, same result. What could causing this ? …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-21T20:46:50.423+00:00
Matt 6 Reputation points
answered 2020-07-28T15:35:00.313+00:00
Matt 6 Reputation points
0 answers

DDL opertaions against Azure Cosmos DB Cassandra API from Spark

Hi, I'm having very strange behavior on DDL operations against Cosmos DB w/ Cassandra API from Spark running in Databricks. When creating a keyspace and table as the following, it does execute the create statements with no errors, BUT it really…

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,047 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-07T22:29:17.973+00:00
Sungho Hong 1 Reputation point
commented 2020-07-28T05:37:14.93+00:00
Anurag Sharma 17,586 Reputation points
1 answer

Logic App Twitter Connector and Multiple User Names with CosmosDB

Is there a way to have a Logic App or something similar trigger when a tweet is posted by a list of users from Cosmos DB? So many choices and articles, they all show hardcoded search terms. I need some guidance :-)

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,965 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-25T16:50:16.433+00:00
David McCarter 1 Reputation point MVP
answered 2020-07-27T09:57:25.517+00:00
Anurag Sharma 17,586 Reputation points
1 answer One of the answers was accepted by the question author.

Cosmos DB. Why it is getting stuck?

Hi there In my Blazor Server the following code line just get stuck: container = await database.CreateContainerIfNotExistsAsync(typeof(T).Name, partitionId); T is my business class, partitionId is "/FacilityId". It just release the main…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-17T18:15:05.86+00:00
Nikolay Renziglov 21 Reputation points
accepted 2020-07-23T14:08:51.02+00:00
Nikolay Renziglov 21 Reputation points
1 answer

How to write a Json file from a csv file

Hello I have got a csv file with an array inside, I need to create a sink data file(json) to be loaded within Cosmos DB, any idea about how to do it? With the csv files i dont have any problem to upload within cosmosDb because I didn't have any…

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,024 questions
asked 2020-07-06T21:52:20.84+00:00
CORONADO GRANADOS Diana Milena 126 Reputation points
answered 2020-07-16T14:18:35.47+00:00
CORONADO GRANADOS Diana Milena 126 Reputation points
1 answer One of the answers was accepted by the question author.

Azure portal cosmos db page layout problem

Hello, this morning i have gone into the azure portal for viewing the contents of cosmos db containers. There now appears to be a large blank panel on the right of the screen which means that the area for viewing the data is now squashed to a few…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-16T04:15:06.27+00:00
AJG 436 Reputation points
accepted 2020-07-16T05:55:14.56+00:00
AJG 436 Reputation points
1 answer

Cosmos DB Migration Tool - SQL Database to Cosmos DB

Hi there, I have data saved in SQL Database, which I'm migrating. I used to save Lat and Lon into a separate column, but for the new implementation, I'm saving lat and lon as GeoJSON point. While migration, I want to save Lat and Lon as GeoJSON on…

Azure Database Migration service
Azure SQL Database
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-04T04:50:15.533+00:00
Tahmid Eshayat 286 Reputation points
commented 2020-07-15T20:08:05.06+00:00
Mike Ubezzi 2,776 Reputation points
1 answer

Can't connect to CosmosDB using Cqlsh

Following is the configuration I have In cassandra.yml file content client_encryption_options: require_client_auth: false protocol: TLSv1.2 cqlshrc.sample.ssl file content [authentication] username = username password = password …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-06T04:31:22.7+00:00
Pushkal Sharma 1 Reputation point
commented 2020-07-09T02:25:18.237+00:00
Mike Ubezzi 2,776 Reputation points
1 answer One of the answers was accepted by the question author.

Is Apply Free Tier Discount valid when creating an Azure Cosmos DB account with the Azure CLI?

I would like to create an Azure Cosmos DB account with Apply Free Tier Discount enabled using the Azure CLI. However, I didn't find any information that could be set as a parameter, even when I looked at the latest Azure CLI documentation. Is Apply…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
asked 2020-07-07T15:00:13.537+00:00
Yuji Masaoka 56 Reputation points
accepted 2020-07-08T09:09:01.827+00:00
Yuji Masaoka 56 Reputation points