Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Specify email on notifyOptions: Mailonfailure

Hello, I am wondering if I can specify the email that gets the alert when I specify "notifyOptions: MailonFailure".

 

Currently, I am using PowerShell to automatically refresh my PowerBI datasets.  I am setting this up for someone else so I do not want the email notifications.  Is there a way to specify someone else's email for this option?

  • Hi Anonymous 

     

    You can add in additional users on the dataset list when you configure the scheduled refresh

     

3 Replies

  • Hi Anonymous 

     

    You can add in additional users on the dataset list when you configure the scheduled refresh

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks so much for the reply Gilbert!

       

      Quick question, even if my update is through a PowerShell script, will specifying emails here will still work?

       

      Also, is there a way to specify the emails directly in the PowerShell script?

      • GilbertQ's avatar
        GilbertQ
        Super User
        Hi there

        Yes once you put in the specified emails they will remain during a refresh cycle.

        Currently I am not aware of any way to do this via PowerShell as far as I know.