web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Web Role with multiple...
Power Pages
Unanswered

Web Role with multiple Web Page Access Control Rules not working

(0) ShareShare
ReportReport
Posted on by 179

Hi All

 

I have a question re Web Page Access Control Rules and Web Roles. I've created a number of web pages and a Web Page Access Control Rule for each page. I've also created a Web Role for each Web Page Access Control Rule and then associated one or more contact with a role. This works fine to be able to restrict access to a page. What I would like to be able to do is have a web role that applies to more than one Web Page Access Control Rule and then associate a contact with that role.

 

I've created a role, "Portal - Full Access", with multiple associated Web Page Access Control Rules, "View Page A" "View Page B" etc. and I've associated a contact, "Test Contact 1" with that role. However, Test Contact 1 can't see any of these pages. What am I missing? If I create roles and rules one to one and then associate a role with a contact it works, but not multiple rules to one role.

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    Having one Web Role with multiple Access Control Rules is the norm - so not sure why you are having an issue.  Make sure that you have cleared the Portal Cache (sync in the make.power apps interface or yourportalurl/_services/about when logged in as a portal user with the Administrators web role), also make sure the user logged out and back in. 

  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @paulsnolan , 

     

       Please try the following steps 

     

    Pre: 

    1. While creating web role > Make sure you select "No" to Authenticated users Role and Anonymous user role

     

    Step 1: Please create your web roles, web page access control rule as per the below table 

     

    #

    Web Roles

    Web Page Access Control Associated view

    Right & Scope

    Web Page Name

    Contact

    1

    Page1Managers

    RestrictPage1

    Restrict Read, All content

    Page1

    Ragavan Azure AD

    2

    Page2Managers

    RestrictPage2

    Restrict Read, All content

    Page2

    Ragavan personal outlook

    3

    Portal-FullAcesss

    RestrictPage1 &  RestrictPage2

     

     

    MultiSuperUser

     

    NB: Remove existing web page access control rule and please create web role as per the above table. Screenshot for your reference 

     

     

    ragavanrajan_0-1616554311743.png

    Output: 

     

    1. Logged in as Ragavan Azure AD account = only allowed to see page1 as per the above table 

     

    ragavanrajan_1-1616554506041.png

    2. Logged in as Ragavan personal outlook account = only allowed to see page 2 

     

    ragavanrajan_2-1616554598128.png

    3. Logged in as multi super user = allowed to see page 1 and page 2 

    ragavanrajan_3-1616554663119.png

     

    In addition, please follow @Fubar instructions as essential. 

     

    Hope it helps. 

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

    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.

     

  • Summer Garg Profile Picture
    48 on at

    Hi,

     

    Please check below article :

    https://crmhub.blogspot.com/2018/02/create-new-web-roles-in-Adx-Studio-Portal-D365-Portal.html

     

    Hope it helps you to fix your issue.

     

    Thanks,

    https://crmhub.blogspot.com

  • paulsnolan Profile Picture
    179 on at

    Thanks for all the replies. We had done as you instructed, the issue was that it took a good few minutes for the changes to take effect.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard