<?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: API Partition Refresh - Power Automate 403 Error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-Partition-Refresh-Power-Automate-403-Error/m-p/2863628#M39423</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/162205"&gt;@cassidy&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Have you tried to directly use the current account to invoke the API? AFAIK, 403 error normally means the server understands the request but refuses to authorize it.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Please double-check the correlation credentials and scope settings to confirm you have permission to use these API.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/#scopes" target="_blank"&gt;Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset" target="_blank"&gt;Datasets - Refresh Dataset - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2022 06:40:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-26T06:40:59Z</dc:date>
    <item>
      <title>API Partition Refresh - Power Automate 403 Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Partition-Refresh-Power-Automate-403-Error/m-p/2862374#M39420</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm starting to leverage Partition refreshing through the API and Power Automate, but getting a weird result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Flow shows as "Failed" with a 403 Error, &lt;STRONG&gt;yet it actually does kick off the Refresh of the Parition in Power BI Service as expected.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm doing it as Microsoft as documented with this call (those are not by groups/datasets)&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;POST https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229/refreshes&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice on avoiding the Failed result?&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="cassidy_0-1666717154511.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/810465i71FAE712CAA0119C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cassidy_0-1666717154511.png" alt="cassidy_0-1666717154511.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 17:01:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Partition-Refresh-Power-Automate-403-Error/m-p/2862374#M39420</guid>
      <dc:creator>cassidy</dc:creator>
      <dc:date>2022-10-25T17:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: API Partition Refresh - Power Automate 403 Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Partition-Refresh-Power-Automate-403-Error/m-p/2863628#M39423</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/162205"&gt;@cassidy&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Have you tried to directly use the current account to invoke the API? AFAIK, 403 error normally means the server understands the request but refuses to authorize it.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Please double-check the correlation credentials and scope settings to confirm you have permission to use these API.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/#scopes" target="_blank"&gt;Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset" target="_blank"&gt;Datasets - Refresh Dataset - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 06:40:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Partition-Refresh-Power-Automate-403-Error/m-p/2863628#M39423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-26T06:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: API Partition Refresh - Power Automate 403 Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Partition-Refresh-Power-Automate-403-Error/m-p/2865481#M39438</link>
      <description>&lt;P&gt;I've added all permissions I can find for Power BI Service under Azure API Permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since it did kick off the Refresh as intended, it's almost as if it Understands, &lt;STRONG&gt;Executes it&lt;/STRONG&gt;, but then does not Authorize it after the fact.&amp;nbsp; Never seen this before.&lt;BR /&gt;&lt;BR /&gt;I think I could literally use the Flow with the expected result on the Power BI Service side, and just live with a Failed state of the Flow itself.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:12:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Partition-Refresh-Power-Automate-403-Error/m-p/2865481#M39438</guid>
      <dc:creator>cassidy</dc:creator>
      <dc:date>2022-10-26T16:12:10Z</dc:date>
    </item>
  </channel>
</rss>

