<?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: I can trigger a dataflow refresh using REST API but cannot cancel it in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4855713#M63512</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1376432"&gt;@endel&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for reaching out to Microsoft Fabric Community Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on the above error&amp;nbsp; the issue with canceling a dataflow refresh via the REST API after successfully triggering it. You're already able to trigger the refresh, but when you try to cancel it, you're receiving a &lt;STRONG&gt;No refresh in progress&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Here are some workaround which may help you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Even if the transaction appears under Get Dataflow Transactions, the Cancel Transaction API may still return "No refresh in progress" due to timing or state synchronization delays in the backend.&lt;/LI&gt;
&lt;LI&gt;After triggering a refresh, the transaction may not yet be fully registered or marked as InProgress when the cancel request is made.&lt;/LI&gt;
&lt;LI&gt;If the refresh completes or fails very quickly, the window to cancel it is extremely short&amp;nbsp; this can also trigger the same error.&lt;/LI&gt;
&lt;LI&gt;Try adding a 2–3 minute delay between triggering the refresh and calling Cancel Transaction to give the system time to register the transaction as active.&lt;/LI&gt;
&lt;LI&gt;If multiple transactions are returned, cancel only the one with the status = "InProgress", not those in Queued or Completed state.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this helps !!&lt;BR /&gt;Thank You.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 10:55:07 GMT</pubDate>
    <dc:creator>v-aatheeque</dc:creator>
    <dc:date>2025-10-22T10:55:07Z</dc:date>
    <item>
      <title>I can trigger a dataflow refresh using REST API but cannot cancel it</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4854975#M63502</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Context&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We currently have an issue with credentials in dataflows after they're taken over (usually after deployment via pipeline), so we wanted an automated check on that before our weekly refresh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Our Solution&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Since we cannot do it using REST API (dataflows API won't allow testing the connection on data sources) I thought of triggering a refresh and cancelling it a couple mins later (we have one dataflow per table, so it would fail immediately). We need to cancel them because tables are very large, so it'd impact our backend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can trigger the dataflow refresh via API, but cannot cancel it via API. It says "No refresh in progress".&lt;/P&gt;&lt;P&gt;I have the same issue even if I use the &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/dataflows/cancel-dataflow-transaction#code-try-0" target="_self"&gt;MS Learn editor&lt;/A&gt;. I can see the transaction in progress if I call Get Dataflow Transactions (API or browser). The scopes required for Cancel Transaction are the same as Refresh Dataflow, so I assume I have the proper permissions. Has anyone had this issue before?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="endel_0-1761056410914.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1304658iB9207DF4F7165F6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="endel_0-1761056410914.png" alt="endel_0-1761056410914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 14:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4854975#M63502</guid>
      <dc:creator>endel</dc:creator>
      <dc:date>2025-10-21T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: I can trigger a dataflow refresh using REST API but cannot cancel it</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4855713#M63512</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1376432"&gt;@endel&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for reaching out to Microsoft Fabric Community Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on the above error&amp;nbsp; the issue with canceling a dataflow refresh via the REST API after successfully triggering it. You're already able to trigger the refresh, but when you try to cancel it, you're receiving a &lt;STRONG&gt;No refresh in progress&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Here are some workaround which may help you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Even if the transaction appears under Get Dataflow Transactions, the Cancel Transaction API may still return "No refresh in progress" due to timing or state synchronization delays in the backend.&lt;/LI&gt;
&lt;LI&gt;After triggering a refresh, the transaction may not yet be fully registered or marked as InProgress when the cancel request is made.&lt;/LI&gt;
&lt;LI&gt;If the refresh completes or fails very quickly, the window to cancel it is extremely short&amp;nbsp; this can also trigger the same error.&lt;/LI&gt;
&lt;LI&gt;Try adding a 2–3 minute delay between triggering the refresh and calling Cancel Transaction to give the system time to register the transaction as active.&lt;/LI&gt;
&lt;LI&gt;If multiple transactions are returned, cancel only the one with the status = "InProgress", not those in Queued or Completed state.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this helps !!&lt;BR /&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 10:55:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4855713#M63512</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-10-22T10:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: I can trigger a dataflow refresh using REST API but cannot cancel it</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4858418#M63545</link>
      <description>&lt;P&gt;We have no problems issuing cancellation requests for dataflows in flight.*&amp;nbsp; We do this continuously on our tenant because we are limiting dataflows to the same 5 hours as the semantic model refresh limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* Remember that this is only a request.&amp;nbsp; If and when it gets honored is rather random, and depends on where in the process the dataflow is.&amp;nbsp; We have also anecdotal evidence that cancellations are not to be confused with rollbacks.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 13:47:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4858418#M63545</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-10-25T13:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: I can trigger a dataflow refresh using REST API but cannot cancel it</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4859454#M63567</link>
      <description>&lt;P&gt;Actually, I'm triggering the dataflow refresh, then wait a few seconds and request the refresh history to get the ID of the one in progress, so I believe this discards the hypothesis of being out of sync.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 12:22:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4859454#M63567</guid>
      <dc:creator>endel</dc:creator>
      <dc:date>2025-10-27T12:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: I can trigger a dataflow refresh using REST API but cannot cancel it</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4860494#M63578</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1376432"&gt;@endel&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="225" data-end="393"&gt;Thanks for confirming your setup. Since you’re already triggering the refresh and retrieving the history immediately after, the process should typically stay in sync.&lt;/P&gt;
&lt;P data-start="400" data-end="723"&gt;If you’re still observing mismatched or missing refresh IDs despite this, it might require a deeper review from the Power BI service side. I’d recommend opening a &lt;STRONG data-start="563" data-end="591"&gt;&lt;A href="https://support.fabric.microsoft.com/" target="_blank"&gt;Microsoft Fabric Support and Status | Microsoft Fabric&lt;/A&gt;.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 11:25:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/I-can-trigger-a-dataflow-refresh-using-REST-API-but-cannot/m-p/4860494#M63578</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-10-28T11:25:42Z</dc:date>
    </item>
  </channel>
</rss>

