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

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

Reply
Anonymous
Not applicable

How to get the status of last Power BI data flow refresh using Web activity in Azure Data Factory Pi

I want to sync dta flow and data set refresh in Azure Data Factory Pipeline i am using web activity. I have successfully refreshed power bi data flow from web activity now i need to get the refresh status and if it is "Complete" than i would like to refresh the data set also. But i am getting the error in screenshot when i try to get the refresh status of data flow, the confusing thing is when i get the refresh status using python script everything works fine.

 

screenshot (1).jpg

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous,

AFAIK, current power bi not able to configure conditional refresh based on other datasets/dataflows status.
I'd like to suggest you take a look at power bi automate, then you can create an MS flow with triggers that traced dataset status and refresh it based on specific conditions.

Power Automate and Power BI 

Refresh your Power BI dataset using Microsoft Flow 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous 

The only thing i can not figure out how to trigger a flow when a data flow is refreshed successfully?

Hello @Anonymous 

 

Microsoft Automate is yet upgrading, there is no such flow which can trigger from the refresh of the dataflow but thinking of the workaround we can create a Flow in Power Automate Which can trigger as the data is updated in SQL and your dataset is set to refresh automatically!!

 

I may think of another workaround of this doesn't suits your requirement, let me know!

 

Thanks

Nimai Ahluwalia

 

https://www.linkedin.com/in/nimai-ahluwalia-69b272167

Anonymous
Not applicable

Hi @Nimai123 
There is a way if you create a custom connector expalined here, you can trigger dataflow refesh from MS Flow. Also set the flag to receive an email on completion. Than create a flow which will trigger after the email is received on completion of dataflow refresh to kick off the dataset refresh.

Anonymous
Not applicable

HI @Anonymous,

Power bi rest API existed some functions to get the data source status, you can use ms flow to trace them and send a notice if it refreshes recently.

Call REST API From Microsoft FLOW 

Capacities - Get Refreshable For Capacity 

Datasets - Get Refresh History In Group 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors