Forum Discussion
Register MongoDB Atlas as a data source in Microsoft Purview
Has anyone managed to register MongoDB Atlas as a data source in Microsoft Purview? I can’t get it to register. When I choose the MongoDB option, I get the error "Error: (24275) The legacy MongoDB connector has been deprecated. To ensure your pipeline works, please create a new MongoDB linked service. Detailed instructions can be found in this documentation: https://learn.microsoft.com/azure/data-factory/connector-mongodb#upgrade-the-mongodb-linked-service", but we only have one connector for MongoDB in Purview.
2 Replies
- Prathista Ilango
Microsoft
Hello RobsonPelegrini4i,
This depends on the version of Mongo DB.
For versions, 2.4, 2.6, 3.0, 3.2, 3.4 and 3.6, use legacy: Copy data from MongoDB using legacy - Azure Data Factory & Azure Synapse | Microsoft Learn
For versions, up to 4.2, use the new connector: Copy data from or to MongoDB - Azure Data Factory & Azure Synapse | Microsoft Learn
If your work requires versions newer than 4.2, consider using MongoDB Atlas with the MongoDB Atlas connector: Copy data from or to MongoDB Atlas - Azure Data Factory & Azure Synapse | Microsoft Learn
Hope this helps!
Regards,
PI
Please mark as solution, if you find the answer helpful. This will assist others in the community who encounter a similar issue, enabling them to quickly find the solution and benefit from the guidance provided.
- RobsonPelegrini4iCopper Contributor
Hello Prathista Ilango, thanks for the response.
My version of MongoDb is 7 and it is in MongoDB Atlas.
I'd like to use it, but when I search for the connector, only one is available. Please see the figure below."In Data Factory I can see the connector "MongoDB Atlas" available, but in Purview I can't.