Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

: Power Automate flow that sends mail AFTER power bi refreshes

Got a simple flow set up:


1. Data appears in sharepoint folder

2. Power BI refresh iniated

3. Delay 15 minutes (this is to give PBI time to refresh)

4. Send mail to users


Today I received some complaints because the mail went out while the data hadn't been refreshed yet (i.e. people received the mail to soon)


Is there a way to replace step 3 by a step that checks for "received confirmation refresh ended successfully"?

Frequent Visitor

hi @lbendlin 

can you please elaborate on your point?

How can we use REST API in power automate to send email 'AFTER' our data gets refreshed.I have used this flowI have used this flow

Not sure how much more there is to say - call the API I mentioned (for example every five minutes) until the top entry of the resulting JSON has an "endTime'  value and a status that (hopefully) says "success".


This is different from dataflows where Power Automate can actually be triggered by a dataflow refresh completion directly.

Super User
Super User

Absolutely.  In Power Automate periodically poll the Power BI API to inquire about the dataset refresh status.  

(or the premium equivalent)


The refresh is complete when the first returned entry has an endTime value and a status other than "unknown"

Hi @lbendlin 
i am trying to do what is suggested in the link : ttps://  

I am using HTTP request after the Refresh a dataset step in power automate

method as GET
however it fails saying " Action 'HTTP' failed 

Do i need to mention any other details in HTTP ?

please guide . Thanks in advance

yes, you need to authenticate.  Look at the sandbox example. Then decide how your auth process works and provide the details accordingly.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors