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 / How do I prevent token...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 457
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? 
Categories:
I have the same question (0)

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard