Showing results for 
Search instead for 
Did you mean: 
Kudo Collector
Kudo Collector

Refresh security roles?

I have created a security role that goes with a certain canvas app, and I seem to have missed some permissions while configuring it. So, after updating some of the permissions in the role, I tried again, but I still received security errors in my app. The errors persisted until the I completely logged the user out of the PowerApps app, and re-logged in.


Of course, I missed a few more permissions.... so I had to do the whole login dance a few more times, which ended up more time consuming.


My questions:

* I assume the security role is cached. But when is the user/security role info refreshed?

* Is there a way to force refresh this info without logging out?

Community Support
Community Support

Hi @MrNappa ,

Do you want to know how much time does refresh security role take and can you refresh security role without restarting app?

I'm afraid I didn't found any doc about refreshing security role.

But I believe it indeed need some time.

I suggest you wait for a moment (at best 1-2 hours) after you update your security role and then run your app.

Also, you need to restart your app.

Or else, many updates may not take effect.

I suggest you express your views about adding functions of refreshing security role on PowerApps Ideas Forum. Your precious feedback will be very helpful for our work.



Best regards,

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

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,287)