Forum Discussion
Anonymous
4 years agoNot applicable
Refresh dataset with API and failure notification
Hello. I'm setting up execution of Power BI report refreshes with API calls. Everything is fine, but one thing. I can not understand who is the recipient of failure notification when i set noti...
Anonymous
4 years agoNot applicable
There is everything fine with mail.
Most probably i don't have email delivered because service user for execution of API requests has been created with Active Directory, not with https://dev.powerbi.com/Apps
Even if i create user with https://dev.powerbi.com/Apps, the only one user, who created service principal will know, that there is something wrong with refresh, not the dataset owner.
So for now this feature is not mature enough to refresh datasets in real world.
Regards,
Daniil.
lbendlin
4 years agoSuper User
try this:
$request = @{
"notifyOption" = "MailOnFailure"
}