A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
A more reliable setup is to stop depending on one employee’s interactive sign-in and connection ownership.
What is happening:
- If a password change or other authentication requirement affects the account behind the flow connection, existing connections can fail on future runs.
- In Power Automate, this commonly shows up as authentication failures, broken connections, or errors such as Failed to refresh access token for service.
- For flows that already failed, the immediate fix is to repair or recreate the affected connection.
Recommended approach:
- Repair the current broken connection
- In the flow, go to Connections > Edit.
- Select Manage connections.
- Find the connection showing the authentication problem.
- Select Reconnect and complete authentication.
- If reconnect does not resolve it, recreate the connection.
- Use a dedicated flow connection owner or service account
- Exclude dedicated flow connection owners and service accounts from Conditional Access Terms of Use policies.
- This is recommended because flow connections refresh tokens silently in the background and can’t accept Terms of Use interactively.
- This reduces the risk that a personal password change, consent prompt, or absence of one employee stops the automation.
- Review Conditional Access policy targeting
- In Microsoft Entra admin center go to Protection > Conditional Access > Policies.
- Target Office 365 or All cloud apps for consistent enforcement.
- If individual apps must be targeted, include Microsoft Flow Service with matching requirements.
- This is especially important when the flow is used with SharePoint or embedded Microsoft 365 experiences, because mismatched MFA, Terms of Use, or device compliance requirements can break authentication.
- Make the flow supportable by the team
- Avoid a setup where only one employee owns and manages the working connection.
- Use a dedicated account specifically for flow connections so the automation can continue outside working hours and during staff absence.
- After policy changes, reauthenticate users
- After Conditional Access updates, affected users must sign out and sign back in for the changes to take effect.
Key point:
- Personal user accounts are a weak dependency for unattended business-critical flows. A dedicated flow connection owner or service account, combined with Conditional Access settings that do not block silent token refresh, is the supported way to make this more reliable.
References: