Skip to main content

Notifications

Power Automate - Building Flows
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.
  • RobIsidro17 Profile Picture
    RobIsidro17 34 on at
    Error from token exchange: Runtime call was blocked
    @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.
  • Suggested answer
    SwatiSTW Profile Picture
    SwatiSTW 301 on at
    Error from token exchange: Runtime call was blocked
    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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard