<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Enhanced Power BI REST API refresh not sending out notifications to dataset subscribers in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-Power-BI-REST-API-refresh-not-sending-out-notifications/m-p/2885171#M39569</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/322179"&gt;@JAnder&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The notifications would normally go out to any one subscribed to the dataset, usually just a users email address. This configuration works for refreshing via the regular PBI API refresh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the refresh examples below, single user subscribers to a dataset are receiving email notifications on refresh completion Via Api but not Via Enhanced Api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cbks_0-1667554236495.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/817010i4F27E1576BDDFA2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cbks_0-1667554236495.png" alt="cbks_0-1667554236495.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2022 09:32:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-04T09:32:22Z</dc:date>
    <item>
      <title>Enhanced Power BI REST API refresh not sending out notifications to dataset subscribers</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-Power-BI-REST-API-refresh-not-sending-out-notifications/m-p/2883212#M39553</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've built a power automate flow custom connector using&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh" target="_blank" rel="noopener"&gt;Enhanced refresh with Power BI REST API - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;its refreshing the dataset but then not notifying subscibers of the dataset when the refresh is complete or failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried including at least one of these fields:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{ &lt;/SPAN&gt;&lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"Full"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;"commitMode"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"transactional"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;"maxParallelism"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;"retryCount"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;2 }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and also with/ without&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"notifyOption"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"MailOnCompletion"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If I use the regular API without a json body, the dataset refreshes and an email notification is sent out on refresh completed to subscribers of the datset.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I'm wanting to us the enhanced API so that we also have the option od using cancel refresh too. I'm on the understanding that to cancel a dataset refresh you have to use the enhanced version of the PBI REST API.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I keep finding open threads like this&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Issues/notifyOption-on-rest-API-doesn-t-work/idi-p/1212502" target="_blank" rel="noopener"&gt;notifyOption on rest API doesn't work - Microsoft Power BI Community&lt;/A&gt;&amp;nbsp;where this seems to be a long standing issue, but no solution.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Does anyone know if its a known issue with the Enhanced API? Or have a solution?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The datasets getting refreshed are in a shared workspace and we have PBI Pro liscence.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 12:25:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-Power-BI-REST-API-refresh-not-sending-out-notifications/m-p/2883212#M39553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-08T12:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced Power BI REST API refresh not sending out notifications to dataset subscribers</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-Power-BI-REST-API-refresh-not-sending-out-notifications/m-p/2883963#M39558</link>
      <description>&lt;P&gt;I haven't tried your exact scenario, but certainly notification on scheduled refreshes is not supported while using as service principal. That may be related to your problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-refresh-schedule-in-group" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-refresh-schedule-in-group&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;The notification option on termination of a scheduled refresh. Service principals only support the NoNotification value.&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Nov 2022 21:45:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-Power-BI-REST-API-refresh-not-sending-out-notifications/m-p/2883963#M39558</guid>
      <dc:creator>JAnder</dc:creator>
      <dc:date>2022-11-03T21:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced Power BI REST API refresh not sending out notifications to dataset subscribers</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-Power-BI-REST-API-refresh-not-sending-out-notifications/m-p/2885171#M39569</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/322179"&gt;@JAnder&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The notifications would normally go out to any one subscribed to the dataset, usually just a users email address. This configuration works for refreshing via the regular PBI API refresh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the refresh examples below, single user subscribers to a dataset are receiving email notifications on refresh completion Via Api but not Via Enhanced Api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cbks_0-1667554236495.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/817010i4F27E1576BDDFA2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cbks_0-1667554236495.png" alt="cbks_0-1667554236495.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 09:32:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-Power-BI-REST-API-refresh-not-sending-out-notifications/m-p/2885171#M39569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-04T09:32:22Z</dc:date>
    </item>
  </channel>
</rss>

