@Hari Ramamurthy - Thanks for the question and using MS Q&A forum.
According to this documentation: Copy data from or to MongoDB using Azure Data Factory or Synapse Analytics
The following properties are supported for MongoDB linked service:
Below image shows the supported capabilities for the MongoDB connector:
Here are some steps you can take to troubleshoot and resolve this issue:
- Ensure that the firewall settings on your MongoDB server allow incoming connections from the Azure Data Factory IP ranges. You may need to whitelist the IP addresses used by ADF.
- If your MongoDB is hosted in Azure (e.g., on an Azure VM), check the NSGs associated with the VM to ensure that they allow traffic on the port MongoDB is using (default is 27017).
- If you are using the Auto Resolve Integration Runtime, it might change regions, causing connectivity issues. Consider setting up a self-hosted integration runtime and ensure its IP address is whitelisted in MongoDB.
- If the MongoDB server is under heavy load or if there are network latency issues, consider increasing the connection timeout settings in the ADF linked service configuration.
For more details refer to this MS documentation: Create a linked service to MongoDB using UI
Copy data from or to MongoDB using Azure Data Factory or Synapse Analytics
Troubleshoot the MongoDB connector in Azure Data Factory and Azure Synapse
Hope this helps. Do let us know if you have any further queries.
-------------
If this answers your query, do click `Accept Answer`
and `Yes`
for was this answer helpful. And, if you have any further query do let us know.