Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Trying to establish connection from power bi to mongo cosmos azure db. I have below inputs
Host: accountname.mongo.cosmos.azure.com
Account name: accountname
Key: Key
We are using power bi gateway server to connect to cloud.
On power bi service able to create mongodb connector and Azure cosmos db for mongo connector they r successfully established.
These r not available in desktop tool, how to consume data or create model from these gateway connection.
If this can't be used, how to establish this connectivity.
Any feedback appreciated.
Hi @NTolani ,
Just checking in to see if you query is resolved and if any responses were helpful.
Otherwise, feel free to reach out for further assistance.
Thank you.
Hi @NTolani ,
Thanks for reaching out to Microsoft Fabric Community.
Just wanted to check if the response provided was helpful. If further assistance is needed, please reach out.
Thank you.
Hello @NTolani
Use the following workarounds -
mongodb://<accountname>.mongo.cosmos.azure.com:10255/?ssl=true&replicaSet=globaldb&authSource=admin
Hope this helps - please appreciate by leaving a Kudos or accepting as a Solution to help others!
Power BI Desktop cannot use gateway connections directly for Azure Cosmos DB (Mongo API). To connect:
MongoDB Connector / ODBC – Install the Mongo BI Connector or ODBC driver, then connect using your account name as username and key as password.
Intermediate Layer – Pull data via Azure Data Factory or Azure Function into Azure SQL Database or Data Lake, then connect Power BI Desktop to that source.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.