GuidesPower Automate "connection expired" / 401 Unauthorized
Power Automate
Power Automate "connection expired" / 401 Unauthorized
A 401 or "connection has expired" error means the connection the flow uses can no longer authenticate. Here is how to fix and prevent it.
Why it happens
Each connector in a flow uses a stored connection (a set of credentials). When the credential expires, the password changes, or consent is revoked, the connection can no longer authenticate and the action fails with 401.
How to fix it
- 1Open the flow, then go to the failing action and check the connection at the bottom of the action card.
- 2In Power Automate > Connections, find the broken connection (it shows an error) and click "Fix connection" or re-authenticate.
- 3If you use a service account, make sure its password policy does not force expiry, or move to a connection that supports long-lived auth.
Prevent it
Use a dedicated service account for production flows rather than a personal account, so the connection does not break when someone changes their password or leaves.