Forum Discussion
Connecting Azure Power BI Embedded to MongoDB
I need to connect MongoDB to Azure Power BI Embedded (on Cloud), i am able to connect MongoDB to Power BI Desktop. How to connect to MongoDB, deployed on Azure VM, to Azure Power BI Embedded (on Cloud). So that i can embed the reports in applications.
Please let me know if there are any suggesstions?
It will be of great help.
- Anonymous2 years ago
Hi, Manideep1212
According to your description, you want to use Power BI to connect to MongoDB deployed on Azure VM and finally to Azure Power BI Embedded. you can try the following approaches.
1.Since direct connection between MongoDB on Azure VM and Power BI Embedded is not supported natively, the recommended approach is to synchronize MongoDB data to Azure Cosmos DB using Azure Data Factory.Azure Cosmos DB provides fully compatible MongoDB data with the MongoDB API.
Cosmos DB: Introduction/Overview - Azure Cosmos DB for MongoDB | Microsoft Learn2. Once the data is in Azure Cosmos DB, you can easily connect to Power BI Desktop using the Azure Cosmos DB connector.
Related link: Power BI tutorial for Azure Cosmos DB | Microsoft Learn
3. After you create reports in Power BI Desktop, publish them to the Power BI Services workspace. To embed these reports into an application, follow the steps outlined in Embedding Power BI content into a customer's application.
Embed Power BI content: Embed content in your Power BI embedded analytics application for your organization - Power BI | Microsoft Learn
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
1 Reply
- AnonymousNot applicable
Hi, Manideep1212
According to your description, you want to use Power BI to connect to MongoDB deployed on Azure VM and finally to Azure Power BI Embedded. you can try the following approaches.
1.Since direct connection between MongoDB on Azure VM and Power BI Embedded is not supported natively, the recommended approach is to synchronize MongoDB data to Azure Cosmos DB using Azure Data Factory.Azure Cosmos DB provides fully compatible MongoDB data with the MongoDB API.
Cosmos DB: Introduction/Overview - Azure Cosmos DB for MongoDB | Microsoft Learn2. Once the data is in Azure Cosmos DB, you can easily connect to Power BI Desktop using the Azure Cosmos DB connector.
Related link: Power BI tutorial for Azure Cosmos DB | Microsoft Learn
3. After you create reports in Power BI Desktop, publish them to the Power BI Services workspace. To embed these reports into an application, follow the steps outlined in Embedding Power BI content into a customer's application.
Embed Power BI content: Embed content in your Power BI embedded analytics application for your organization - Power BI | Microsoft Learn
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum