<?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 Enhanced refresh with the Power BI REST API - RequestId not valid in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4071536#M54462</link>
    <description>&lt;P&gt;hi community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I'm creating a flow to perform a Power BI Enhanced dataset refresh.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;According to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;, after doing the POST to refresh the dataset, the RequestId that is returned from the POST can be used to check the status of that refresh.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I do these steps in Postman, it works ok. I can use the RequestID I get from the POST to then do a GET (as described&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh#get-refreshesrequestid" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the article).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I do the same steps in Power Automate (using the same authentication etc), the RequestID I get from the POST is not recognized when trying to the GET Refresh history in the 2nd step.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Would anyone know why this could be?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Many thanks&lt;/DIV&gt;&lt;DIV&gt;Bart&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;(also posted this in the Power Automate community&amp;nbsp;&lt;A href="https://community.powerplatform.com/forums/thread/details/?threadid=7aadf48c-3b4f-ef11-a316-000d3a543783" target="_blank" rel="noopener"&gt;Enhanced refresh with the Power BI REST API - RequestId not valid (powerplatform.com)&lt;/A&gt;)&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 14:19:36 GMT</pubDate>
    <dc:creator>BartVW</dc:creator>
    <dc:date>2024-07-31T14:19:36Z</dc:date>
    <item>
      <title>Enhanced refresh with the Power BI REST API - RequestId not valid</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4071536#M54462</link>
      <description>&lt;P&gt;hi community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I'm creating a flow to perform a Power BI Enhanced dataset refresh.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;According to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;, after doing the POST to refresh the dataset, the RequestId that is returned from the POST can be used to check the status of that refresh.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I do these steps in Postman, it works ok. I can use the RequestID I get from the POST to then do a GET (as described&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh#get-refreshesrequestid" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the article).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I do the same steps in Power Automate (using the same authentication etc), the RequestID I get from the POST is not recognized when trying to the GET Refresh history in the 2nd step.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Would anyone know why this could be?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Many thanks&lt;/DIV&gt;&lt;DIV&gt;Bart&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;(also posted this in the Power Automate community&amp;nbsp;&lt;A href="https://community.powerplatform.com/forums/thread/details/?threadid=7aadf48c-3b4f-ef11-a316-000d3a543783" target="_blank" rel="noopener"&gt;Enhanced refresh with the Power BI REST API - RequestId not valid (powerplatform.com)&lt;/A&gt;)&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 14:19:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4071536#M54462</guid>
      <dc:creator>BartVW</dc:creator>
      <dc:date>2024-07-31T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced refresh with the Power BI REST API - RequestId not valid</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4073116#M54475</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/260122"&gt;@BartVW&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can refer the following links to refresh Power BI dataset:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/refresh-your-power-bi-dataset-using-microsoft-flow/" target="_blank"&gt;Refresh your Power BI dataset using Microsoft Flow | Microsoft Power BI Blog | Microsoft Power BI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.process.st/how-to/refresh-power-bi-dataset-using-power-automate/" target="_blank"&gt;How to Refresh Power BI Dataset Using Power Automate&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_0-1722501104973.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1142926i0EAB086B45F81530/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_0-1722501104973.png" alt="vyiruanmsft_0-1722501104973.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 08:32:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4073116#M54475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-01T08:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced refresh with the Power BI REST API - RequestId not valid</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4073130#M54477</link>
      <description>&lt;P&gt;hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your link describes the normal (non-enhanced) dataset refresh. The problem is that this only triggers the refresh, but doesn't provide any feedback on whether it was succesful or not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The enhanced data set refresh allows to do this by doing the process in 2 steps: first call the dataset refresh api using POST and including a body to trigger it as an enhanced refresh operation, and then call the data set refresh api using GET to check the status of the refresh, using the requestId from the first step (as described in the documentation link I provided),&amp;nbsp; but for some reason it doesn't work as documented in Power Automate (and does work OK in Postman).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So hope you or anyone else has an idea how to resolve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 08:40:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4073130#M54477</guid>
      <dc:creator>BartVW</dc:creator>
      <dc:date>2024-08-01T08:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enhanced refresh with the Power BI REST API - RequestId not valid</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4302176#M58443</link>
      <description>&lt;P&gt;In the meantime I found the reason for above behavior, thanks to Chris Webb's blog &lt;A href="https://blog.crossjoin.co.uk/2022/08/07/calling-the-power-bi-enhanced-refresh-api-from-power-automate-part-1-creating-a-basic-custom-connector/#:~:text=You%20will%20also%20need%20to%20turn%20off%20the%20Asynchronous%20Pattern%20option%20in%20the%20Settings%20dialog%20of%20the%20action%3A" target="_self"&gt;here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Turning off the Asynchronous Pattern option in the Settings dialog of the HTTP action did the trick for me.&lt;/SPAN&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="BartVW_0-1732624394764.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1206083i716838701B2E8A32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BartVW_0-1732624394764.png" alt="BartVW_0-1732624394764.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 12:33:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Enhanced-refresh-with-the-Power-BI-REST-API-RequestId-not-valid/m-p/4302176#M58443</guid>
      <dc:creator>BartVW</dc:creator>
      <dc:date>2024-11-26T12:33:26Z</dc:date>
    </item>
  </channel>
</rss>

