Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Not applicable

Use API to set refresh failure notification email address

I want to send an update to a specific email address if a data set from anyone within my team fails their scheduled refresh. For now, only the report owner receives these messages, but this is inconvenient if that person is not in the office. Hence, I created a generic email that my whole team has access to.

However, I want to know if I can automatically update all data sets within a workspace to send refresh failure notification to this email address instead of the data set owner. I know I can enable/disable the email notifications, but I do not know if I can set these notifications to a specific email address.



Not applicable

I was hoping to get this information as well.


I wrote a powershell script that captures the state of the datasets so that if they change at a later date, we can roll it back. However, Refresh Failure Notifications values are not returned from the Power BI API's GET "Scheduled Refresh" requests, and there's no token in the API for sending them via PATCH.


We need a way to retrieve and assign emails that appear for "These Contacts" programatically. Is the API documentation incomplete or does this functionality not available yet?


I would like to also chime in and say how helpful it would be to add a way to update/set contacts to be notified on refresh failures in a programmatic way. The Update Refresh Schedule api is very nice but the only thing it seems to leave out is the ability to add contacts. Why is this?

New Member

7 month later I also can't find a way to set the notification email address programatically.

Super User
Super User

Hmm, there are definitely options in and around dataset refreshes in the API but I don't see anything to change the email address being sent to:


You could take over ownership:


You might also check out the new functionality in PowerAutomate:


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi, Is there any news on having the possibility to update the notification email address when a refresh fails?

we're deploying the datasets using a service principal, and it would be nice to set the notification addresses also with an API call, without using some other tools.



Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors