Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
blull
Frequent Visitor

MongoDB Atlas Data Copy Connectivity

I'm trying to utilize the new MongoDB Atlas connector in Data Pipelines/Copy Data, but have had no luck at all connecting to my MongoDB Atlas database.  It seems to be a connectivity issue or something wrong with my connect string.  Can anyone help with the proper format on setting up atlas as a source?  Things I've tried for the server:

 

  1. mytest.vsd37ej.mongodb.net
    • Internal error has occurred.
      Activity ID: 5c2fb0a3-5eab-4817-9e64-92f478d17401
  2. mongodb+srv://<username>:<password>@mytest.vsd37ej.mongodb.net
    • >Connection to MongoDB server is timeout.
      A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "2", Type : "Unknown", State : "Disconnected", Servers : [] }.

It could also be a firewall related issue but I did set a whitelist for 0.0.0.0 in my testing and it didn't make a difference either way. are there set IPs I need to whitelist in Atlas so fabric can communicate?  I 

 

blull_0-1701716726689.png

 

5 REPLIES 5
BartoloIsmail
Frequent Visitor

i have also the same issus with my copy activity in microsoft fabric. Should I check if there are specific permissions for Microsoft Fabric to access my mongodb atlas collection? I successfully retrieved data via a Python script and added my IP to the list of IPs. 

BartoloIsmail_0-1715675408667.png

 

'm trying to copy data via a pipeline using Microsoft Fabric to retrieve my MongoDB Atlas collection. I had an error that I corrected by adding a parameter that allows access to all IPs to access the MongoDB service. After running the test, I now encounter a new error that appears (progress... :)). I'm coming to you to ask if you could explain where this new error might be coming from. Thank you for your help.

blull
Frequent Visitor

Any updates on this?

Hi @blull 

 

Apologies for the issue that you are facing.

Please go ahead and raise a support ticket to reach our support team:

https://support.fabric.microsoft.com/support
Please provide the ticket number here as we can keep an eye on it.

 

Thank you.

v-cboorla-msft
Community Support
Community Support

Hi @blull 

 

We are reaching out to the internal team to get more information related to your query and will get back to you as soon as we have an update.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.