Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Fabric update to learn about new features.