This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I am successfully using the "Refresh Dataset In Group" API:
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdatasetingroup
To get the access token, I am using grant_type=password, and supplying the user name and password of an AAD account. That AAD account is an "owner" of the registered app making the API call.
In the call to refresh the dataset, I am including the following in the request body:
{
'notifyOption': 'MailOnFailure'
}However, it has happened several times that my API call triggered a dataset refresh, then the dataset refresh failed; and I never received any email notification. Please help!
I have assumed that with the "notifyOption" I used above, if the refresh fails, then it would send an email notification to the user who obtained the access token. Is that the case? The API documentation says "Mail notification options (success and/or failure, or none)," but it does not actually the behavior of the various notify options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.