1,786 questions with Azure Cosmos DB tags

Sort by: Updated
2 answers

How to connect Power BI to Azure CosmosDB for MongoDB vCore?

I'm trying to connect Power BI to the Azure CosmosDB for MongoDB vCore Free Tier that I provisioned, but the connector asks for an 'Endpoint,' which is not provided in the resource's general panel. Using MongoCompass with the connection string, the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-09T19:21:55.0233333+00:00
William Macedo Marcondes 0 Reputation points
answered 2025-03-12T12:53:00.0166667+00:00
William Macedo Marcondes 0 Reputation points
4 answers

Can't connect to free tier mongo cluster

I am trying to connect to my Free Tier mongo cluster. Through MongoDB Compass I get this error: Server record does not share hostname with parent URI. It seems like a DNS issue, anyone else who has encountered the same issue?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2024-12-08T20:00:41.4566667+00:00
Michael Katsoulakis 0 Reputation points
answered 2025-03-12T12:00:32.4033333+00:00
peoplelab 0 Reputation points
1 answer

How to make an index In azure cosmos DB just Like Azure AI Search?

I want to create an Index inside my azure cosmos DB just like an azure AI Search Index, So that I can use that Index with Azure Open AI Rest API?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-11T08:34:18.35+00:00
Ahmad Shafiq 150 Reputation points
answered 2025-03-12T09:16:36.7166667+00:00
Adithya Prasad K 90 Reputation points Microsoft External Staff
1 answer

Azure CosmosDB - pymongo.errors.ServerSelectionTimeoutError: encoding with 'idna' codec failed

I am following the official Azure documentation to build a Travel AI Agent using Python, FastAPI, and Azure CosmosDB (MongoDB API) as the database. The project involves storing and retrieving travel-related data using CosmosDB as the vector store.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-07T13:41:07.34+00:00
saurabh pophare 0 Reputation points
commented 2025-03-12T04:46:11.2133333+00:00
PratikLad 240 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Prevent application failure by upgrading to the minimum recommended version (4.48.2) of the Azure Cosmos DB Java SDK by 31 March 2025

Hello, I have Azure function app which uses .NET, cosmos db client and cosmos db. I am seeing following message in cosmos db in azure portal. "Prevent application failure by upgrading to the minimum recommended version (4.48.2) of the Azure Cosmos…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-09T23:59:36.8166667+00:00
Pkp 25 Reputation points
accepted 2025-03-11T19:03:01.09+00:00
Pkp 25 Reputation points
1 answer

CosmosDB Metric Autoscaled RU not returning any data, per partition per region is enabled

CosmosDB Metric Autoscaled RU not returning any data, it has in the past. Per partition per region scaling/feature is enabled.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-07T16:41:13.67+00:00
Howard, Melora 0 Reputation points
commented 2025-03-11T16:25:03.1733333+00:00
Mahesh Kurva 2,920 Reputation points Microsoft External Staff
0 answers

CosmosDB cannot read out documents with URL encoded IDs

We had a Cosmos DB account and in one of the containers some of the documents have URL encoded IDs, e.g.: rfq_123_%28test%29 meaning "rfq_123_(test)". I'm no fan of url encoded IDs, but I'm just supporting the project and it's too late to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2024-07-25T12:25:38.28+00:00
Mikkel 10 Reputation points
commented 2025-03-11T12:30:59.2266667+00:00
Mo 0 Reputation points
1 answer One of the answers was accepted by the question author.

Azure stream analytics

I get this error when I want to display the data generated from this script

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
698 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 questions
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
383 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
427 questions
asked 2023-10-19T13:35:01.65+00:00
Given Mnisi 40 Reputation points
commented 2025-03-10T18:52:01.63+00:00
Prakash Mj 20 Reputation points
1 answer

Unable to create CosmosDB Account in East US, East US2, and West US2

I need to create a CosmosDB account in one of the following regions: East US, East US2, and West US2, but is unable to do so. Any solution to it?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-07T21:35:43.11+00:00
Amy Sun 0 Reputation points
commented 2025-03-10T16:56:26.91+00:00
Mahesh Kurva 2,920 Reputation points Microsoft External Staff
1 answer

Request for Data Restore in Azure Cosmos DB for MongoDB Collection

Hello, We have encountered a critical issue with our Azure Cosmos DB for MongoDB account. On March 6, 2025, we accidentally deleted all document data from one of our collections. We need assistance in restoring the deleted data from the backup covering…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-07T09:16:29.2466667+00:00
chenna keshava vani 0 Reputation points
answered 2025-03-07T10:17:15.9966667+00:00
Adithya Prasad K 90 Reputation points Microsoft External Staff
0 answers

How can I attach a public IP and enable public access to a Cosmos DB instance initially set to Private Access?

As said in title, I've got a client looking to temporarily enable public access to their Cosmos DB clusters that were initially configured with private access only. The documentation I've found suggests creating a rule under Networking to allow public…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-04T16:11:55.9366667+00:00
mv-ltch 0 Reputation points
commented 2025-03-06T19:20:09.63+00:00
Prasad Chaganti 80 Reputation points Microsoft External Staff
1 answer

CosmosDB - Diagnostics in dotnet v3 SDK

Hello,   We are using CosmosDB dotnet v3 SDK and we are fetching around 550kb of data in one query. Here is a gist of the code: We noticed that the “ReadNextAsync()” method takes 180ms to execute. After closer examinations of the diagnostics, we can see…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-02-28T14:43:58.66+00:00
banto 0 Reputation points
commented 2025-03-06T18:24:37.4333333+00:00
Oury Ba-MSFT 20,446 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

azure_ai extension on Azure Cosmos DB for PostgreSQL Cluster

Hello - is there guidance on installing the azure_ai extension on Azure Cosmos DB for PostgreSQL Cluster?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-02-28T15:28:53.3333333+00:00
Matt Hofmann 20 Reputation points
accepted 2025-03-05T12:44:02.3933333+00:00
Matt Hofmann 20 Reputation points
1 answer

I accidentally did irreversible changes to Cosmos DB container, backup setting is not setup

I have made changes to the container in Cosmos DB, not having backup policy setup and need to revert the changes back. How can I do it?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-03T14:29:45.0833333+00:00
Aleksandr Glushko 0 Reputation points
commented 2025-03-05T08:41:04.3933333+00:00
Adithya Prasad K 90 Reputation points Microsoft External Staff
2 answers

How to disable the Materialized Views for NoSQL API (preview) in CosmosDB?

I have a CosmosDB with NOSQL API and I would like to turn on the Continuous backup. I am receiving the error that it cannot be turned on due to the active Materialized Views for NoSQL API. In Settings/Features I can indeed see the feature active, but I…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-02-26T06:53:03.9366667+00:00
Čončka Jan 0 Reputation points
answered 2025-03-05T05:23:14.4133333+00:00
ShaktiSingh-MSFT 16,251 Reputation points
0 answers

Cosmos DB Diagnostic Logs Not showing up RUs for Create operations

I am using CosmosDB for a while now, and I would like to take advantage of diagnostic logs to keep an eye on RU usage. Query logs work fine, HOWEVER my create requests are being logged with requestcharge equal to 0. Does anyone have any idea why that…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-02-21T14:33:29.31+00:00
TUDOR33SUD14 5 Reputation points
commented 2025-03-05T05:16:56.77+00:00
ShaktiSingh-MSFT 16,251 Reputation points
2 answers

Creating an Azure Cosmos DB account fails

Trying to create an Azure Cosmos DB account. Get an error about the choosen region that is not available for my resource group. But there are only two regions to choose from, and none of them is available. What to do? This question is related to the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-02-28T11:46:06.6866667+00:00
KJELLBERG Johannes 0 Reputation points
commented 2025-03-04T10:08:26.8+00:00
Adithya Prasad K 90 Reputation points Microsoft External Staff
1 answer

FIPS enabled CosmosDB

I just want to know how to access FIPS-enabled CosmosDB and which services have FIPS enabled in terms of it. How does it work for FedRAMP environment.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-02-28T07:45:34.47+00:00
commented 2025-03-04T08:37:53.3033333+00:00
Adithya Prasad K 90 Reputation points Microsoft External Staff
1 answer

Cosmos Db error : Request blocked by Auth

Hi, I can not read the data in Cosmos Dbs in all Azure Directories. Here is the error message: Request blocked by Auth : Request is blocked because principal [] does not have required RBAC permissions to perform action…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-02-26T10:10:41.6166667+00:00
Eng. Mahdi Poodineh 0 Reputation points
commented 2025-03-03T06:21:28.7766667+00:00
Adithya Prasad K 90 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Does Cosmos DB have inverted index per physical partition or global inverted index

Will multiple inverted indexes be created for a container that has more than one physical partition? Trying to understand how the query execution would be for a scenario where I cannot use the partition key but only relying on the index and there are…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
asked 2025-03-02T14:28:47.69+00:00
Balaji Sampath 20 Reputation points
commented 2025-03-02T18:28:21.6266667+00:00
Balaji Sampath 20 Reputation points