How to access Azure Cosmos mongoDB vcore cluster data via python
I am trying to access Cosmos MongoDB vcore cluster data in my python code. Cluster connection string is mentioned below. I am getting server timeout error. I would also like to know how to use mongdb REST API to read the data. Connection String:…
Connect to a Cosmos Mongo Vcore instance over an Azure P2S VPN
I'm trying to connect to a Cosmos Mongo vcore database over a p2s vpn and am having a hard time pinning down why this isn't working. We have a hub vnet that contains a vpn gateway subnet, a private endpoint subnet, and a dns resolver subnet. I created…
Linq Cosmos DB ArgumentNullException Exception
I am using LinQ on the client side to query Cosmos DB. All the other properties work fine except two properties. One is the "id" and the other is the "RowKey". I manually checked the database, the type of RowKeys are all string, they…
Cosmos DB doesn't support MongoDB `hello` command
Hi, MongoDB is using "hello" command for handshaking health check. However, CosmosDB doesn't support it, and all the application development frameworks have switched from isMaster command to this now, which is creating dirty overriding layer in…
Having trouble in copy data between cosmos mongodb
Operation on target ForEach_q2g failed: Activity failed because an inner activity failed; Inner activity name: Copy_q2g, Error: Failure happened on 'Sink' side.…
Cosmos DB Mongo API recieved Error 50 (ExceededTimeLimit) while attempting to read from an empty collection
Hey Guys, we encountered an issue with our Cosmos DB for Mongo DB 4.3. When we execute the same request (using mongoose 5.13), it fails randomly (error code 50 ExceededTimeLimit). The confusing part is that the db table is still empty. We took a…
[UnusualActivity] Full Deny assignment
I can't perform any action on my account using my student credit . I can't create nor manage any resource even though I still have unused credits and valid azure account. The client with object id '.............' has permission to perform action…
Getting error in cosmos db as authorization token is not valid for current time.
Hi All, I'm using free trail azure subscription and created azure cosmos Account. After successful creation of azure Cosmos Account I have created database. I tried adding documents to the collection its not allowing me to create a documents. I'm…
issue with "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/*"
What are included in "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/*"? In ADF when testing pipeline, we got an error message saying "xxx does not have authorization to perform action…
Localhost refused to connect when running CosmosDb emulator
I am getting the below screen when I launch the data explorer after installing the cosmos DB emulator. I have tried deleting the certificates, removing the folder from LOCALAPPDATA and reinstalling, but nothing seems to work. Any help on this…
How to sync dta between cosmos DB instances
My goal is to sync collection from 1st cosmos DB instance to 2nd DB instance. Want to replicate a limited set of fields for a collection from 1st instance to 2nd instance. Do not want a one time migration but an ongoing synchronization.
What is best practice for a Functions App to update a Cosmos NoSQL container configuration?
Much more details here: https://stackoverflow.com/questions/79325429/azure-functions-app-cannot-update-cosmos-db-container-configuration-using-ihoste Essentially in my app service plan I made a Functions app that uses IHostedService added to the service…
Worker was unable to load function cosmos-redis: 'A function can only be registered during app startup.'
Error: Worker was unable to load function cosmos-redis: 'A function can only be registered during app startup.' at t.registerFunction (C:\Program Files\Microsoft\Azure Functions Core Tools\workers\node\dist\src\worker-bundle.js:2:28959) any…
setting up private endpoint between cosmos db and synapse analytics
hello team, i want to setup private endpoint for synapse workspace and cosmos db but the "managed virtual network" is set as No. how does it affect the private endpoint connection. please let me know if any way to establish the explicit…
How to move an Azure subscription containing a Cosmos DB using customer-managed encryption keys?
I'm preparing to transfer an Azure subscription from one directory to another. This subscription contains a productive application which includes, among other resources, a Cosmos DB instance and a Key Vault. The Cosmos DB has at-rest encryption using…
Gremlin API of Cosmos DB Emulator fails to parse decimal numbers
I'm currently developing an application using the Gremlin API of an Azure Cosmos DB, utilizing the Cosmos DB Emulator for local development as per the documentation. However, I've encountered an issue where the emulator does not handle decimal numbers…
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":…
Active directory Integration with RBAC for Azure CosmosDB with Mongo API
Planning to create RBAC for Azure Cosmos DB with Mongo API, is Active directory user integration is possible
Unexpected Charge on Free Tier Cosmos DB
Hi all, I have only one Cosmos DB Account in my subscription which I have set to be the "free tier" account with 1000 RU/s and 25 GB quota. I have set the Account to not exceed 1000 RU/s. Now, having worked for a couple of hours on it (those…
How to download payloads from Azure Cosmos DB efficiently?
I need help figuring out how to download specific payloads from Azure Cosmos DB efficiently. While exploring the Azure interface, I noticed an option to delete data, but I couldn’t find a straightforward way to download it. For example, I want to…