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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Refresh Dataset in Group Rest API RetryCount Behavior

I have a custom connector using this REST API: Datasets - Refresh Dataset In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 

This is the body definition:

{ "notifyOption": "MailOnFailure",

  "retryCount": 3

}

 

If I leave retryCount as blank, notifyOption sends an email notification. But if retryCount has a value, the email notification is no longer working. Is this the expected behaviour or am I missing something here?

10 REPLIES 10
Anonymous
Not applicable

Update: Microsoft recommended updating the body to script below:

$body = "{
  'notifyOption': 'MailOnFailure',
  'retryCount': 3,
   'applyRefreshPolicy' : 'True',
   'type' : 'Full'
}"

But didn't really work for me. 

Hi!
Is this working now? 

gabrielfonseca
New Member

Hi, @Anonymous 

I think you are already following the other question where I posted what I believe is the problem, but I will share here too. It seems to be a limitation for shared capacities - https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset-in-group#limitations

gabrielfonseca_0-1654021723472.png

 



Anonymous
Not applicable

Hello, @gabrielfonseca


We are on Premium capacity. I've reached out to support and they are also puzzled with the behavior. 

 

Please let us know what they find out.

lbendlin
Super User
Super User

How do you know that the email notification is no longer working?

Anonymous
Not applicable

Because I'm no longer receiving emails. 🙂

Understand, but has the refresh actually completed?

Anonymous
Not applicable

Yes!

If you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.