<?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: Export to file api - Forbidden in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1916861#M30119</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please check whether it hit any of following limitations:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The report you're exporting must reside on a &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-capacity" target="_self"&gt;&lt;STRONG&gt;Premium or Embedded capacity&lt;/STRONG&gt;&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;The dataset of the report you're exporting must reside on a &lt;STRONG&gt;Premium&lt;/STRONG&gt; or &lt;STRONG&gt;Embedded capacity.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;For public preview, the number of Power BI exports per hour is limited to 50 per capacity. An export refers to exporting a single visual or a report page with or without bookmarks, and doesn't include exporting paginated reports.&lt;/LI&gt;
&lt;LI&gt;Exported reports cannot exceed a file size of 250 MB.&lt;/LI&gt;
&lt;LI&gt;When exporting to .png, sensitivity labels are not supported.&lt;/LI&gt;
&lt;LI&gt;The number of exports (single visuals or report pages) that can be included in an exported report is 50 (this doesn't include exporting paginated reports). If the request includes more exports, the API returns an error and the export job is canceled.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/consumer/end-user-bookmarks#personal-bookmarks" data-linktype="relative-path" target="_blank"&gt;Personal bookmarks&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://powerbi.microsoft.com/blog/announcing-persistent-filters-in-the-service/" data-linktype="external" target="_blank"&gt;persistent filters&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;are not supported.&lt;/LI&gt;
&lt;LI&gt;The Power BI visuals listed below are not supported. When a report containing these visuals is exported, the parts of the report that contain these visuals will not render, and will display an error symbol.
&lt;UL&gt;
&lt;LI&gt;Uncertified Power BI visuals&lt;/LI&gt;
&lt;LI&gt;R visuals&lt;/LI&gt;
&lt;LI&gt;PowerApps&lt;/LI&gt;
&lt;LI&gt;Python visuals&lt;/LI&gt;
&lt;LI&gt;Visio&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 08:19:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-23T08:19:33Z</dc:date>
    <item>
      <title>Export to file api - Forbidden</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1910494#M30063</link>
      <description>&lt;P&gt;There seems to be some issues with the ExportToFileInGroupAsync. I have followed the documentation provided on the docs pages, and verified that all steps are OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running the code with service principal, and the service principal has been added to an AD group which has Administrator access to the workspace where the report I want to generate exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;BR /&gt;var export = await pbiClient.Reports.ExportToFileInGroupAsync(groupId, reportId, exportRequest);&lt;/P&gt;&lt;P&gt;Error code:&lt;BR /&gt;Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'Forbidden'&lt;/P&gt;&lt;P&gt;To validate that I actually have access to the PowerBI service I have tried to run var reports = await pbiClient.Reports.GetReportsInGroupAsync(groupId); and verified that I can retrieve a list of the reports I try to access. This works fine without any issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide some guidance on this.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jun 2021 20:17:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1910494#M30063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-20T20:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file api - Forbidden</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1916140#M30114</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Premium Per User (PPU) is not supported. Please refer the content in the following links, hope they can help you resolve the problem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Invalid-Status-Code-Forbidden-after-client-Dashboards/m-p/323880" target="_self"&gt;&lt;STRONG&gt;Invalid Status Code Forbidden after client.Dashboards.GenerateTokenInGroupAsync&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/PowerBIClient-Forbidden-issue/td-p/246074" target="_self"&gt;&lt;STRONG&gt;&lt;SPAN&gt;PowerBIClient Forbidden issue&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 02:48:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1916140#M30114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-23T02:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file api - Forbidden</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1916325#M30116</link>
      <description>&lt;P&gt;I'm using a service principal so no license involved. Shouldn't this API be available on a developer capacity aswell?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The docs says to use either a master user or a service principal to authenticate.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 04:51:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1916325#M30116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-23T04:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file api - Forbidden</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1916861#M30119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please check whether it hit any of following limitations:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The report you're exporting must reside on a &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-capacity" target="_self"&gt;&lt;STRONG&gt;Premium or Embedded capacity&lt;/STRONG&gt;&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;The dataset of the report you're exporting must reside on a &lt;STRONG&gt;Premium&lt;/STRONG&gt; or &lt;STRONG&gt;Embedded capacity.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;For public preview, the number of Power BI exports per hour is limited to 50 per capacity. An export refers to exporting a single visual or a report page with or without bookmarks, and doesn't include exporting paginated reports.&lt;/LI&gt;
&lt;LI&gt;Exported reports cannot exceed a file size of 250 MB.&lt;/LI&gt;
&lt;LI&gt;When exporting to .png, sensitivity labels are not supported.&lt;/LI&gt;
&lt;LI&gt;The number of exports (single visuals or report pages) that can be included in an exported report is 50 (this doesn't include exporting paginated reports). If the request includes more exports, the API returns an error and the export job is canceled.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/consumer/end-user-bookmarks#personal-bookmarks" data-linktype="relative-path" target="_blank"&gt;Personal bookmarks&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://powerbi.microsoft.com/blog/announcing-persistent-filters-in-the-service/" data-linktype="external" target="_blank"&gt;persistent filters&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;are not supported.&lt;/LI&gt;
&lt;LI&gt;The Power BI visuals listed below are not supported. When a report containing these visuals is exported, the parts of the report that contain these visuals will not render, and will display an error symbol.
&lt;UL&gt;
&lt;LI&gt;Uncertified Power BI visuals&lt;/LI&gt;
&lt;LI&gt;R visuals&lt;/LI&gt;
&lt;LI&gt;PowerApps&lt;/LI&gt;
&lt;LI&gt;Python visuals&lt;/LI&gt;
&lt;LI&gt;Visio&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 08:19:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-api-Forbidden/m-p/1916861#M30119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-23T08:19:33Z</dc:date>
    </item>
  </channel>
</rss>

