Open Ariel044 opened 5 years ago
I would suggest in you PowerShell Script you can run the function Send-MailMessage
at the end of your script.
Reference: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage
You can also add to $Body following:
{ "notifyOption": "MailOnFailure"
}
I successfully ran PowerShell script for calling the Power BI REST APIs following this instruction from Github. https://github.com/Azure-Samples/powerbi-powershell
Does somebody know a way to send an email alert when the process above finish? Like sending out an alert of the result of the refreshing. Please help!