1,599 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer

MongoDB.Driver.MongoCommandException: "Command aggregate failed: Variable $$SEARCH_META not supported yet."

Hi, I'm trying to migrate an app from MongoDB Atlas to Azure MongoDB vCore. We're using C# code to run an aggregation pipeline but this is failing with the error message MongoDB.Driver.MongoCommandException: "Command aggregate failed: Variable…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-12T12:42:13.03+00:00
SvenGlöckner 441 Reputation points
commented 2024-09-03T22:32:14.7366667+00:00
Oury Ba-MSFT 18,601 Reputation points Microsoft Employee
3 answers

Not able to create free trial Cosmos DB for PostgreSQL

Not able to create free trial Cosmos DB for PostgreSQL when I try from https://cosmos.azure.com/try/ (able to create Cosmos DB for NoSQL) and getting Internal Server Error all the time. Kindly, let me know how to resolve this issue

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-12T15:14:16.4833333+00:00
Naveen Kumar Koduri 0 Reputation points
commented 2024-09-03T22:31:40.83+00:00
Oury Ba-MSFT 18,601 Reputation points Microsoft Employee
0 answers

Cosmos Mongo (RU) aggregation pipeline multi stage query with limit is fetching all records in first match stage

The aggregation pipeline query has following stages - Project (fields to return) Matching criteria Sort by field facet to limit the returned resultant documents. The explain response's shardInformation is showing that total 30,838 documents were…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-26T14:36:33.7433333+00:00
Ankur Garg 0 Reputation points
commented 2024-09-03T16:48:43.03+00:00
Oury Ba-MSFT 18,601 Reputation points Microsoft Employee
0 answers

how can I get permission to visit pg_current_logfile() in my Azure Cosmos DB for PostgreSQL Cluster

I want to access my log file in my database (Azure Cosmos DB for PostgreSQL Cluster), but my admin account don't have permission to visit pg_current_logfile().

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
Azure Database for PostgreSQL
asked 2024-09-03T08:49:42.4633333+00:00
Rose 0 Reputation points
commented 2024-09-03T16:00:47.7433333+00:00
Sai Raghunadh M 75 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How long will v2 of the CosmosDB .NET SDK continue to function?

I see in https://video2.skills-academy.com/en-us/azure/cosmos-db/nosql/sdk-dotnet-v2 that the .NET SDK for Cosmos will continue to function past its deprecation date but it doesn't list how long it will do so, is there any timeline for when it might cease to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-29T19:13:58.21+00:00
Anthony Salmeron 20 Reputation points
accepted 2024-09-03T14:48:29.8+00:00
Anthony Salmeron 20 Reputation points
0 answers

Azure cosmos mongo performance metrics collection.

Mongo Cosmos: From "ServerSatus" Command we can be able to find the overall details about mongo service. Details are Connections, Storage engine, Cache, Transactions, Index Stats, locks, network, sessions. In Azure Cosmos for mongo, From Docs…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-09-02T06:39:32.9333333+00:00
Krishnan N 0 Reputation points
commented 2024-09-03T05:54:06.7733333+00:00
ShaktiSingh-MSFT 14,811 Reputation points
1 answer

CosmosDb unable to populate database and container using Bash

I'm literally just trying to follow this tutorial from Microsoft: https://video2.skills-academy.com/en-us/azure/cosmos-db/nosql/tutorial-dotnet-web-app I can't get to step 11, because instead of populating my database, it gives me a parsing error. I'm kinda…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-15T21:42:18.71+00:00
Rod Natal 0 Reputation points
edited a comment 2024-09-02T21:41:00.3+00:00
Young Sa 0 Reputation points
1 answer

Cost of ADLS Gen2 while enabling Az synpase link for Cosmos database

Hi Team, I am exploring the Azure synapse link for Azure cosmos database, but when I enable the Azure synapse link then it require the azure synapse workspace to be created along with Azure data lake storage Gen2. So, below are my queries around it. …

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,456 questions
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,824 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-26T06:43:39.3933333+00:00
Jaydeep Suryawanshi 26 Reputation points
commented 2024-09-02T06:21:49.8766667+00:00
Nehruji R 6,966 Reputation points Microsoft Vendor
1 answer

Migration of data between cross Tenants cosmos DB accounts

Hi Team, We want to migrate data between two cosmos DB NOSQL accounts which are located in two different tenants. One cosmos DB is in "CORP Tenant"(microsoft.com) and another cosmos DB is in PME tenant. Please provide me some guidance on how to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-28T05:42:15.5733333+00:00
Thakkelapalli Swapna (INFOSYS LIMITED) 0 Reputation points Microsoft Vendor
commented 2024-09-02T04:17:43.47+00:00
ShaktiSingh-MSFT 14,811 Reputation points
1 answer

How to get the deleted events in the consmos db change feeds with continuous backup enabled

Hello, I was wondering if it is possible to get the deleted events in the cosmos db change feed processor. So far I am able to get both update and inserts events and according to the documentation, by enabling the continuous backup it should also be…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-28T11:14:44.4733333+00:00
Daniele Angeli 0 Reputation points
commented 2024-08-30T06:25:29.0633333+00:00
ShaktiSingh-MSFT 14,811 Reputation points
1 answer

Node.js App Downtime Due to Cosmos DB Connection Issues

Hi, We are currently running a Node.js application that uses Cosmos DB as its database. Unfortunately, we experience downtimes of our app every few days. We have tracked the issue and noticed very long connection times (30 seconds or more) to Cosmos DB…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-01T08:48:43.24+00:00
Robin Weiß 0 Reputation points
commented 2024-08-30T05:37:56.14+00:00
Sai Raghunadh M 75 Reputation points Microsoft Vendor
2 answers

I am unable to create CosmoDB in US East region (or any US region where my app services resource is)

I am unable to create CosmoDB in US East region or create an App Services App in Central US. The error given for both of these cases is "This region has a quota of 0 instances for your subscription. Try selecting a different region or SKU." I…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,608 questions
asked 2024-07-31T02:19:29.72+00:00
Ernie Guaimano 0 Reputation points
commented 2024-08-30T05:18:11.9633333+00:00
Sai Raghunadh M 75 Reputation points Microsoft Vendor
1 answer

Exception while performing SSL handshake

We are encountering an intermittent issue: "Exception while performing SSL handshake" when connecting to Azure Cosmos DB for PostgreSQL 16 with Citus 12. Minimum TLS Version: 1.2 Framework: .NET Core 3.1 Library: Npgsql 8.0 using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,497 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-22T18:29:11.4233333+00:00
Deependra Singh 10 Reputation points
commented 2024-08-30T04:53:55.7866667+00:00
Deependra Singh 10 Reputation points
1 answer

how to get the mongodb'post right

ongo.errors.OperationFailure: Invalid key, full error: {'ok': 0.0, 'errmsg': 'Invalid key', 'code': 18, 'codeName': 'AuthenticationFailed'}

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-02-29T07:54:49.76+00:00
commented 2024-08-30T04:31:31.8066667+00:00
ShaktiSingh-MSFT 14,811 Reputation points
1 answer

Azure Cosmos Spring Partial Update Document Id and _etag

I’m working with the patch feature with Spring Data Cosmos (Java Spring Boot). I have a scenario where I need to patch a field in a deeply nested object within my main document class, User. Suppose that I need to update a flag within User at the path…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-26T19:34:28.7633333+00:00
Murillo, Antonio J 20 Reputation points
commented 2024-08-30T04:15:40.77+00:00
ShaktiSingh-MSFT 14,811 Reputation points
2 answers

when is the Newtonsoft v10.0.2 going to be updated in Microsoft.Azure.Cosmos v3.42. this version of newtonsoft has security vulnerablities

it's simple: when is the Newtonsoft v10.0.2 going to be updated in Microsoft.Azure.Cosmos v3.42. this version of newtonsoft has security vulnerablities and i cannot find any information on when this Newtonsoft vulnerability will be…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-23T17:34:09.5333333+00:00
Scott F 0 Reputation points
commented 2024-08-29T16:58:16.44+00:00
Oury Ba-MSFT 18,601 Reputation points Microsoft Employee
1 answer

App service request got 403 by Cosmos

I have several app services they all have it's own virtual network. And for cosmos networking, I set the cosmos to have public access -> selected network -> add all the virtual networks for those app services. But I still got error of 403 from…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,608 questions
asked 2024-08-28T20:03:39.7466667+00:00
Annie Xue 25 Reputation points Microsoft Employee
answered 2024-08-29T09:43:02.3333333+00:00
ShaktiSingh-MSFT 14,811 Reputation points
1 answer

Getting MongoCommandException When Trying to Create a MongoClient

I’m getting the below error when trying to create a MongoClient using the connection string got from Azure MongoDB CosmosDB. com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-08-29T05:34:35.48+00:00
Yogesh 5 Reputation points
answered 2024-08-29T06:39:51.6266667+00:00
ShaktiSingh-MSFT 14,811 Reputation points
1 answer

Self Hosted Integration Runtime Connection Failed with Azure Cosmos DB for PostgreSQL

In datafactory we have a step which connects with Azure CosmosDB for PostgreSQL to copy the some data to other DB using self hosted integration runtime, Its was working fine till last week. Suddenly there is intermittent connectivity issue & we are…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,493 questions
Azure Database for PostgreSQL
asked 2024-08-28T06:35:25.3933333+00:00
Farhan Abdul Shakoor 0 Reputation points
edited a comment 2024-08-29T06:16:28.4466667+00:00
Farhan Abdul Shakoor 0 Reputation points
2 answers

Strange behavior with numbers

Hello,   We’ve been using cosmos for a few years now and just recently discovered some odd behavior. We are using the .net SDK but occasionally use the data explorer to manually view/update data for production support purposes.   To illustrate this odd…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,599 questions
asked 2024-07-26T16:06:18.4733333+00:00
Justin Stanley 0 Reputation points
commented 2024-08-29T05:01:18.47+00:00
Sai Raghunadh M 75 Reputation points Microsoft Vendor