1,478 questions with Azure Cosmos DB tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Cant choose Key for upsert, in Copy Data-activity

I want to copy Data from an Azure SQL to a comsosdb container, with the copy data activity of Azure Synapse. As I cannot enter the uniqe key column, for the upsert behaviour, i receive a unique key violation error. Why is there no option to select the…

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,504 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-10T12:05:43.3633333+00:00
Axel 20 Reputation points
accepted 2024-05-22T07:10:24.0633333+00:00
Axel 20 Reputation points
3 answers One of the answers was accepted by the question author.

Query Conversion to Point Reads

Hello , Is there a way to identify eligible queries that can be transformed into point read queries using metrics or a Kusto query?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-14T08:35:36.7933333+00:00
Sai Praneeth Eranti 150 Reputation points
accepted 2024-05-22T05:11:58.97+00:00
Sai Praneeth Eranti 150 Reputation points
1 answer

Please update to Azure Cosmos DB extension version 4.x for Azure Functions.

I had receiving a mail. tell me to update Azure Cosmos DB from version 3.x to 4.x. but I didn't use this server. why I can received the mail. Can you tell me how to check it or which function use it. I didn't have and idea. thank you.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,422 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-21T02:40:57.5733333+00:00
Ding, Jianhua | MPB 0 Reputation points
answered 2024-05-21T16:21:11.2533333+00:00
Ryan Hill 26,321 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Design two containers in Azure Cosmos DB for anonymous and sign-in users

We want to store the user's click on website into Azure Cosmos DB. We want to design two containers in a single Azure database, SampleDB. One container is to store the documents for anonymous user clicks on product detail page, one container is to store…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-17T18:27:02.2933333+00:00
AzureGuru 40 Reputation points
accepted 2024-05-21T15:17:00.56+00:00
AzureGuru 40 Reputation points
0 answers

How to connect to Azure Cosmos DB for MongoDB vCore via a private endpoint from app service?

Hi everyone, I'm having trouble connecting to the mongodb from one of my web app. It used to work perfectly until a private endpoint was configured. I tried to replace the domain name in the connection string with the FQDN. I got this…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,070 questions
asked 2024-05-17T03:22:11.1066667+00:00
Phillip Hu 0 Reputation points
commented 2024-05-21T12:47:20.0266667+00:00
SnehaAgrawal-MSFT 19,186 Reputation points
1 answer One of the answers was accepted by the question author.

Missing Cosmos DB Built-in Data Reader and Cosmos DB Built-in Data Contributor roles

Hi, I'm trying to to connect to a CosmosDB using the Java Azure SDK, and I'm getting a 403 with the following message: Request blocked by Auth **** : Request is blocked because principal [*****] does not have required RBAC permissions to perform…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2022-09-05T16:24:26.827+00:00
Cesar Revert 21 Reputation points
commented 2024-05-21T12:28:23.4+00:00
Richard Davis 0 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: ServiceUnavailable (503); Substatus: 20001;

I am using Cosmos Client to run a query. I am getting this error continuously. I have added retry mechanism and even reran the project multiple times, but I am getting the same error. Is there any change I have to do in the resource to get rid of this…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2023-11-03T14:55:55.21+00:00
Rajeshwar Reddy Chowdepalli 61 Reputation points Microsoft Employee
edited the question 2024-05-21T03:16:36.8033333+00:00
Rajeshwar Reddy Chowdepalli 61 Reputation points Microsoft Employee
0 answers

azure cosmos db error: Error querying documents: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.

each time i want to open a collection i got this error ! Error querying documents: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. (management.azure.com:443), Payload:…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-09T16:02:17.01+00:00
Iheb Jandoubi 5 Reputation points
commented 2024-05-20T23:42:44.47+00:00
Oury Ba-MSFT 16,901 Reputation points Microsoft Employee
1 answer

Microsoft Azure CosmosDB for MongoDB Deprecated Classic Metrics: Data+Index Size Consumed Per Partition Key Range

Hi All, Given the Monitor Classic Metrics was deprecated. I would like to know is there any way to know the data size consumed per partition key for CosmosDB (MongoDB)? I had explored the Metrics in Monitoring blade at Azure Portal, but seems I could…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,885 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-16T04:11:14.7+00:00
Kanisius Raychitra Lieka Avisena 0 Reputation points
answered 2024-05-20T20:13:53.0633333+00:00
Amira Bedhiafi 17,201 Reputation points
3 answers

The best database in Azure to manage real time data operations.

Hello Experts, I have to manage some real time stock updates between more than 2 online portals and we are thinking to go with Azure Services. And also think to store data in Azure Database services. Hence, we are looking for the database that must be…

Azure Table Storage
Azure Table Storage
An Azure service that stores structured NoSQL data in the cloud.
159 questions
Azure SQL Database
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2023-05-19T15:35:22.92+00:00
Ancy 6 Reputation points
commented 2024-05-20T15:55:18.95+00:00
Oury Ba-MSFT 16,901 Reputation points Microsoft Employee
1 answer

Received Error 'Unexpected end of JSON input' When Browsing Cosmos DB with the Data Explorer in Portal

Hi There, I wonder what happens behind the scene. I don't need to do anything to fix it, just keep refreshing the web page until it works, it could take 2 mins or 1 hour to get it work. Thanks.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-15T04:52:20.11+00:00
Vincent Zhang 0 Reputation points
commented 2024-05-20T06:36:16.0866667+00:00
ShaktiSingh-MSFT 14,081 Reputation points Microsoft Employee
4 answers

The input authorization token can't serve the request. The wrong key is being used or the expected payload is not built as per the protocol.

Hi all engineers, hoping to get some assistance on above error. Looks like permission issue. Created a user and assigned the role however, when the user is trying to modify the code, getting an error. If anyone in this channel has any solution, it would…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2023-09-17T23:25:39.7366667+00:00
Aadi 0 Reputation points
commented 2024-05-20T05:38:57.73+00:00
ShaktiSingh-MSFT 14,081 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Cosmos DB Rest API - unable to get document after passing partition key

Trying to get a document by its id using the following API (https://learn.microsoft.com/en-us/rest/api/cosmos-db/get-a-document). However, after providing the value for x-ms-documentdb-partitionkey I keep getting a not found error message despite the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-19T07:51:45.2233333+00:00
Abdullah Humayun 40 Reputation points
accepted 2024-05-19T08:31:43.3466667+00:00
Abdullah Humayun 40 Reputation points
1 answer One of the answers was accepted by the question author.

Having problem with Azure sandbox storage account

Hi, I am having issue to access to storage account in Azure sandbox environment. I have login to Azure sandbox environment, but not able to access to Azure storage account even though my subscription is selected as sandbox. Capture.PNG

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,380 questions
Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
651 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,781 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,070 questions
asked 2024-05-11T05:36:05.7433333+00:00
Weiy 20 Reputation points
edited a comment 2024-05-18T13:41:51.58+00:00
Weiy 20 Reputation points
2 answers One of the answers was accepted by the question author.

Azure Cosmos DB create index error cosmosSearchOptions code 197 InvalidIndexSpecificationOption

I am following this tutorial about taking advantage of Azure Cosmos DB for Mongo DB vCore's vector similarity search functionality. To do so, I created a Cosmos DB resource using "Try Azure Cosmos DB" with a resource group located in East US. I…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-14T20:54:19.7633333+00:00
Andrés Meza Escallón 20 Reputation points
edited a comment 2024-05-17T17:06:46.23+00:00
Oury Ba-MSFT 16,901 Reputation points Microsoft Employee
4 answers

Missing Cosmos DB Built-in Data Reader and Cosmos DB Built-in Data Contributor roles in Access Control (IAM)

I'm trying to assign roles to managed identity in Cosmos DB, through browser using Access Control (IAM). Unfortunately two build in roles Cosmos DB Built-in Data Reader and Cosmos DB Built-in Data Contributor are not there. How can I add managed…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
630 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
689 questions
asked 2023-02-01T15:31:32.8+00:00
Jacek Przezdziecki (ext) 15 Reputation points
commented 2024-05-17T11:55:19.7933333+00:00
AGA 0 Reputation points
2 answers

where can i find cosmsosdb encryption details

I need cosmosdb encryption details for audit

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-14T06:40:57.4233333+00:00
mohammedm834@ninjacart.com 0 Reputation points
commented 2024-05-17T04:14:40.6166667+00:00
ShaktiSingh-MSFT 14,081 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

How to use Azure Cosmos DB REST (Data plane) API with AAD RBAC?

I am attempting to make a REST request following these instructions which states "The Azure Cosmos DB RBAC is currently supported with the 2021-03-15 version of REST API." Yet when I make a request I get the response "Invalid API version.…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,951 questions
asked 2021-06-29T22:24:30.62+00:00
James G Foster 46 Reputation points
commented 2024-05-16T11:25:04.78+00:00
Somya Srivastava 0 Reputation points
1 answer

Not getting access with newly created user in cosmosdb for mongodb

I have created user in consmosdb for mongodb api with built-in role but while accessing with newly created user getting Error: invalid salt length provided

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-05-14T11:18:05.34+00:00
Sanjay Mange 0 Reputation points
answered 2024-05-15T03:55:53.0266667+00:00
ShaktiSingh-MSFT 14,081 Reputation points Microsoft Employee
2 answers

While fetching data from cosmos db conatiner and persisting the json file in ADLS Gen 2 through Synapse Pipeline, some objects in my json file are appearing as blank string causing data loss. This is happening in PROD only not in UAT and DEV.

Hi, The issue i am facing is with the Synapse Analytics Service - Pipeline. I have created a dataflow which is pulling data from cosmos db container in json format and storing that json file in ADLS Gen 2. When I check the json file in ADLS I see that…

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,380 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,504 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
asked 2024-04-05T13:17:47.2733333+00:00
Vity Pandita 0 Reputation points
commented 2024-05-13T10:35:01.35+00:00
ShaikMaheer-MSFT 38,291 Reputation points Microsoft Employee