CosmosDB: Deny CRUD Operations to Owner
Hi, I have cosmos db Account. I would like that a user that is Subscription Owner (Where cosmos db lives) don't have access to crud operations. No writes, no reads to cosmos db Container. How i can achieve that? I would like to maintain the owner…
![](https://techprofile.blob.core.windows.net/images/UVyLn-Xlr0apNce5TRX1RA.png?8DBA3B)
Deployment errors (cosmosdb, apim and graphrag-deploy) while deploying graphRAG
Hi, I'm facing three issues while deploying graphRAG using this command bash deploy.sh -p deploy.parameters.json : 1- cosmodb deployment: having this error log: Database account creation failed. Operation Id: xxxxxx, Error : Message:…
Failed to retrieve resource
Error: Failed to retrieve resource │ │ reading "Resource: (ResourceId │ "/subscriptions/xxxxxxxx-xxxxx-xxxxx/resourceGroups/XXXX-xxxxx-XXX/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb" │ / Api Version…
CosmosDB Analytical store delete changes in sql sink
Hi I am trying to capture delete changes from Azure cosmosdb analytical store using change data capture in Azure datafactory, Source is Cosmosdb, sink is Azure sql database. In between I am flattening my file using dataflow. My insert, update is…
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
Performance issue on CosmosDB for MongoDB
I am experiencing performance issue with CosmosDB for MongoDB (RU), when executing a query on a collection containing 300,000 documents. The query takes 43 seconds to execute on CosmosDB, whereas on my local MongoDB setup, it only takes 411 ms. Both env…
Request for Assistance in Migrating Azure Cosmos DB for PostgreSQL Cluster Between Subscriptions with Minimal Downtime
We have a requirement to migrate all Azure resources from an Azure Plan subscription to an EA Agreement subscription. Among these resources is an Azure Cosmos DB for PostgreSQL Cluster with a size exceeding 25TB. Unfortunately, Azure Resource Mover does…
Query items (container.query_items) for aio CosmosClient works for query that returns few items but fails when the number of items returned increase
Hello, I'm relatively new to aio.CosmosClient which is a Cosmos DB Client for Python to be used with async code. This is the snippet of my code in one function: async_iter = container.query_items( query=sql_query, parameters=query_params, …
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
Cannot deserialize a 'Guid' from BsonType 'ObjectId' in azure cosmos documentdb
I am using Azure mongo db collection and accessing it via dotnet application. I am getting error for some of the documents "Cannot deserialize a 'Guid' from BsonType 'ObjectId'" while retrieving. In dotnet, model class having Id property of…
How to run stored procedure for hierarchical partition container
I am trying to run stored procedure from Azure Portal UI. The container has hierarchical partition with two levels. When trying to give the partition key value im providing input as json: {"level1": "value1", "level2":…
Unable to connect to my cosmos mongo db from Azure web app after enabling pvt endpoints and vnet integration
I have a web app (linux) where i push my docker image via container registry which connects to the cosmos mongo database. It works fine when eveyrthing is via public network. When i enable private endpoints and vnet integration , my app works fine but it…
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
CosmosDB Data Explorer is not connecting to my DB account. How can I fix?
Hi, I having been using my CosmosDB account for over a year without any issue. I am unable to connect to or view my DB account using the Cosmos Data Explorer. I've tried from the menu option on the portal, and from cosmos.azure.com, with the same…
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
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…
![](https://techprofile.blob.core.windows.net/images/BVTIlQioKkCe_oxHMrjPaw.png?8D814A)
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
where can i find cosmsosdb encryption details
I need cosmosdb encryption details for audit
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
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:…
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
Azure cosmos DB is not scaling
Hi team, I have a timeseries data that I want to store in azure cosmos db. I have a very simple document consisting of name, price, date, create_time, update_time. I have about 15 million entries in my collection though. This is a provisioned server with…
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
How to enable partition key delete feature for my Azure cosmos account?
var deleteResponse = await container.DeleteAllItemsByPartitionKeyStreamAsync(new PartitionKey(partitionKey)); I have used this code snippet from referring -…
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
Update to version 3 of the Azure Cosmos DB .NET SDK by 31 August 2024
We received this email stating "we'll retire version 2.x of this SDK on 31 August 2024." What does retirement mean? What will stop working and what will continue to work if i stay on version 2.x
![](https://techprofile.blob.core.windows.net/images/kjzQAO5Oq0Oj37wdNf6qTQ.png?8D8E42)
Azure Cosmos DB with mongo don't support .sort operation ?
Hi, after trying to query data from cosmos db (configured for mongo), but I got error on .sort({"at": -1}) Everything works on localhost mongo db very well, but not in azure. Trace back from python is: 2024-04-09T13:02:08.1267872Z Traceback…
Azure Cosmos DB status: "Creating"
Hello I tried to create a cosmo database with containers, using bisep, but something went wrong, and now I have a cosmo account that has been created for 5 days. "Status: Creating" I can’t delete it, the resource group couldn’t be deleted…