iPaaS Group

Power Automate · Connections

Failed to refresh access token for service

Short answer

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

Power Automate error
Failed to refresh access token for service

02Likely 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

  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.

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.

Prompt
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-service

Nothing is sent anywhere from this page. Read what the assistant suggests before you apply it.

05Official documentation

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