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?
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.
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
Best regards,
Michael E. Gernaey
9
Super User 2025 Season 1
bscarlavai33
5
Super User 2025 Season 1
getsplash
2