<?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: PBI Embedded App Owns Data - Export Data from visual to Excel fails with 403 Forbidden error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/687736#M19351</link>
    <description>&lt;P&gt;In my case the issue was caused by using Service Principal account. According to the support, this option has been in preview and will be GA sometime in May.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2019 14:34:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-09T14:34:56Z</dc:date>
    <item>
      <title>PBI Embedded App Owns Data - Export Data from visual to Excel fails with 403 Forbidden error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/639293#M18731</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My team is building a web app with embedded Power BI reports using the app-owns-data method with service principal authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One key feature for our users is the ability export data from a visual to Excel. Clicking the &lt;EM&gt;ellipsis&lt;/EM&gt; &amp;gt; &lt;EM&gt;Export data&lt;/EM&gt; function on a visual displays the Export Data dialog box, but when the "Excel" option is chosen, the resulting file is not downloaded to the browser. Note the "CSV" option does work as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;F12 devtools indicate the service endpoint (&lt;SPAN&gt;&lt;A href="https://wabi-canada-central-redirect.analysis.windows.net/export/xlsx)&amp;nbsp;" target="_blank" rel="noopener"&gt;https://wabi-canada-central-redirect.analysis.windows.net/export/xlsx)&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;returns a 403 Forbidden error with response message "API is not accessible for application".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone on the forum advise what the issue is here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Craig&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 12:26:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/639293#M18731</guid>
      <dc:creator>khregs</dc:creator>
      <dc:date>2019-03-07T12:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: PBI Embedded App Owns Data - Export Data from visual to Excel fails with 403 Forbidden error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/645492#M18813</link>
      <description>&lt;P&gt;Note that exporting to Excel works perfectly well from the demo app shown here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://fleetdemoapp.azurewebsites.net/" target="_self"&gt;https://fleetdemoapp.azurewebsites.net/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 17:43:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/645492#M18813</guid>
      <dc:creator>khregs</dc:creator>
      <dc:date>2019-03-14T17:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: PBI Embedded App Owns Data - Export Data from visual to Excel fails with 403 Forbidden error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/681674#M19275</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have same issue. If I authenticate as a user I can do both. As a service principal, only csv works. The difference in the way how it does it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wabi-canada-central-redirect.analysis.windows.net/export/xlsx" target="_blank"&gt;https://wabi-canada-central-redirect.analysis.windows.net/export/xlsx&lt;/A&gt;&lt;BR /&gt;for excel and this one for csv&lt;BR /&gt;&lt;A href="https://wabi-canada-central-redirect.analysis.windows.net/explore/querydata" target="_blank"&gt;https://wabi-canada-central-redirect.analysis.windows.net/explore/querydata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect that my service principal is missing some permissions but can't figure out which one.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 14:53:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/681674#M19275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-01T14:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: PBI Embedded App Owns Data - Export Data from visual to Excel fails with 403 Forbidden error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/687736#M19351</link>
      <description>&lt;P&gt;In my case the issue was caused by using Service Principal account. According to the support, this option has been in preview and will be GA sometime in May.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 14:34:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/687736#M19351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-09T14:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: PBI Embedded App Owns Data - Export Data from visual to Excel fails with 403 Forbidden error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/687743#M19352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies for not replying back sooner...&lt;/P&gt;&lt;P&gt;Yes! My team just got back to looking at this problem last week and we were able to make it work by removing the Service Principal authentication and using Master User method instead. Not ideal, but at least it works.&lt;/P&gt;&lt;P&gt;Thanks for relaying the news that Service Principal will be GA later this month. Will keep my eyes open for the announcement.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Craig&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 14:43:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/687743#M19352</guid>
      <dc:creator>khregs</dc:creator>
      <dc:date>2019-05-09T14:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: PBI Embedded App Owns Data - Export Data from visual to Excel fails with 403 Forbidden error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/1010115#M22975</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/113599"&gt;@khregs&lt;/a&gt;&amp;nbsp;/&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is because you are trying to call some Reports/Dashboards that are in&amp;nbsp;&lt;STRONG&gt;My Workspace&lt;/STRONG&gt;&amp;nbsp;using the SPN autentication. Currently this is the known limiation for SPN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal#considerations-and-limitations" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal#considerations-and-limitations&lt;/A&gt;&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="Capture.JPG" style="width: 962px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/253350i07095D3C289FE467/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to use Master account approach in this kind of situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 14:09:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/1010115#M22975</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2020-04-06T14:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: PBI Embedded App Owns Data - Export Data from visual to Excel fails with 403 Forbidden error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/1010630#M22981</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I forgot about this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First, the reports in question were not in My Workspace, but this is good advice for anyone else who stumbles across this thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, the Excel export functionality has been working as expected with SP auth for a while now. I think the issue fixed iteself last May when SP auth went to GA status. Can't remember specifics now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 16:55:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PBI-Embedded-App-Owns-Data-Export-Data-from-visual-to-Excel/m-p/1010630#M22981</guid>
      <dc:creator>khregs</dc:creator>
      <dc:date>2020-04-06T16:55:22Z</dc:date>
    </item>
  </channel>
</rss>

