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 / generic oAuth 2.0: Ref...
Power Automate
Unanswered

generic oAuth 2.0: Refresh token rotation

(0) ShareShare
ReportReport
Posted on by 29

Hello,

 

we have been working on a custom connector for some time and have had some issues with token refreshing. We have setup the connector to use generic oAuth 2.0, retrieving access tokens and a refresh token works for an initial period.

 

Access tokens are also refreshed regularly. However, we have token rotation and expiry enabled on our refresh tokens every 2 weeks. After this point access tokens are no longer refreshed for the connector, our identity provider includes a new refresh token when the current refresh token is exchanged for renewed access.

 

Does a custom connector (and the built-in authentication) support rotation of refresh tokens, or does it expect the refresh token to be valid indefinitely?

 

Many thanks

Categories:
I have the same question (0)
  • JBadham95_TT Profile Picture
    2 on at

    Hi,

     

    Did you ever find a solution to this?

     

    Thanks.

  • apdams Profile Picture
    2 on at

    I have the same question. Did you ever solve this. I have the same problem. My tokens refresh for as long as the refresh token is valid (588000 seconds ~ 6.8 days). After 7 days,  I have to manually refresh the token in order to get a new refresh token.

     

  • IndraDeMesmaeke Profile Picture
    29 on at
    We ended up using a non-rotating refresh token and set up an inactivity expiration that was sufficiently long for our users. Not really the solution we were looking for, but it allowed us to continue.

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
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard