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 / Preventing: "Error fro...
Power Automate
Unanswered

Preventing: "Error from token exchange: Bad Key authorization token."

(1) ShareShare
ReportReport
Posted on by 2
Yesterday/today some of my flows started failing with the following error:
Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256
Failed to validate token: <token>: Signature validation failed. The token's kid is: '<kid>', but did not match any keys in TokenValidationParameters or Configuration.
 
 
Searching online, I was able to find many references to:
Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256 Failed to validate token: <token>: X509SecurityKey validation failed. The associated certificate has expired.
which seems to clearly suggest expired authentication. It is, however, still seemingly different from my error.
 
 
Anyways, I was able to fix my error by re-saving my flow, as many people suggested for dealing with the other error. However, I was wondering if anyone can confirm an actual root cause and permanent solution for my error. It's simply not acceptable for my flows to start failing after some period of time and then require manual intervention to be able to be resumed.
Categories:
I have the same question (0)
  • SR-17121903-0 Profile Picture
    3 on at
    I begin getting the exact same error today.
    As you noted, re-saving my flow resolved the error and it's working normally again.
     

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