<?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 Dataset refresh anomaly: API accepted new refresh while one was running in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-refresh-anomaly-API-accepted-new-refresh-while-one-was/m-p/4806883#M62830</link>
    <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;We ran into an unusual refresh behavior and would appreciate confirmation from Microsoft or other experts.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue observed&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;A dataset refresh triggered via &lt;STRONG&gt;Logic App + Power BI REST API connector&lt;/STRONG&gt; started at &lt;EM&gt;10:47pm&lt;/EM&gt; and ran unusually long (over 4 hours).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;During that time, subsequent refreshes (every ~10 mins) correctly failed with error “another refresh in progress” until ~11:38pm.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Unexpectedly, at 11:48pm, a new refresh request was accepted (202) while the original long-running refresh was &lt;EM&gt;still in progress&lt;/EM&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After that point, subsequent refresh requests continued to return &lt;STRONG&gt;202 Accepted&lt;/STRONG&gt; as if no conflict existed, even though the original refresh was only terminated manually later.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Why this is concerning&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Documentation (&lt;A target="_new" rel="noopener"&gt;Power BI REST API – Refreshes&lt;/A&gt;) states that a &lt;STRONG&gt;409 Conflict&lt;/STRONG&gt; should be returned if a refresh is already running.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;This anomaly caused &lt;STRONG&gt;false-success signals&lt;/STRONG&gt; in our automation (Logic App), which could mislead downstream processes.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is this a known &lt;STRONG&gt;service-side issue&lt;/STRONG&gt; (e.g., refresh job stuck in “ghost state”)?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What’s the best practice to &lt;STRONG&gt;reliably detect this scenario&lt;/STRONG&gt;, beyond simply handling 202 vs 409 in automation?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Has this been observed by others in &lt;STRONG&gt;Premium capacity&lt;/STRONG&gt; environments?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Environment details&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Power BI workspace capacity: &lt;STRONG&gt;Premium P1&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Developer license: &lt;STRONG&gt;Pro&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Trigger: &lt;STRONG&gt;Logic App with Power BI REST API connector&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Multiple datasets scheduled for refresh every 10 minutes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;References for context&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;A target="_new" rel="noopener"&gt;Power BI REST API – Refreshes&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-troubleshooting-refresh-scenarios" target="_new" rel="noopener"&gt;Troubleshooting refresh scenarios&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/38"&gt;@GilbertQ&lt;/a&gt; (Power BI MVP) and &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11389"&gt;@v-chuncz-msft&lt;/a&gt; (Microsoft Support) — tagging for visibility, as you’ve shared insights on similar refresh issues before.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks in advance — really appreciate Microsoft confirmation on whether this is a known issue and guidance on how to mitigate it.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Aug 2025 13:12:53 GMT</pubDate>
    <dc:creator>shaswat</dc:creator>
    <dc:date>2025-08-25T13:12:53Z</dc:date>
    <item>
      <title>Dataset refresh anomaly: API accepted new refresh while one was running</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-refresh-anomaly-API-accepted-new-refresh-while-one-was/m-p/4806883#M62830</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;We ran into an unusual refresh behavior and would appreciate confirmation from Microsoft or other experts.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue observed&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;A dataset refresh triggered via &lt;STRONG&gt;Logic App + Power BI REST API connector&lt;/STRONG&gt; started at &lt;EM&gt;10:47pm&lt;/EM&gt; and ran unusually long (over 4 hours).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;During that time, subsequent refreshes (every ~10 mins) correctly failed with error “another refresh in progress” until ~11:38pm.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Unexpectedly, at 11:48pm, a new refresh request was accepted (202) while the original long-running refresh was &lt;EM&gt;still in progress&lt;/EM&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After that point, subsequent refresh requests continued to return &lt;STRONG&gt;202 Accepted&lt;/STRONG&gt; as if no conflict existed, even though the original refresh was only terminated manually later.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Why this is concerning&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Documentation (&lt;A target="_new" rel="noopener"&gt;Power BI REST API – Refreshes&lt;/A&gt;) states that a &lt;STRONG&gt;409 Conflict&lt;/STRONG&gt; should be returned if a refresh is already running.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;This anomaly caused &lt;STRONG&gt;false-success signals&lt;/STRONG&gt; in our automation (Logic App), which could mislead downstream processes.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is this a known &lt;STRONG&gt;service-side issue&lt;/STRONG&gt; (e.g., refresh job stuck in “ghost state”)?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What’s the best practice to &lt;STRONG&gt;reliably detect this scenario&lt;/STRONG&gt;, beyond simply handling 202 vs 409 in automation?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Has this been observed by others in &lt;STRONG&gt;Premium capacity&lt;/STRONG&gt; environments?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Environment details&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Power BI workspace capacity: &lt;STRONG&gt;Premium P1&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Developer license: &lt;STRONG&gt;Pro&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Trigger: &lt;STRONG&gt;Logic App with Power BI REST API connector&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Multiple datasets scheduled for refresh every 10 minutes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;References for context&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;A target="_new" rel="noopener"&gt;Power BI REST API – Refreshes&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-troubleshooting-refresh-scenarios" target="_new" rel="noopener"&gt;Troubleshooting refresh scenarios&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/38"&gt;@GilbertQ&lt;/a&gt; (Power BI MVP) and &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11389"&gt;@v-chuncz-msft&lt;/a&gt; (Microsoft Support) — tagging for visibility, as you’ve shared insights on similar refresh issues before.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks in advance — really appreciate Microsoft confirmation on whether this is a known issue and guidance on how to mitigate it.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 13:12:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataset-refresh-anomaly-API-accepted-new-refresh-while-one-was/m-p/4806883#M62830</guid>
      <dc:creator>shaswat</dc:creator>
      <dc:date>2025-08-25T13:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset refresh anomaly: API accepted new refresh while one was running</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-refresh-anomaly-API-accepted-new-refresh-while-one-was/m-p/4807902#M62846</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1342419"&gt;@shaswat&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for sharing the detailed breakdown it really helps to understand what happened here. From your description, the key concern is that a long-running refresh (started at 10:47pm) kept going for hours, but after ~50 minutes the API began returning 202 Accepted instead of the expected 409 Conflict. This gave your Logic App the impression that refreshes were successful even though the original job was still active.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This behaviour is not expected per our documentation. Normally, if a refresh is already in progress, the API should return a 409 Conflict. Refer this link: &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/refresh-dataset&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;What you likely experienced is a refresh that got stuck in a “ghost state” on Premium capacity. In such cases, the service may lose track of the running job and start accepting new refresh requests. While rare, this has been observed in Premium environments.&lt;BR /&gt;&lt;BR /&gt;Validate refresh completion using Get Refresh History API: Instead of relying only on 202 vs 409, check the actual refresh state after triggering a job. Add monitoring for long refreshes: You can use capacity metrics to track unusual refresh durations and set up alerts.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-in/rest/api/power-bi/datasets/get-refresh-history-in-group" target="_blank"&gt;https://learn.microsoft.com/en-in/rest/api/power-bi/datasets/get-refresh-history-in-group&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Consider cancelling stuck refreshes: If a refresh runs far beyond expected thresholds, the Cancel Refresh API can help reset the state. &lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-in/rest/api/power-bi/datasets/cancel-refresh-in-group" target="_blank"&gt;https://learn.microsoft.com/en-in/rest/api/power-bi/datasets/cancel-refresh-in-group&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this clears things up. If you have any doubts regarding this, please feel free to ask here. We will be happy to help.&lt;BR /&gt;&lt;BR /&gt;Thank you for using the Microsoft Community Forum.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 09:57:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataset-refresh-anomaly-API-accepted-new-refresh-while-one-was/m-p/4807902#M62846</guid>
      <dc:creator>v-kpoloju-msft</dc:creator>
      <dc:date>2025-08-26T09:57:23Z</dc:date>
    </item>
  </channel>
</rss>

