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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Enhanced Power BI REST API refresh not sending out notifications to dataset subscribers

Hi,

 

I've built a power automate flow custom connector using Enhanced refresh with Power BI REST API - Power BI | Microsoft Learn

its refreshing the dataset but then not notifying subscibers of the dataset when the refresh is complete or failed.

 

I've tried including at least one of these fields:

{ "type": "Full", "commitMode": "transactional", "maxParallelism": 2, "retryCount": 2 }

and also with/ without 

"notifyOption": "MailOnCompletion"
 
If I use the regular API without a json body, the dataset refreshes and an email notification is sent out on refresh completed to subscribers of the datset.
 
I'm wanting to us the enhanced API so that we also have the option od using cancel refresh too. I'm on the understanding that to cancel a dataset refresh you have to use the enhanced version of the PBI REST API.
 
I keep finding open threads like this notifyOption on rest API doesn't work - Microsoft Power BI Community where this seems to be a long standing issue, but no solution.
 
Does anyone know if its a known issue with the Enhanced API? Or have a solution?
The datasets getting refreshed are in a shared workspace and we have PBI Pro liscence. 
 
Thanks

 

2 REPLIES 2
Anonymous
Not applicable

Hi @JAnder 

 

Thanks for your reply!

 

The notifications would normally go out to any one subscribed to the dataset, usually just a users email address. This configuration works for refreshing via the regular PBI API refresh.

 

In the refresh examples below, single user subscribers to a dataset are receiving email notifications on refresh completion Via Api but not Via Enhanced Api.

 

cbks_0-1667554236495.png

 

JAnder
Helper II
Helper II

I haven't tried your exact scenario, but certainly notification on scheduled refreshes is not supported while using as service principal. That may be related to your problem

 

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-refresh-schedule-in-group

 

The notification option on termination of a scheduled refresh. Service principals only support the NoNotification value.

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.