Forum Discussion
Copy data activity on microsoft fabric and mongodbAtlas problem connection
I also have the problem with connection because by connection string must contain
&authmechanism=SCRAM-SHA-256&how can I specify it in Fabric? There are only server name + port and creds. How to specify an additional param?
- Anonymous2 years agoNot applicable
Hi Marusyk ,
Thanks for using Fabric Community.
Can you explain me more about your issue? What are you trying to do?- Marusyk2 years ago
Advocate II
Hi, sure. I'm using the RBAC feature for CosmosDb. So I've created a user fabric and want to use it to connect from Fabric.
To connect to Cosmos using custom credentials use connection string like this (replace <username> and <password>):
mongodb://<username>:<password>@cosmos****-prod.mongo.cosmos.azure.com:10255/Customers?ssl=true&replicaSet=globaldb&authmechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000I got the error however the key is valid because I'm able to connect via MongoDB Compass
- Anonymous2 years agoNot applicable
Hi Marusyk ,
If you are also facing issue with connection. The best course of action is to open a support ticket and have our support team take a closer look at it.
Please reach out to our support team so they can do a more thorough investigation on why this it is happening: Link
After creating a Support ticket please provide the ticket number as it would help us to track for more information.
Hope this helps. Please let us know if you have any other queries.