Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Power BI scheduled refresh disabled after four consecutive failures: find the cause, then turn it back on

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Power BI turns a scheduled refresh off after four consecutive failures. Microsoft's scheduled refresh page says: "Power BI deactivates your refresh schedule after four consecutive failures or when the service detects an unrecoverable error that requires a configuration update, such as invalid or expired credentials." The owner is emailed and the schedule is off. Read the refresh history, fix the cause, then set the schedule back on.

What the error means

Microsoft's troubleshooting page says: "If a scheduled refresh fails four times in a row, Power BI disables the refresh. Address the underlying problem, and then re-enable the scheduled refresh." The scheduled refresh page adds: "It is not possible to change the consecutive failures threshold."

Power BI "automatically makes multiple attempts to refresh a semantic model if it experiences a refresh failure", so one scheduled slot can show several attempts in the history.

Two other situations also show a disabled schedule:

  • An Embedded capacity that is switched off. Microsoft says "the first attempt at refresh fails (since the capacity is switched off)", and "its scheduled refresh is immediately disabled".
  • Inactivity. "After two months of inactivity, scheduled refresh on your semantic model is paused." A model counts as inactive when no user has visited any dashboard or report built on it. The owner is emailed and the schedule "is displayed as Disabled". This is not a failure, and the fix is different.

Likely causes

Cause What you see How to confirm
Invalid or expired credentials The unrecoverable error disables the schedule The refresh history error message; see the credentials article
Gateway offline or unreachable Every attempt fails the same way Gateway status in the semantic model settings
The refresh runs past the time-out Failed attempts with long durations Duration in the refresh history against two hours, or five hours on Premium and Fabric
Premium capacity throttling or memory limits Messages such as "Capacity level limit exceeded." or "Node level limit exceeded." The error text in the refresh history
Embedded capacity switched off Disabled after the first attempt The capacity's state
Two months without a visit Disabled, no failures in the history No view of any report or dashboard on the model

Prove the cause before changing anything

Every step here only reads.

  1. Find the email. Microsoft says "Power BI also sends an email notification when the service disables a scheduled refresh due to consecutive failures". An inactivity pause sends a different message to the owner.
  2. Select the semantic model, then Refresh, then Schedule refresh. A good result is the Configure a refresh schedule slider set to On. A bad result is the slider Off.
  3. Select Refresh, then Refresh history. Microsoft says it shows "the status, start time, duration, and error message for each refresh attempt". Select the Show link beside a failure.
  4. Our own advice: read the first failure of the run, not the last. Later failures can have a different message, and the first shows the original fault.
  5. Under Gateway and cloud connections in the semantic model settings, confirm the gateway is online.
  6. Compare the duration of the failed attempts with Microsoft's limit: "Scheduled refreshes for imported semantic models time out after two hours. This time-out is increased to five hours for semantic models in Premium workspaces and workspaces hosted on Fabric capacities."
  7. If the history has no failures, check whether anyone has viewed a report or dashboard built on the model in the last two months.

Example (illustrative): the "Sales model" of Example Pty Ltd refreshes from SQL Server through gw01 at 6:00 AM and 6:00 PM, and user1@example.com owns it. The source password changed on 1 December. Four consecutive failures follow, an email arrives, and the schedule is off. Refresh history shows the credentials error for each attempt. The gateway administrator corrects the data source credentials, and the owner then turns the schedule back on.

Fix

Fix the cause first. The causes have their own articles:

Test with one refresh

Microsoft says an on-demand refresh with Refresh now tests the gateway and data source configuration, and that "On-demand refreshes don't affect the next scheduled refresh time". Our own advice: do this before turning the schedule on.

First save the current state: write down the time and status of the newest entry in Refresh history.

Risk: the next action starts a refresh immediately. It loads data from the source and, when it finishes, replaces the data in the semantic model. A completed refresh cannot be undone. It also uses the source, the gateway and the capacity, and Microsoft says on-demand refreshes "count toward resource usage".

Go to the semantic model, then select Refresh now.

Risk, only if you back out: Cancel refresh stops only a refresh that is still running, and it is available on Premium, Premium per user and Power BI Embedded capacity. A refresh that has finished stays in the model.

To undo it while the refresh is still running, go to the semantic model that is refreshing, select Cancel refresh, and select Yes in the pop-up window.

Turn the scheduled refresh back on

First save the current state: write down the current setting of the Configure a refresh schedule slider, the frequency and time slots, and the time.

Risk: the next steps turn scheduled refresh on. From the next slot, each refresh runs against the source, the gateway and the capacity. Microsoft says Power BI disables the refresh when a scheduled refresh fails four times in a row. Microsoft's limits apply: "Up to 8 scheduled refreshes per day" on Power BI Pro, and "Up to 48" on Premium per user and Premium or Fabric capacity.

  1. Go to the semantic model settings, then select Refresh, then Schedule refresh.
  2. Set the Configure a refresh schedule slider back to On.
  3. Select Apply.

To undo it, set the slider back to the value you wrote down and select Apply. If that value was Off, scheduled refresh stops again and the data goes stale.

Confirm the fix

  1. The slider shows On, and the settings page shows the next refresh time.
  2. After the next slot, Refresh history shows a completed scheduled refresh.
  3. No new disabled-schedule email arrives over the following days.

What to watch afterwards

  • Microsoft recommends leaving the owner's failure notification checkbox on. It describes an "Email these contacts when the refresh fails" box for colleagues, and says recipients must have accounts in your Microsoft Entra tenant. Spam filters "might block the email messages", so check the junk folder.
  • On-demand refreshes and refreshes started by Power Automate "don't trigger email notifications".
  • Semantic models with errors show a small warning icon in the workspace list, and the refresh history shows when a fix took effect.
  • Microsoft says the target is to start a refresh within 15 minutes of its slot, and that "a delay of up to one hour can occur".
  • Our own advice: if the gateway is a single machine, a second gateway in a cluster reduces the chance of a run of failures from one outage.

Risks and limits

  • The steps follow Microsoft's pages and have not been run or lab-tested.
  • Limits such as the number of refreshes per day, the time-out and the capacity thresholds depend on the licence and capacity; check the current Microsoft pages.
  • Turning the schedule on without fixing the cause uses capacity for no gain.
  • A refresh that has completed replaces the data in the model.

Sources