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 / 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
    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

  • Verified answer
    oliver.rodrigues Profile Picture
    9,425 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

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 17 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 12

#2
CN-06091549-0 Profile Picture

CN-06091549-0 12

Last 30 days Overall leaderboard