Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How to prevent Office 365 Groups connector certificate/token expiring in Power Automate

(1) ShareShare
ReportReport
Posted on by
We're using a Power Automate flow with the Office 365 Groups connector and a service account whose password doesn’t expire. The flow runs several times a week and was working fine until we recently encountered this error:
Action 'List_group_members_-_Intranet_Team' failed: 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): '5/6/2025 11:59:59 PM', Current time (UTC): '5/7/2025 1:26:43 AM'.
Why is the token or certificate expiring even though we're using a non-expiring service account? Is there a way to prevent this, or a recommended approach to rotate or refresh certificates for connectors 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 >

Featured topics

Restore a deleted flow