Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

How do I prevent tokens from expiring and flows from failing?

(0) ShareShare
ReportReport
Posted on by 445
This flow that's not running is intended to create a new bucket in Planner. 
 
Upon checking the error, it reads: 
Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256
Failed to validate token: IDX10249: X509SecurityKey validation failed. The associated certificate has expired. ValidTo (UTC): '7/1/2024 11:59:59 PM', Current time (UTC): '8/29/2024 1:37:49 PM'.

 
I have triple checked that the Connection Reference is valid.   
 
I created a new connection but resubmitting the flow produced this error: 
Request to Azure Resource Manager failed with error: '{"error":{"code":"InvokerConnectionOverrideFailed","message":"Could not find property 'headers.X-MS-APIM-Tokens' in the trigger outputs. Workflow has connection references '[\"shared_planner_1\"]' with invoker runtime source."}}'.
 
I ran the flow using a manual test which prompted me to authorize the connection.
This appears to have resolved the connection issue though the flow is going me other errors related to blank values which have never been an issue in three years. 
 
Question: How do I ensure this token is perpetual and doesn't cause our business processes to fail without warning?  
 
EDIT: This is happening with multiple workflows now. This is a disaster that I need to fix at 5pm on a Friday before a holiday weekend. How can I get support for things like this? 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492