Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.