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 / 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard