Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
anilelmastasi
Super User
Super User

Power BI Report From Azure CLI

Hello,

 

I have a script that we run in Azure CLI to export data. We want to automatically retrieve this data, create a data source in Power BI, and build a dynamic report. However, when using the Power BI connector, we cannot pull data from two different tenants into the same dataset in Azure.

I would like your support in evaluating possible options and selecting the best-practice approach.

2 REPLIES 2
abhivic_fabric
New Member

I’m not familiar with using Azure CLI for two different tenants, but your requirement can be addressed using Power Automate.

 

You can use the "Run query against a dataset" option in Power Automate and direct the output to your desired location, which can then be used as a source for the dynamic PBI report. This method supports multiple tenants simultaneously.

 

Feel free to reach out if you need further assistance.

Anonymous
Not applicable

Hi @anilelmastasi ,

 

You seem to want to connect to Azure Database in Power BI. You can refer to below offical blogs.

For reference:

Azure and Power BI - Power BI | Microsoft Learn

Learn how to connect to Azure Analysis Services with Power BI | Microsoft Learn

Use data from Azure Data Explorer in Power BI - Azure Data Explorer | Microsoft Learn

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.