<?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 Paginated Report REST API Export to PDF with PPU in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3084808#M41297</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello everyone,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am currently going in circles with the usage of the API, PPU, and official documentation.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I have a paginated report with parameters that I want to export to pdf.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The process is going to be that I get a PDF report for each parameter (f.e: Projects A, B, and so on).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;What I know/have:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The REST API needs the&lt;/FONT&gt; &lt;FONT face="andale mono,times"&gt;groupID&lt;/FONT&gt; &lt;FONT face="arial,helvetica,sans-serif"&gt;and th&lt;/FONT&gt;e &lt;FONT face="andale mono,times"&gt;reportID&amp;nbsp;&lt;FONT face="arial,helvetica,sans-serif"&gt;the report itself is in a workspace with PPU which I have.&lt;BR /&gt;The try me function always yields 403.&lt;BR /&gt;In a training video from MS, I saw that calling the API would result in a PDF.&lt;BR /&gt;I now am quite confused about the asynchronous process of rendering the pdf first.&lt;BR /&gt;- Is this a requirement for my purpose? &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;- And Is there a best practice to achieve this?&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;For me, it seems like there is some misleading information in the documentation itself with the sectioning.&amp;nbsp;&lt;BR /&gt;Some docs I read were part of general PowerBI but some were part of PowerBI Embedded(which I don't want).&lt;BR /&gt;F.e: From &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file" target="_self"&gt;[1] REST API&lt;/A&gt;&amp;nbsp; I get the limitations here &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#considerations-and-limitations" target="_self"&gt;[2]&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;or &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#using-the-api" target="_self"&gt;[3] Pooling&lt;/A&gt; is sectioned under Embedded.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;BR /&gt;I am aware of the 5-minute call limitation, does this mean I need to wait after each call or just the final export call?&lt;BR /&gt;So my understanding right now is that, if I have to pool first then I would have to wait 5 minutes to then check the status wait again, and then can export my PDF.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;BR /&gt;I don't know what I should try next and would appreciate any helpful advice.&lt;BR /&gt;&lt;BR /&gt;Bests Dennis&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Links:&lt;BR /&gt;[1]&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file&lt;/A&gt;&lt;BR /&gt;[2] &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#considerations-and-limitations" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-to#considerations-and-limitations&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;[3] &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#using-the-api" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#using-the-api&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2023 10:31:01 GMT</pubDate>
    <dc:creator>dehoffmann</dc:creator>
    <dc:date>2023-02-17T10:31:01Z</dc:date>
    <item>
      <title>Paginated Report REST API Export to PDF with PPU</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3084808#M41297</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello everyone,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am currently going in circles with the usage of the API, PPU, and official documentation.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I have a paginated report with parameters that I want to export to pdf.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The process is going to be that I get a PDF report for each parameter (f.e: Projects A, B, and so on).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;What I know/have:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The REST API needs the&lt;/FONT&gt; &lt;FONT face="andale mono,times"&gt;groupID&lt;/FONT&gt; &lt;FONT face="arial,helvetica,sans-serif"&gt;and th&lt;/FONT&gt;e &lt;FONT face="andale mono,times"&gt;reportID&amp;nbsp;&lt;FONT face="arial,helvetica,sans-serif"&gt;the report itself is in a workspace with PPU which I have.&lt;BR /&gt;The try me function always yields 403.&lt;BR /&gt;In a training video from MS, I saw that calling the API would result in a PDF.&lt;BR /&gt;I now am quite confused about the asynchronous process of rendering the pdf first.&lt;BR /&gt;- Is this a requirement for my purpose? &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;- And Is there a best practice to achieve this?&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;For me, it seems like there is some misleading information in the documentation itself with the sectioning.&amp;nbsp;&lt;BR /&gt;Some docs I read were part of general PowerBI but some were part of PowerBI Embedded(which I don't want).&lt;BR /&gt;F.e: From &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file" target="_self"&gt;[1] REST API&lt;/A&gt;&amp;nbsp; I get the limitations here &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#considerations-and-limitations" target="_self"&gt;[2]&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;or &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#using-the-api" target="_self"&gt;[3] Pooling&lt;/A&gt; is sectioned under Embedded.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;BR /&gt;I am aware of the 5-minute call limitation, does this mean I need to wait after each call or just the final export call?&lt;BR /&gt;So my understanding right now is that, if I have to pool first then I would have to wait 5 minutes to then check the status wait again, and then can export my PDF.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;BR /&gt;I don't know what I should try next and would appreciate any helpful advice.&lt;BR /&gt;&lt;BR /&gt;Bests Dennis&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Links:&lt;BR /&gt;[1]&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file&lt;/A&gt;&lt;BR /&gt;[2] &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#considerations-and-limitations" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-to#considerations-and-limitations&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;[3] &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#using-the-api" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#using-the-api&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 10:31:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3084808#M41297</guid>
      <dc:creator>dehoffmann</dc:creator>
      <dc:date>2023-02-17T10:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated Report REST API Export to PDF with PPU</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3086507#M41312</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you need to first understand why you get the 403 error when using TryIt. Does the logged in user have access to the report? Does the response body contain more information for the error reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the 5 minutes limitation for the API, AFAIK it's for the first API which triggers the operation. It's not relevant for the API for polling the status, and for the API for retrieving the result. So you should be able to trigger an export operation once in 5 minutes.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 12:38:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3086507#M41312</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2023-02-19T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated Report REST API Export to PDF with PPU</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3088083#M41337</link>
      <description>&lt;P&gt;Hi, thank you for your answer!&lt;BR /&gt;&lt;BR /&gt;I am still not sure why I got the 403 and the body did not give me any hint, but I managed to comprehend the workflow.&lt;BR /&gt;In the beginning, it was not clear to me that I would have to do all steps one at a time.&lt;BR /&gt;I figured it out&amp;nbsp; but I am now stuck in the final API Call (Get File&amp;nbsp; of Export in Group)&amp;nbsp;&lt;BR /&gt;I get the correct response code 200 and my header says&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;cache-control&lt;/SPAN&gt;: no-store, must-revalidate, no-cache
&lt;SPAN class=""&gt;content-type&lt;/SPAN&gt;: application/pdf
&lt;SPAN class=""&gt;pragma&lt;/SPAN&gt;: no-cache&lt;BR /&gt;&lt;/SPAN&gt;requestid: xxx&lt;/PRE&gt;&lt;P&gt;but instead of an expected pdf download, I get a JSON Body UTF-8 gibberish. Is this the correct behavior of the API? Or is this something where I would have to use some other tools to extract the actual file?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 13:53:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3088083#M41337</guid>
      <dc:creator>dehoffmann</dc:creator>
      <dc:date>2023-02-20T13:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated Report REST API Export to PDF with PPU</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3088220#M41339</link>
      <description>&lt;P&gt;Your code should save the file in the requested format, there's a sample code in "Step 3 - getting the file"&amp;nbsp; here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#step-3---getting-the-file" target="_blank"&gt;Export Power BI embedded analytics paginated reports API - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 14:52:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3088220#M41339</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2023-02-20T14:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated Report REST API Export to PDF with PPU</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3113204#M41568</link>
      <description>&lt;P&gt;Solved it myself.&lt;BR /&gt;Understanding the Pipeline and how to use which API in order with which permission.&lt;BR /&gt;For PDF Export we used Workato.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 07:49:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Paginated-Report-REST-API-Export-to-PDF-with-PPU/m-p/3113204#M41568</guid>
      <dc:creator>dehoffmann</dc:creator>
      <dc:date>2023-03-06T07:49:34Z</dc:date>
    </item>
  </channel>
</rss>

