Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow Access Token Expires After 90 Days, Breaks Entire Flow For Some Users

(0) ShareShare
ReportReport
Posted on by 131

Hi there,

 

I have a PowerApps app that executes a flow upon a button being pressed. The Flow is supposed to send an email to the user. The issue is, when a user has not used the app for 90 days, they get the following 'Unauthorised" error message:

 

Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and office365 is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: office365certificate. Correlation Id=acd8bb0e-ca12-4a5c-b296-8976d31c935c, UTC TimeStamp=1/21/2019 9:58:54 PM, Error: Failed to acquire token from AAD: AADSTS70002: Error validating credentials. AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2018-09-17T20:50:04.6944271Z and was inactive for 90.00:00:00.

Trace ID: 6cd56f54-aa12-4106-ba85-1fb1eab86d00

Correlation ID: 4baaa3da-444a-4cda-b5d8-8e5058ba8099

Timestamp: 2019-01-21 21:58:54Z']

 

i.e. If they are inactive for 90 days, their access token is revoked. 

 

Even after signing into the app this issue persists, unless i make an entirely new flow. This seems pretty ridiculous for me to have to do after 90 days of inactivity for any one of the users.

 

Short of messing around with the expiry time of the tokens, of which i have no knowledge, how can i allow a user to use the flow without having to worry about an expiry time?

 

Thanks

  • v-yuazh-msft Profile Picture
    on at
    Re: Flow Access Token Expires After 90 Days, Breaks Entire Flow For Some Users

    Hi @Toasteroven,

     

    If a connection is expired, you could fix the connection.

    And if the connection isn't expired, you could create a new connection.

    Capture.PNG 

    Best regards,

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Toasteroven Profile Picture
    131 on at
    Re: Flow Access Token Expires After 90 Days, Breaks Entire Flow For Some Users


    Untitled.png

    I can see no option to update the connector

  • Toasteroven Profile Picture
    131 on at
    Re: Flow Access Token Expires After 90 Days, Breaks Entire Flow For Some Users

    How would i go about "update or create a new connection to the connector bepore the Flow Access Token Expires"

     

    Is there a way to automate this so I dont have to manually fix it every 3 months?

  • v-yuazh-msft Profile Picture
    on at
    Re: Flow Access Token Expires After 90 Days, Breaks Entire Flow For Some Users

    Hi @Toasteroven,

     

    Yes, the Flow Access Token Expires After 90 Days as you said.

    I afraid that there is no any way to prevent the Access Token Expires, so you could only update or create a new connection to the connector bepore the Flow Access Token Expires.

    And you needn't create a new flow to troubleshoting the problem. Link below could be your reference for managing connections:

    https://docs.microsoft.com/en-us/flow/add-manage-connections

     

    Best regards,

    Alice

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow