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 / How to Restrict read o...
Power Pages
Answered

How to Restrict read on web page to authenticated users?

(0) ShareShare
ReportReport
Posted on by 121

Hello Experts,

 

I have one web page on my portal and it is accessible for anonymous users only. I have enabled the permission 'Page available to everyone' so that anonymous users would get access to page.

 

on the other part,

I want to restrict read this page from the authenticated  users who logs in to the portal with username and password.

how should I achieve it?

 

Note : I want to hide the menu item(web page name) as well from the top navigation for this page when authenticate users logs in to the portal.

 

any quick response is really appreciated!!

 

Regards,

Pranesh

 

Categories:
I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi

    What you want is to enable the page for only anonymous is that it? 

    What I would do here is adding a flag in the "Web Link" record for something like "Hide for authenticated users", and you can validate this flag and skip when rendering the menu.

    I have a post where I show a customization in the menu by adding a custom flag in the Web Links: http://oliverrodrigues365.com/2020/05/30/power-apps-portals-navigation-menu-setting-up-a-tree-structure-menu/

    the final outcome from that post is a bit different, but you would be going down similar path.

     

    If you want you want is the opposite, allowing a page only for authenticated users, then you can use the Web Page Access Controls Rules: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/webpage-access-control

     

  • Verified answer
    MarkBiggerstaf Profile Picture
    Microsoft Employee on at

    Hello,

     

    The restrict read for a web role is well documented in the link below.

    Manage page permissions for a portal - Power Apps | Microsoft Docs

     

    This is a good blog post on the restrict read and discusses how the link in the main nav will be hidden when users do not have access to the page.

     

    https://readyxrm.blog/2020/11/30/power-apps-portals-how-to-show-the-menu-link-for-a-restricted-page

     

    I hope you find this information helpful.  Have a good day.

     

    Thanks,

     

    Mark Biggerstaff

    Dynamics Support

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
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 25 Super User 2025 Season 2

#3
Jerald Felix Profile Picture

Jerald Felix 23

Last 30 days Overall leaderboard