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 Pages / Possible for logged in...
Power Pages
Unanswered

Possible for logged in user to alter between different roles?

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

we are in the start of building a Power Apps Portal site that only will allow for logged in users to visit. There will be possible for the logged in users to have multiple roles that should reflect the contents of the portal. My question is if it is possible in Power Apps portal for logged in users to alter between different roles (contextes)?

 

/ Lisa

Categories:
  • MarkBiggerstaf Profile Picture
    Microsoft Employee on at

    Hello,

     

    I want to make sure I understand your questions correctly.  Can portal contacts (portal users) have different web roles assigned to them and access different content?  -- In this situation, yes you can have different web roles for different contacts.

     

    If you are asking if you can change on-the-fly the web role from the front-end while the portal contact is logged in, then no.  You would need to change the web role in the environment and then clear the cache in order for the changes to reflect immediately on the portal.

     

    Please let me know if I understand your question correctly and if you need additional information.

     

    Thanks,

     

    Mark Biggerstaff

    Microsoft CRM Dynamics

     

     

  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi @lisa4, I know it's an old thread, but in case you haven't resolved yet here is an idea to your issue:

     

    create a real-time workflow against your record, and in the workflow use the existing actions to associate/disassociate the Web Roles you need.. I just did a quick test here and worked fine and on-the-fly, no need to sign-out or clear cache

     

    OliverRodrigues_0-1596567131975.png

     

     

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

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

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

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 139

#2
Mohsin Ali Profile Picture

Mohsin Ali 41

#3
11manish Profile Picture

11manish 19 Super User 2026 Season 2

Last 30 days Overall leaderboard