cancel
Showing results for 
Search instead for 
Did you mean: 
ragavanrajan

Power Pages: How to hide profile page for custom web roles?

Pre: Create a Power Pages Site with your desired template or use the Default design template. 

 

Section 1: Using Portal Management 

1.  Edit the Site using a design studio 

2. Click three little dots ( more items) from the left navigation  > click Portal Management 

 

ragavanrajan_0-1655073650257.png

 

3. Under Security > Web Page Access Control Rules > Create a new rule called "Restrict Read on Profile Page" 

 

ragavanrajan_0-1655081298773.png

 

4. Hit Save and Close 

 

NB: Do not associate any web roles with the newly created "Web page access control rules" 

 

Section 2: Creating & Assigning "SiteUsers" Web role 

 

1. Under security > Web Roles > Create a new web role called " SiteUsers" 

2. Set the Authenticated users role to "No" 

3. Hit Save 

 

ragavanrajan_1-1655081460880.png

4. Click Related > Contacts > Choose "Add Existing Contact"  > Add Megan Bowen . Add any siteusers you like. 

 

 

ragavanrajan_2-1655081563627.png

 

5. Hit Save and Close 

 

Output: 

 

1. Example: If Megan Bowen logs in to the site, she will not see the profile page, the profile menu will be hidden from the navigation 

ragavanrajan_3-1655081734415.png

 

Direct access to the profile page will throw the below error. 

 

 

ragavanrajan_0-1655081050001.png

*******************************************************************************************

 

Free pack of Power Pages and Power Platform cool stuff. Please consider subscribing by clicking here

 

Free pack of deep-dive sessions of Power Platform powered by key experts and MVPs.  Please consider joining the "Auckland Power Platform User Group"

Comments

"Do not associate any web roles with the newly created 'Web page access control rules' "...  why? thank you.