Forum Discussion
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
- AnonymousPersonAdvocate V
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.
- lbendlinSuper User
In the Power BI service, in the Dataset settings. There you can specify the recipients.
- AnonymousNot 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)
- AnonymousNot applicable
Or you mean some API endpoint that allows to set this setting?
- lbendlinSuper User
Looks like only the dataset owner gets notified for API initiated refreshes.