web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / When power BI dataset ...
Power Automate
Unanswered

When power BI dataset has failed to refresh send a notification on teams using Power Automate.

(0) ShareShare
ReportReport
Posted on by

Needing help with Power automate. I wanted to cover a failure scenario for dataset refresh using flow but flow does not detect any failure. when I do any changes in database to cover a failure scenario it does not run failure component whether it shows failure in Power BI service Refresh History. following is the flow I have made.

 

s1.PNG

 

 

Here is the configuration for success scenario.

s2.PNG

 

Here is the configuration for failure scenario.

s3.PNG

 

Even if there is an error caught in the refresh history, it always leads to success but it should run a failure scenario.

 

s5.PNGs4.PNG

Any Advice would be hugely welcome.

 

 

Categories:
  • sivakrishna Profile Picture
    4 on at

    Hi Bhoomika and All,

     

    Did you got the solution for this? Even I also configured the flow same as you. The flow is just triggering the refresh dataset and sending  the success email. It is not waiting for the dataset refresh to be completed successfully.

     

    I want to send success email only 'when the dataset refreshed successfully'.

    Can any body please help on this?

     

    Thanks,

    Siva Krishna

     

  • tracytran Profile Picture
    144 on at

    @BhoomikaPatel35 @sivakrishna I also ran into this problem. Do you guys find the solution? 

     

     

  • AshDil Profile Picture
    6 on at

    Hi @BhoomikaPatel35 ,

     

    The flow is not checking refresh history in Power bi service, it is checking whether the Refresh a dataset step in the flow in power automate is successful or not.

    Every time when the flow is triggered, Refresh a dataset step is success (you can check green tick on top right corner of it). That is why it is taking Success scenario.

    Regards,

    AshDil.

  • VictorBatista Profile Picture
    2 on at

    Also trying to solve this same problem, but apparently Power Automate isn't able to get dataset metadata or refresh history in order to send the message in teams...


    I've seen Power BI Rest API codes to get that status of the refresh, but I don't know if it is possible to call the Rest API in Power Automate.

  • Sultanista Profile Picture
    2 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard