Batch upload document to Azure Cosmos DB using Perl
I have successfully set up Postman Collections to access Microsoft Azure Cosmos DB via REST APIs by following https://github.com/sajeetharan/CosmosDBPostmanGuide. The next step I need to perform is gather sample JSON data to be batch uploaded to our…
Metadata permissions clarity
Hello, Having a few doubts related to Metadata permissions. What is metadata read/write permissions? What is the use of it, and whether this permission is required for an user who majorly uses only Azure portal for managing the resources? How to…
How can I implement asynchronous loading into Azure Cosmos DB (Gremlin) with Python 3.10 correctly?
Hello, I have an Event Grid trigger Azure function that takes events, processes them, checks if a vertex exists in the Cosmos DB (Gremlin), and if not, adds this vertex to the database. When the number of events for processing is small, everything…
![](https://techprofile.blob.core.windows.net/images/iwxOrAFAAwAAAAAAAAAAAA.png?8DBE14)
Why am I asked to update Azure Cosmos DB .NET SDK to version 3 by 31 August 2024? We've never been using version 2 to the best of my knowledge.
Hi, I've received the following email: Update to version 3 of the Azure Cosmos DB .NET SDK by 31 August 2024 You're receiving this email because you've used version 2.x of the Azure Cosmos DB .NET SDK. Because version 3 of the Azure Cosmos DB .NET SDK…
Cosmos DB read operation timeout after second try with Error Code 500
I am having issues with Cosmos DB where the first read operation succeeds and returns result from DB as expected, but all subsequent reads fail with Error Code 500. The error message mentions a session token not being available. How can I resolve this…
![](https://techprofile.blob.core.windows.net/images/9CqRWkWyk0WIvV6eSiSD-g.png?8DB6B7)
Role required to read/write data from cosmos DB (SQL API) from ADF?
We are trying to read/write data from Azure data factory, since local authentication is disabled in cosmos we are trying to access cosmos DB using managed identity. However even with Cosmos DB Account Contributor role assigned to managed identity of…
Vector Database, Cosmos DB Container. Vector and Indexing policies.
Hello guys, I'm going nuts on this one. I'm trying to build an Azure Cosmos DB Container with the Vector feature, I have enabled the feature of Vector Search for NoSQL API (preview). I first tried to create the container in Azure portal and then…
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
Azure Cosmos db for mongo api service not showing all the features like data explorer, networking tab in portal
Noticing that azure portal for cosmos db for mongo api not showing all the features recently. Tabs like data explorer, networking and even the overview tab is missing some details. Tried logging out and logging back in but it did not fix the problem.
![](https://techprofile.blob.core.windows.net/images/N73BYmYrqU2ir8ef2orWig.png?8D9FAC)
Cosmos DB Gremlin, DB and Collection Creation via APIs
Is there an API that we can use to Create DB and Collection/Graphs?
![](https://techprofile.blob.core.windows.net/images/9CqRWkWyk0WIvV6eSiSD-g.png?8DB6B7)
How to write a SQL query in ADF lookup activity for cosmos gremlin DB(json data)?
I have the gremlin cosmos db and i loaded the data as vertices and edges. when i am trying to read the data using adf look up activity(select * from grem_db_test), I am getting data in the json format which is fine. But why it's not supporting when i run…
Are custom functions (https://www.mongodb.com/docs/manual/reference/operator/aggregation/function/) available for Azure Cosmos DB for MongoDB?)
Hi, I would like to use the mongodb feature to query a collection using a custom javascript function as describe here https://www.mongodb.com/docs/manual/reference/operator/aggregation/function/. Is this available for Azure Cosmos DB for MongoDB? Or…
Looking for equivalent functionality between dmt and dtui - importing data with id field from JSON into Azure Cosmos
We've started to use the Azure data migration tool since TLS 1.2 support is no longer available in the old Azure documentdb migration tool (DTUI last version 1.83). What we're having issues with, and can't find clarifying documentation on, is when…
How to clone cosmos gremlin api db from one environment to another environment
Hi All, We want to copy Azure comos db gremlin api data from one suscription to another subscription. Is there anyway to do that?
resiliency test on SQL Cosmos DB
I'm planning for the resiliency test on SQL Cosmos DB: I intended to halt operations on our SQL Cosmos DB. This action is necessary to monitor the application’s behavior in the absence of database connectivity. Is there any way to take one of DB offline…
![](https://techprofile.blob.core.windows.net/images/9CqRWkWyk0WIvV6eSiSD-g.png?8DB6B7)
Cosmos db Shared database throughput for 25 containers + 26th Container with Provisioned Throughput
Hi Everyone - We are using a Cosmos db account in Production which was created in Shared database throughput mode. We have reached a Max of 25 Collection which is the upper limit for Shared Database throughput. Here are my Questions :- Can I create…
![](https://techprofile.blob.core.windows.net/images/ZxR-i_5_AwAAAAAAAAAAAA.png?8D9F10)
![](https://techprofile.blob.core.windows.net/images/ZxR-i_5_AwAAAAAAAAAAAA.png?8D9F10)
Need to restrict the cosmos DB accessible from public internet.
I have created CosmosDB instant in Azure. Disabled the public access and associated with private endpoint but still cosmosDB url is accessible through internet. How can I restrict the url accessible from internet? tried with NSG also but no luck. Can…
We use Application Insights in our .netcore webapp,Analyzing the API in performance metrics, it was found that some records Cosmosdb queries, while others do not.
We use Application Insights in our .netcore webapp,Analyzing the API in performance metrics, it was found that some records Cosmosdb queries, while others do not.
![](https://techprofile.blob.core.windows.net/images/iwxOrAFAAwAAAAAAAAAAAA.png?8DBE14)
Materialized views are not created - not found. status of "Enqueued"
I'm attempting to create a materialized view, the PUT returns a status of "Enqueued" but even after a while the view is not generated, the Get is returning not found. Followed the instructions from:…
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
Error when bulk inserting documents with Cosmos DB (Response status code does not indicate success: Conflict (409); Substatus: 0; ...)
I am trying to add a collection of this object: public class Organization { [JsonProperty("id")] public string? Id { get; set; } [JsonProperty("name")] public string? Name { get; set;…
Is there a way to get cosmosdb (for nosql) container size and total container document count.
I want to get total items count (row count) and container size for a cosmosdb (nosql) container efficiently using a python client. Is there a way to do this efficiently.
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)