<?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: Dataflow Refresh failed through API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dataflow-Refresh-failed-through-API/m-p/2912265#M39792</link>
    <description>&lt;P&gt;Please check if this below link is useful to you..&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/unable-to-refresh-Dataflow-using-REST-API/m-p/2522837" target="_blank"&gt;https://community.powerbi.com/t5/Developer/unable-to-refresh-Dataflow-using-REST-API/m-p/2522837&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shreya Mukkawar&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 10:06:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-17T10:06:19Z</dc:date>
    <item>
      <title>Dataflow Refresh failed through API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataflow-Refresh-failed-through-API/m-p/2911860#M39788</link>
      <description>&lt;P&gt;hi team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to refresh dataflow using REST API but it shows the below error Error:&lt;/P&gt;&lt;P&gt;The current operation was canceled because one or more operations Failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sometimes refresh is successfully completed and sometimes shows an error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the below code to refresh dataflow using API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$json = '{"notifyOption": "MailOnFailure"}' | ConvertFrom-Json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$body = $json | ConvertTo-Json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$token = Get-PowerBIAccessToken&lt;/P&gt;&lt;P&gt;$authHeader = @{ 'Content-Type'='application/json' 'Authorization'= $token.Authorization }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$JoinedRefresh = DataflowLinkXYZ/refreshes&lt;/P&gt;&lt;P&gt;Invoke-RestMethod -Uri $JoinedRefresh -Headers $authHeader -body $body -Method POST&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly provide any help for this why this error occurring and provide a solution&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 08:13:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataflow-Refresh-failed-through-API/m-p/2911860#M39788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-17T08:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflow Refresh failed through API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataflow-Refresh-failed-through-API/m-p/2912265#M39792</link>
      <description>&lt;P&gt;Please check if this below link is useful to you..&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/unable-to-refresh-Dataflow-using-REST-API/m-p/2522837" target="_blank"&gt;https://community.powerbi.com/t5/Developer/unable-to-refresh-Dataflow-using-REST-API/m-p/2522837&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shreya Mukkawar&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 10:06:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataflow-Refresh-failed-through-API/m-p/2912265#M39792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-17T10:06:19Z</dc:date>
    </item>
  </channel>
</rss>

