web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error from token excha...
Power Automate
Suggested Answer

Error from token exchange: Runtime call was blocked

(0) ShareShare
ReportReport
Posted on by 34

Hello,

I have been experiencing this error for a while now:

Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and office365users is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: office365usercertificate. Correlation Id=a163bdd2-afb7-45cb-9a96-acac22435e47, UTC TimeStamp=2/2/2025 10:19:13 PM, Error: Failed to acquire token from AAD: {"error":"interaction_required","error_description":"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'. Trace ID: c786222c-fc7f-421f-9d8e-b6fd3d292600 Correlation ID: ad0b4709-0fdd-4462-b9f1-b40ff77020f2 Timestamp: 2025-02-02 22:19:13Z","error_codes":[50076],"timestamp":"2025-02-02 22:19:13Z","trace_id":"c786222c-fc7f-421f-9d8e-b6fd3d292600","correlation_id":"ad0b4709-0fdd-4462-b9f1-b40ff77020f2","error_uri":"https://login.windows.net/error?code=50076","suberror":"basic_action","claims":"{\"access_token\":{\"capolids\":{\"essential\":true,\"values\":[\"eb149806-0f54-4342-bf19-6f8d2fa9cea0\",\"17b6cd51-dc51-47d0-a85e-ea60a8f21be0\",\"9a538832-4246-43eb-baf6-514b6d7b2fa3\"]}}}"}']

Not all runs are having this error, and I have checked the connections. What could be the possible cause for this and how to fix it. I saw some few posts and it seems that this was left unresolved.
Categories:
I have the same question (0)
  • Suggested answer
    SwatiSTW Profile Picture
    741 Super User 2025 Season 2 on at
    The problem is that Power Automate is failing to refresh the authentication token for the Office 365 Users connector because your organization requires Multi-Factor Authentication (MFA) or has Conditional Access Policies that block automatic sign-ins. This happens randomly because some sign-in attempts might be allowed based on location or previous authentication status.
     
    To fix it-
    Go to Power Automate > Data > Connections.
    Find the Office 365 Users connection and click "Fix Connection" or "Reconnect".
    Sign in again and complete MFA if prompted.
     
    If the issue continues-
    Ask your IT admin if there are Conditional Access Policies blocking Power Automate from refreshing the token. They may allow an exception.

    If allowed, use a service account that is excluded from MFA to run the flow.

    As an advanced option, use Microsoft Graph API with an Azure Managed Identity instead of the Office 365 Users connector.
    Try reconnecting first. If that doesn’t work, check with IT about policy changes
  • RobIsidro17 Profile Picture
    34 on at
    @SwatiSTW

    I did check that, and it doesn't say it needs fixing or reconnect.

    My setup is that all flows and apps are in a solution (just to keep it organized) and also the trigger for the flows are mostly Power Apps. 

    And lastly, we had a change in our MFA recently. So, I'm not sure what is likely to be the cause.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard