1
votes

I am trying to use the new Azure CosmosDB Emulator Task (https://docs.microsoft.com/en-us/azure/cosmos-db/tutorial-setup-ci-cd).

We are relying on the Azure CosmosDb support for MongoDb and I can't seem to figure out what the connection string should be. In the above example the Endpoint URL is over written by the Output variable provided by the CosmosDb Emulator task -- but that is not in the expected format.

Edit: The default connection string for mongodb is not working

Any advice would be much appreciated.

Thank you.

1

1 Answers

0
votes

Based on the information provided here, the connection string for emulator is:

mongodb://localhost:C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==@localhost:10255/admin?ssl=true