Power Automate · Connections
Failed to refresh access token for service
A Power Automate connection status of "Failed to refresh access token for service" can mean a Terms of Use requirement in a Conditional Access policy is blocking the silent token refresh. Have the flow owner sign in to the Power Automate portal and accept the Terms of Use prompt, then repair or re-create the connection.
VerifiedLast verified
01Error text
Failed to refresh access token for service02Likely causes
- A Terms of Use requirement was added to a Conditional Access policy, or a Terms of Use consent expired on a schedule.
- Silent token refresh fails because the acceptance page cannot be shown, which breaks existing connections. The error message does not mention Terms of Use.
03How to fix it
- In the Microsoft Entra sign-in logs, look for
AADSTS50158orAADSTS53003errors that target Microsoft Flow Service. On the Conditional Access tab, look for a Terms of Use grant control with the status Not Satisfied. - Have the flow owner sign in interactively to the Power Automate portal and accept the Terms of Use prompt.
- Repair or re-create the affected connection.
- To prevent it happening again, exclude service accounts and dedicated flow connection owners from Conditional Access policies that include Terms of Use grant controls.
04Fix it with AI
Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.
I'm getting this error in Microsoft Power Automate (Connections):
Failed to refresh access token for service
What it usually means: A Power Automate connection status of "Failed to refresh access token for service" can mean a Terms of Use requirement in a Conditional Access policy is blocking the silent token refresh. Have the flow owner sign in to the Power Automate portal and accept the Terms of Use prompt, then repair or re-create the connection.
Likely causes:
- A Terms of Use requirement was added to a Conditional Access policy, or a Terms of Use consent expired on a schedule.
- Silent token refresh fails because the acceptance page cannot be shown, which breaks existing connections. The error message does not mention Terms of Use.
Fix steps that usually work:
1. In the Microsoft Entra sign-in logs, look for AADSTS50158 or AADSTS53003 errors that target Microsoft Flow Service. On the Conditional Access tab, look for a Terms of Use grant control with the status Not Satisfied.
2. Have the flow owner sign in interactively to the Power Automate portal and accept the Terms of Use prompt.
3. Repair or re-create the affected connection.
4. To prevent it happening again, exclude service accounts and dedicated flow connection owners from Conditional Access policies that include Terms of Use grant controls.
Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/power-automate/failed-to-refresh-access-token-for-serviceNothing is sent anywhere from this page. Read what the assistant suggests before you apply it.
05Official documentation
→Related errors
- AADSTS50076: you must use multi-factor authentication to access the resourceAADSTS50076 on a Power Automate connection means a Microsoft Entra ID change invalidated the token, or the Conditional Access policies for a host app and Power Automate differ. Reauthorize the connection, and for flows opened from SharePoint, Teams or Excel, have an administrator align the Conditional Access policies.
- The refresh token has expired due to inactivityThis Power Automate connection error means the connection expired because it was not used for a set period. Create a new connection or reauthorize the existing one.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Power Automate work:Open Power Automate jobsPower Automate pay estimates