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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / error from token excha...
Power Automate
Answered

error from token exchange: runtime call was blocked because connection has error status

(2) ShareShare
ReportReport
Posted on by

Hello,

 

I have a flow running and for only 2 people from my whole organization the flow fails with the below error:
The error I am getting from the first person is this:

Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and office365 is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: aadcertificate. Correlation Id=90c5bddd-ef52-4d72-9d67-3e3fe4a8a132, UTC TimeStamp=3/20/2023 8:19:51 PM, Error: Failed to acquire token from AAD: {"error":"invalid_grant","error_description":"AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '2022-01-28T15:49:25.8852622Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2023-02-14T17:04:50.0000000Z'.\r\nTrace ID: 3667c78e-d259-4741-98d9-f9dd52825400\r\nCorrelation ID: 1f416660-597a-4a37-9472-0f3d430760d2\r\nTimestamp: 2023-03-20 20:19:51Z","error_codes":[50173],"timestamp":"2023-03-20 20:19:51Z","trace_id":"3667c78e-d259-4741-98d9-f9dd52825400","correlation_id":"1f416660-597a-4a37-9472-0f3d430760d2","error_uri":"https://login.windows.net/error?code=50173"}']

and the flow fails here:

Thanasis_0-1679403743865.png

Thanasis_1-1679403751607.png

and the error I am getting from the second in is :

Access token has expired or is not yet valid.

and the flow for the second one fails here:

Thanasis_2-1679403808100.png

Thanasis_3-1679403892399.png

Any help I would really appreciate.

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @Thanasis ,

    Can you check the users connections from their powerapps ?

    gabibalaban_0-1679410499199.png

     

    I think that for some reason the connection to Ofice 365 Groups might be expired and shows "Invalid connection". 

  • Thanasis Profile Picture
    on at

    Thank you @gabibalaban , that was it, the office 365 group connection needed to be fixed. 

  • RajatJRI Profile Picture
    4 on at

    Can we make a power automate flow to 1. check this error and 2.  fix

  • Thanasis Profile Picture
    on at

    that would be awesome @RajatJRI . If someone knows how to do this that would be really helpful.

  • agrasso72 Profile Picture
    8 on at
    Hi, how di I fix the connection?
    @cu18081211-6: the connections are all valid
     
    This error happens randomly. The same user can have rror and can go well.
     
    Thanks
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 273 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 149 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 144 Super User 2026 Season 2

Last 30 days Overall leaderboard