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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
stevedodd
Regular Visitor

Enhanced API - Dataset Refresh - Subscription doesn't send!

Hi All,

 

I'm kicking off dataset refreshes using the Enhanced (asynchronous) API.

 

Enhanced refresh with Power BI REST API - Power BI | Microsoft Docs

 

URL:

 

Body:

{"type":"Full","commitMode":"transactional","retryCount":1,"applyRefreshPolicy":true,"notifyOption":"NoNotification"}

 

The dataset successfully refreshes:

stevedodd_0-1662628098712.png

 

And I have a subscription setup to send when dataset is refreshed:

stevedodd_1-1662628191103.png

 

The dataset has not been called by any other process that day - which hopefully rules out the 'Once per day' limitation being the issue.

 

No subscription email ever sends - but the dataset is definitely updating successfully. We get subscriptions from scheduled refreshes absolutely fine. When amending the body to just {"notifyOption":"NoNotification"} in order to utilise the standard (synchronous) API, the subscription sends successsfully as well!

 

What am I missing about the enhanced API? Are there any admin settings that need to be enabled? Can't see anything from MSFT documentation or questions around this.

 

All help appreciated!

 

Thanks in advance,

Steve

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @stevedodd ,

According to the description in the following official documentation, notifyOption is not required and must be excluded from the request body for enhanced refresh.

Datasets - Refresh Dataset In Group

yingyinr_0-1662716940558.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for your reply - I've tried without the notifyOption parameter but it does not solve the issue unfortunately.

 

It is a bit puzzling as to why it appears to be listed as a limitation - it doesn't stop the Enhanced refresh from running, so doesn't seem like a limitation at all! I am using a premium capacity (P1).

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors