The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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?
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?
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
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.
How do you know that the email notification is no longer working?
Because I'm no longer receiving emails. 🙂
Understand, but has the refresh actually completed?
Yes!
If you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/