Power Automate Connection Error (401 Unauthorized)
Quick answer
A previously working flow that now returns 401 Unauthorized usually has an expired or broken connection. Go to Connections, select Fix connection and sign in again.
Most likely fix: Re-authenticate the connection
How to fix it
Try these in order — the most common fix is first.
1. Re-authenticate the connection
- Open Power Automate > Connections
- Find the connection with the error
- Select ... > Fix connection or Edit and sign in again
- Open the flow and confirm the action shows a green checkmark
Did this fix it?2. Fix Conditional Access mismatches
- In Microsoft Entra admin center go to Protection > Conditional Access > Policies
- Target the Office 365 app or All cloud apps
- If targeting individual apps include Microsoft Flow Service
- Exclude service accounts from Terms of Use policies
Did this fix it?3. Stop it recurring
- Use a service principal connection for production flows
- Ask the connection owner to re-authenticate shared connections, or create your own
Did this fix it?
Symptoms
Actions show Unauthorized, 401 or 403 and the connection shows a warning icon.
Why it happens
- Password changed or rotated
- MFA or Conditional Access policy changed
- Admin consent revoked
- Refresh token expired after about 90 days of inactivity
- Service principal secret expired
- Connection owned by someone who left
This guide also covers
- power automate connection error
- power automate unauthorized 401
- power automate fix connection
Still not working?
If Microsoft Power Automate keeps failing, you're not alone. See every Microsoft Power Automate problem users report or the alternatives people switch to.
Done fighting Microsoft Power Automate? Our small team builds your own Microsoft Power Automate alternative, or any software you need: web, mobile, games, desktop. Price agreed together.
Talk to usThe same problem in other apps
Other Microsoft Power Automate errors
- Power Automate Flow Not Triggering
- Power Automate Flow Failed
- Power Automate Flow Turned Off Automatically
- Power Automate 429 Too Many Requests Error
- Why Is My Power Automate Flow So Slow
- Power Automate Premium License Required Error
- Power Automate Excel Table Not Found Error
- Power Automate Desktop Flow Failing in Unattended Mode