I am having trouble connecting my Azure CosmosDB to MongoDB Compass. I need clarification and assistance with the following settings:
Cosmos DB uses Username/Keys instead of Username/Password authentication. In the Azure Portal for your Azure Cosmos DB instance, under Settings > Connection String, you will see your Connection Strings. It's all there:
Primary Connection String Example: mongodb://miubezzi-mongoapi:'Read-write Key'@miubezzi-mongoapi.documents.azure.com:10255/?ssl=true&replicaSet=globaldb
With the following Compass Connect information, I was able to connect. My Compass instance is currently syncing but I am connected. Will update with addition details.
And I am able to create a Database + Collection via Compass.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With