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

NetLeverage
NetLeverage

Power Automate flow turned off or connection invalid: fix the connection and turn the flow 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 Automate turns a cloud flow off when it keeps failing, and the usual first cause is a connection that no longer works, reported as InvalidConnection. Microsoft's limits page says "A cloud flow that has a trigger or actions that fail continuously is turned off", and gives the period as 14 days. The repair on Microsoft's pages is the Fix connection link on the broken connection, followed by turning the flow back on. The trigger type matters when the flow is turned on: a polling trigger processes everything that queued while the flow was off.

What the error means

Microsoft's cloud flow error reference describes InvalidConnection as a connection reference in the flow that points to a connection that is broken, deleted or expired. Its causes include a password change or a multi-factor reset by the user who created the connection, a connection deleted from the Connections page, a connection removed by an admin, and a flow imported into an environment where the connection does not exist.

The trigger troubleshooting page says connections normally need one sign-in, but they can break when the password expires or when an organisation's token lifetime policy makes the authentication token expire.

A flow can be turned off for several other reasons, each with its own limit on the limits page. The following rows are the ones the page gives:

  • Flows with errors: 14 days.
  • Flows without trigger activity: 90 days, when a flow "might be turned off", for flows whose owners do not hold premium or capacity licences. Owners and co-owners are notified 30 days before suspension.
  • Consistently throttled flows: 14 days.

Admins can see a suspended flow as State Suspended with a FlowSuspensionReason and a FlowSuspensionTime. The reasons the page lists for runtime limits are AllActionsFailingDetected, AlwaysFailingDetected, ApiCallOverageDetected, BillingConsumption, BillingConsumptionMissingRPALicense and NeverTriggeringDetected. A flow that violates a data loss prevention policy is also suspended, according to the trigger page.

Likely causes

Cause What you see How to confirm
Connection broken after a password change or expired token InvalidConnection in the run A link next to the Status column on the Connections page
Flow has failed continuously for 14 days Flow is turned off; admin sees State Suspended Run history failures; FlowSuspensionReason
Flow not triggered for 90 days Flow might be turned off; owner notified 30 days earlier No runs for 90 days; owner's licence
Owner left or lost a premium licence Owners notified; flow turned off in 14 days if no action is taken Licensing FAQ; the flow's Plan
Data loss prevention policy blocks the flow Message "Looks like this workflow is disabled by your organization" Flow checker on edit and save; admin centre
The person adding the flow to an app lacks permission to a connection ConnectionAuthorizationFailed in a flow called from Power Apps The message names the caller and the connection

Prove the cause before changing anything

All of these steps only read.

  1. Read the state. Under My flows, open the vertical ellipsis next to the flow; a flow that is off offers Turn on. Admins listing flows as Admin through the API, PowerShell or the Power Automate Management connector see State Suspended and the reason values above.
  2. Read the failed run. Open the last failed run and read the code on the failing action. InvalidConnection points to the connection. WorkflowTriggerIsNotEnabled is the code the Power Apps integration page shows for a flow that is disabled or turned off: "Could not execute workflow" followed by the flow's ID, trigger 'manual' with state 'Disabled', and "trigger is not enabled". A good match is one connection named in the error.
  3. Read the connection's status. Go to the Connections page (More > Connections on the trigger page, Data > Connections on the connections page). Find the connection the flow uses and read its Status. Do not select the link yet.
  4. Find who else uses it. Select the connection, select the ellipsis (...) > Details, then Flows using this connection and Apps using this connection. Microsoft's connections page says: "When you update a connection, it's updated for both Power Apps and Power Automate."
  5. Find the trigger type. In the new designer open Code View; in the classic designer use the ellipsis > Peek code. Microsoft says a recurrence section with an interval frequency element means a polling trigger.
  6. Check the owner's plan. On the flow details page, the Plan appears in Details. The licensing FAQ says a flow whose owner no longer holds a Premium licence is downgraded and turned off in 14 days if no action is taken.

Example (illustrative): at Example Pty Ltd, user1@example.com owns a flow with a Recurrence trigger every 15 minutes that creates an invoice item for each new row. The owner changed their password on 20 November 2026 and the Outlook connection broke. The flow runs 4 times an hour, so 4 × 24 = 96 runs a day have failed with InvalidConnection, 96 × 14 = 1,344 by 4 December, the 14th day from 20 November. If 30 new rows arrived each day, 30 × 14 = 420 rows are waiting.

Fix

The connection comes first and the flow second. Our own reading: a flow turned on while its connection is still broken fails again at once.

Microsoft's error reference gives its own repair for InvalidConnection: open the flow in edit mode, where actions with broken connections show a warning icon, select the action, select Change connection or Add new connection, sign in with the appropriate credentials, then save and test the flow. Under ConnectionAuthorizationFailed it adds that a shared connection that was unshared by its owner needs the owner to share it again. Microsoft's connections page and trigger page give the Fix connection link as the repair, in the steps below.

Write down the connection's name, its Status, the time, and the apps and flows listed in step 4.

Risk: Updating the connection replaces its stored sign-in, and the page says the update applies to both Power Apps and Power Automate. Our own reading: every app and flow in the Details lists then signs in with the new credentials. Replacing the stored sign-in cannot be undone.

Go to Data > Connections, select the Fix connection link for the connection, and update it with new credentials when prompted. The trigger page gives the same repair as selecting the link next to the Status column and following the instructions.

To go back to the previous sign-in, select Fix connection again and enter the credentials that were in use before, which you must have kept yourself.

For the flow, write down that the flow is off, the time of its last run, and its trigger type from step 5.

Disruptive step: Turning the flow on makes a polling trigger process the events that queued while it was off. Microsoft's trigger page says a polling trigger such as the recurrence trigger processes all unprocessed or pending events when the flow is turned back on. Our own reading: in the example that could be up to 420 items handled once the flow is on, with whatever each does, such as sending email or creating items. What the events do once processed cannot be undone, and turning the flow off again stops only new runs. A webhook trigger processes only new events generated after it is turned on. The page's way to avoid processing pending items is to delete and then re-create the flow, which is a separate, destructive change that cannot be undone.

Under My flows, select the vertical ellipsis next to the flow and select Turn on, as the create a cloud flow page describes.

Risk: Only if you need to back out. Turning the flow off changes what the flow does from now on. Microsoft says that when you turn off a cloud flow no new runs start, and runs in progress or pending continue until they finish, so runs already started are not cancelled.

Select Turn off in the same menu, so the flow is off as you wrote down.

Check that the flow shows as off.

If a Power Apps app calls the flow, the Power Apps integration page says that when the connections a flow needs change, the app can fail. For an app still in development, remove the flow from the app and add it again. For a published app, the page says: "When your app is already published and in use, always create copies of flows before making updates." Copy the flow with Save As, change the copy and point the app at it. Our own reading: test the app once the flow is on.

Confirm the fix

  1. The Status column no longer offers a link to fix the connection.
  2. The flow is on. In the 28-day run history, a new run succeeds.
  3. For a polling trigger, check the queued items have been handled once, not twice.
  4. Look at the owner's email for a further notice from the service.

What to watch afterwards

  • The owner's password schedule and any token lifetime policy; both break connections.
  • Microsoft's error reference suggests service principal connections for production flows, since they do not expire when a user changes their password or leaves.
  • Flows owned by people who leave. The licensing FAQ says a solution-aware flow can have its owner changed, and otherwise a Process licence keeps it running.
  • Failure notices. The error handling page says the service emails flow owners about broken connections and throttling.
  • For throttling as the reason for suspension, see Power Automate "429 (Too Many Requests)" and "Rate limit is exceeded": why a flow is throttled and what to change.

Risks and limits

  • These commands have not been run or lab-tested.
  • Turning a flow on again does not repair a broken connection. If the cause was a licence or a data loss prevention policy, the flow can be suspended again.
  • The page says the 90 day rule does not apply to flows owned by users with premium licences or assigned capacity licences. Limits and notifications change; check the current pages.
  • Microsoft's pages give two readings of ConnectionAuthorizationFailed: stored credentials that are no longer valid (error reference), and a maker without permission on a connection used in a flow added to an app (Power Apps integration page). Read the message to see which applies.

Sources