<?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: NotifyOption with Service Principal in Service</title>
    <link>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1327431#M106940</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="159681" data-lia-user-login="stefanik" class="lia-mention lia-mention-user"&gt;stefanik&lt;/a&gt; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As it said MailOnFailure is only avaible for app owner, you could take over ownership:&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #000000; font-family: &amp;amp;quot; segoeui&amp;amp;quot;,&amp;amp;quot;lato&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 10px 0px 0px 0px;"&gt;&lt;A style="background-color: transparent; box-sizing: border-box; color: #666666; text-decoration: underline;" href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/takeoveringroup" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/takeoveringroup&lt;/A&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #000000; font-family: &amp;amp;quot; segoeui&amp;amp;quot;,&amp;amp;quot;lato&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 10px 0px 0px 0px;"&gt;&lt;FONT style="background-color: #ffffff;"&gt;&lt;BR /&gt;Paul Zheng _ Community Support Team&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 02:36:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-27T02:36:22Z</dc:date>
    <item>
      <title>NotifyOption with Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1321456#M106692</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i have many reports published to PowerBI Service that has a service Principal as owner.&lt;/P&gt;&lt;P&gt;It is possible to set an email address into them in order to receive an info when the refresh fails?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried with refreshScedule endpoint and this body:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;{&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;"value":&amp;nbsp;{&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"notifyOption":&amp;nbsp;"MailOnFailure",&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"times":&amp;nbsp;[&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"08:00",&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"09:30",&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"10:00",&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"10:30",&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"11:00",&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"11:30"&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;],&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"enabled":"True"&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But it returns:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"InvalidRequest"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Invalid&amp;nbsp;NotifyOption&amp;nbsp;value&amp;nbsp;'MailOnFailure'&amp;nbsp;for&amp;nbsp;app&amp;nbsp;only&amp;nbsp;owner&amp;nbsp;requests"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thx&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Aug 2020 05:50:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1321456#M106692</guid>
      <dc:creator>stefanik</dc:creator>
      <dc:date>2020-08-25T05:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: NotifyOption with Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1322702#M106735</link>
      <description>&lt;P&gt;Hi. I'm not sure about configuration with API. I can tell you that datasets have one owner and I don't know if a Service Principal can be one. For example it usually is the account that has configurated the gateway for that dataset. You can see that option in Power Bi Service in the same menu I am mentoning below.&lt;/P&gt;
&lt;P&gt;Have you tried the manual way? Go into the dataset logged in Power Bi and schedule refresh options.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;There you can add mails for failures.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P/D If you want to control everything with code you can always try the refresh on demand and set your own code asking for status response and sending mails.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 12:35:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1322702#M106735</guid>
      <dc:creator>ibarrau</dc:creator>
      <dc:date>2020-08-25T12:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: NotifyOption with Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1322930#M106749</link>
      <description>&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;yes, manually it's ok but i need to do it by API because i have tons of reports to configure.&lt;/P&gt;&lt;P&gt;I've build an automatic procedure to publish my "template.pbix" many times (one for each customer), but i'm not able to control the refresh outcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 13:41:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1322930#M106749</guid>
      <dc:creator>stefanik</dc:creator>
      <dc:date>2020-08-25T13:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: NotifyOption with Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1327431#M106940</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="159681" data-lia-user-login="stefanik" class="lia-mention lia-mention-user"&gt;stefanik&lt;/a&gt; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As it said MailOnFailure is only avaible for app owner, you could take over ownership:&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #000000; font-family: &amp;amp;quot; segoeui&amp;amp;quot;,&amp;amp;quot;lato&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 10px 0px 0px 0px;"&gt;&lt;A style="background-color: transparent; box-sizing: border-box; color: #666666; text-decoration: underline;" href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/takeoveringroup" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/takeoveringroup&lt;/A&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #000000; font-family: &amp;amp;quot; segoeui&amp;amp;quot;,&amp;amp;quot;lato&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 10px 0px 0px 0px;"&gt;&lt;FONT style="background-color: #ffffff;"&gt;&lt;BR /&gt;Paul Zheng _ Community Support Team&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 02:36:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/NotifyOption-with-Service-Principal/m-p/1327431#M106940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-27T02:36:22Z</dc:date>
    </item>
  </channel>
</rss>

