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 Apps / Refresh a users token ...
Power Apps
Unanswered

Refresh a users token upon logging in

(0) ShareShare
ReportReport
Posted on by 1,796 Moderator

Is there a way to force power apps to pull a new access token when a user loads an app? I am having an occasional issue with a token being expired and a conditional access being blocked when the power app triggers a power automate flow that tries to connect to outlook or sharepoint. There appears to be an issue when people turn in old machines and received an updated machine, power apps tries, even though the change happened months ago, power apps or power automate is trying to use that old token instead of a fresh one from the machine they are accessing the app from. 

Categories:
I have the same question (0)
  • TuongDoan Profile Picture
    573 Moderator on at

    I believe we have no way to accomplish this. However, we can set an expiration time for a login session. Have you checked the expiration rules in Entra ID?

     

     

    ---------------------------

    If the solution I provided assisted you in resolving this issue, kindly select "Accept as solution" This will help others in finding the solution more expediently 😄Also, a Thumbs up would be a great compliment!

  • srduval Profile Picture
    1,796 Moderator on at

    I haven't yet, I'll look into it. So in theory if I set a expiration timer for say 1 day, after that day they would have to login to power apps again before they could use the application and maybe it would fix my token issue by issuing a new token at login?

     

    Also I don't believe I have sufficient privileges to our azure portal/entra id to find and set this. Do you know where it could be found so I can ask my Azure admins? 

  • Andy_Moyer Profile Picture
    29 on at
    Any luck on this issue?  I too am wondering how I can combat the expiring token and have some way to force my users to authenticate every 75 days via the app login.  

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard