Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

notifyOption on rest API doesn't work

Hello,

 

I'm using the Power BI rest API to refresh some dataflows, according to the documentation here: https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/refreshdataflow

 

I populate the groupId, the DataflowID as parameters, and set the body as:

{
	"notifyOption": "MailOnCompletion"
}

 

The objective being to get a notifcation (email) once the refresh is done, wether it's a success or a failure.

 

When I do this, the refresh is triggered as expected, but I never receive the email once it's done. I've tried on Dataflows that voluntary have a fail refresh, or working; with "MailOnCompletion" or "MailOnFailure", but it never worked.

 

I tried on Postman as well, and directly and finally on the "Try it" feature from the documentation, as shown on the screenshot:

2020-07-09 18_03_53-Photos.png

 

Any idea?

Status: New
Comments
v-yuta-msft
Community Support

@bd92 ,

 

I have made a test and could reproduce this issue, I will report internally and update here when I get any response.

 

Regards,

Jimmy Tao

nicg
Advocate II

I'm having the same problem.

nicg
Advocate II

@v-yuta-msft,

 

Any news? Will there be a fix for this? Thanks.

bd92
Frequent Visitor

Hello,

I tested again, and I still didn't get the email.

 

Any news on this?

 

Thank you

jaymichael78
Regular Visitor

@v-yuta-msft 

We are having the same issue.

Thanks, 

Jay

Anonymous
Not applicable

We are having this issue also.

Anonymous
Not applicable

Having the similar trouble. Can't find a way to send notification in case of report refresh failure