<?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: Exporting Power BI reports using APIs and  Power Automate Error 502 in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3215267#M42469</link>
    <description>&lt;P&gt;As is the way, there is no possibility of changing their minds on this one&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2023 09:15:46 GMT</pubDate>
    <dc:creator>DebbieE</dc:creator>
    <dc:date>2023-05-02T09:15:46Z</dc:date>
    <item>
      <title>Exporting Power BI reports using APIs and  Power Automate Error 502</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3200277#M42334</link>
      <description>&lt;P&gt;'We' are trying to export some Power BI reports into Power point&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It was tested successfully using a service user that has Admin access to the workspace where we have the reports&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PowerAutomate.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/905058iFB515C27F7A38C5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="PowerAutomate.png" alt="PowerAutomate.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;We have a solution that changes through time and we don’t know exactly which reports we need to export we need to have a way to dynamically export the reports.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We thought about doing this using a custom connector to iterate through the reports for the group:&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/get-reports-in-group" href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/get-reports-in-group" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/rest/api/power-bi/reports/get-reports-in-group"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/reports/get-reports-in-group&lt;BR /&gt;&lt;BR /&gt;and the calling the export for each of them:&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group&lt;BR /&gt;&lt;BR /&gt;now our issue is that when I build the custom connector to get the reports in group I’m getting a 502 error:&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error 502.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/905062iBC56CBE237457035/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error 502.png" alt="Error 502.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;We are using &lt;STRONG&gt;Basic Authentication&lt;/STRONG&gt; here using the same service user and in theory this is connected&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Has anyone tried to connect to the Power BI APIs above using basic authentication and should this work?&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group"&gt;&lt;STRONG&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group"&gt;&lt;STRONG&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group"&gt;&lt;STRONG&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 14:41:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3200277#M42334</guid>
      <dc:creator>DebbieE</dc:creator>
      <dc:date>2023-04-21T14:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Power BI reports using APIs and  Power Automate Error 502</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3208094#M42388</link>
      <description>&lt;P&gt;502 means internal server error.&amp;nbsp; Either there was an ephemeral issue on the server, or your request is malformed in a way that you are crashing the server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You&amp;nbsp; say that the REST API sandbox tests work?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 00:13:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3208094#M42388</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-27T00:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Power BI reports using APIs and  Power Automate Error 502</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3210776#M42424</link>
      <description>&lt;P&gt;I believe so. Bearing in mind i have put this up for someone elses project work, so I would have to ask for more details&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 08:16:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3210776#M42424</guid>
      <dc:creator>DebbieE</dc:creator>
      <dc:date>2023-04-28T08:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Power BI reports using APIs and  Power Automate Error 502</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3211115#M42431</link>
      <description>&lt;P&gt;I would tell them to reconsider. The whole functionality around exports is rather fragile and not scalable for enterprise use.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 12:00:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3211115#M42431</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-28T12:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Power BI reports using APIs and  Power Automate Error 502</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3215267#M42469</link>
      <description>&lt;P&gt;As is the way, there is no possibility of changing their minds on this one&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 09:15:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exporting-Power-BI-reports-using-APIs-and-Power-Automate-Error/m-p/3215267#M42469</guid>
      <dc:creator>DebbieE</dc:creator>
      <dc:date>2023-05-02T09:15:46Z</dc:date>
    </item>
  </channel>
</rss>

