Forum Discussion

FranMullor_Quol's avatar
FranMullor_Quol
Regular Visitor
6 years ago

MailOnCompletion don´t work in dataflow refreshes

When I refresh a dataflow with Power BI API including in body { "notifyOption": "MailOnCompletition" } or { "notifyOption": "MailOnFailure" } don´t receive the notification via email with dataflow refresh end.

 

However that same procedure works correctly when I refresh dataset via API Power BI 

 

 

6 Replies

  • PBI-BOLA's avatar
    PBI-BOLA
    Frequent Visitor

    For all interested Microsoft has just released some new preview connectors for Power Automate so you can now create flows that address this problem. 

     

    Currently there are two connectors, a trigger "When a dataflow refresh completes" and an action "Refresh a dataflow" both very useful. I've already used tested it to daisy chain my dataflow to dataset refreshes.

     

    https://powerbi.microsoft.com/en-us/blog/announcing-dataflows-power-automate-connector-public-preview/

  • PBI-BOLA's avatar
    PBI-BOLA
    Frequent Visitor

    Apologies for reviving an old thread but was there solution found to this? I'm not receiving completion notifications either.

     

    I want to set up a power automate flow that will automatically refresh a dataset when the dataflow refresh finishes but without an email I have no way to set an accurate trigger (at the moment I'm using a delay of the estimated datflow refresh time in my flow)

  • There is no solution for sending but if there is already an endpoint that can be attacked with power shell to get after the completion of the update of the dataflow directly run the update of dependent datasets.

     

    In addition to Power Shell I have managed to automate this process in power bi by creating a dataset that calls power shell with an R.

     

    I have it documented in my blog but it is in Spanish


    Automatización de las actualizaciones de dataflows y datasets - (powerbisp.com)