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 / When does a Power Plat...
Power Automate
Suggested Answer

When does a Power Platform connection get expired?

(0) ShareShare
ReportReport
Posted on by 2,011 Season of Giving Solutions 2025
Sometimes in the rapid development tools offered by power platform such as Power Automate, we have lot of things that get created behind the scenes and which we are not fully aware of.

For example, when we create an automate flow or a scheduled flow that retrieve SharePoint items and which send emails,then 2 connections will be created: -
  1. One to access the SharePoint site
  2. One to send the email
Now based on my experience, the service account connection will need to be re-authenticated in those cases:-
  1. If the admin reset the service account password
  2. If the admin adds an MFA to the service account or even remove existing MFA
  3. If the admin revoked sessions and passwords even without changing the service account password
While if I login to the office 365 using the service account and I change the password by myself, by going to “view account” >>
 


Then Password, change password:-
 
 


The connection will keep working.

So I am not fully sure, how the authentications for those connections work and when they need to be reconfigured/re-authentication?
For example, let say I work on a project , and they gave me a service account with a password and MFA, I login to the power platform, and I accept the MFA , I do my work, and have connections to SharePoint, key vault, one drive, outlook, and so on. Then will those connections expiry after specific period? Or as long as the service account password or the account security policy did not change then the connection should stay active? I am reading some articles that says power platform uses OAuth and this token will get expired after 90 days, some says after 1 years, and some says that when the token expires a refresh token will be sent to automatically and will reauthnticate the connections.. so not sure which info is correct?

Thanks
Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,521 Most Valuable Professional on at
    The refresh timing can vary depending on the connector, but in general the OAuth tokens in the Power Platform will refresh after 90 days.  The refresh token will do this automatically unless the account that created the original token has been changed in some way. For example, a password change or authentication requirement change (MFA).
     
    So if a user changes their password the OAuth token will continue to be valid until its time for the refresh (up to 90 days).  If an Admin changes the password that will also find the token and invalidate it as well.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • johnjohnPter Profile Picture
    2,011 Season of Giving Solutions 2025 on at
    @@Pstork1 ok noted thanks. now for one of the tenants i changed the service account password using the service account itself. from "view Account" >> "Password".. so instead of waiting for up to 90 days, to reauthnticate, can i reauthnticate now ? For example, if i go to a connection >> and i click on "Switch account", and then i relogin using the same account, will this cause the token to refresh now?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 378

#2
Valantis Profile Picture

Valantis 329

#3
David_MA Profile Picture

David_MA 283 Super User 2026 Season 1

Last 30 days Overall leaderboard