Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Refresh dataset with API and failure notification

Hello.

 

I'm setting up execution of Power BI report refreshes with API calls.

Everything is fine, but one thing.

I can not understand who is the recipient of failure notification when i set notifyOption to MailOnFailure.

How to customize email address for delivery of such notifications?

 

Thanks in advance.

 

Regards,

Daniil.

19 Replies

  • Has there been any update on this since March 2022?

    I am using a service principal to refresh a dataset with an API call, and never got anything when it failed.

  • In the Power BI service, in the Dataset settings. There you can specify the recipients.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for your response.

      Those recipients are used only in case of scheduled refreshes

       

      Here how it looks:

      And here how refresh log looks

       

      No messages were delivered to Me (Terentyev Daniil)

    • Anonymous's avatar
      Anonymous
      Not applicable

      Or you mean some API endpoint that allows to set this setting?

       

      • lbendlin's avatar
        lbendlin
        Super User

        Looks like only the dataset owner gets notified for API initiated refreshes.