Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

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.

  • paulsnolan Profile Picture
    179 on at
    Re: Web Role with multiple Web Page Access Control Rules not working

    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.

  • Summer Garg Profile Picture
    48 on at
    Re: Web Role with multiple Web Page Access Control Rules not working

    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

  • Verified answer
    ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Web Role with multiple Web Page Access Control Rules not working

    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.

     

  • Fubar Profile Picture
    8,021 Super User 2025 Season 1 on at
    Re: Web Role with multiple Web Page Access Control Rules not working

    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. 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35