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 / Hide pages until email...
Power Pages
Answered

Hide pages until email confirmed

(0) ShareShare
ReportReport
Posted on by 82

Hi everyone,

 

I would like to hide all pages except Home and Profile until email is confirmed.

 

Anyone knows how to do it?

Thanks,
Pedro

Categories:
  • Verified answer
    oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    One thing you can do is creating Web Page Access Control Rules for all your pages (besides home/profile), defining that only users with Web Role = X can view the pages.

    Then when a new user is created, you don't assign the new Web Role just yet. You can wait until the Email confirmed has changed (via Workflows/Power Automate Flows) and then setting the Web Role so the users can view the Pages.

  • pedrodecarvalh Profile Picture
    82 on at

    Hi @OliverRodrigues , 


    I really like that option. I was looking for some field that could show me what web role the contact currently has but i couldnt find it. Could you help me with that?

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

    Hi @pedrodecarvalh , 

     

     I am afraid you cant view the current web role as a field. Instead on your home page or any other page.

     

    Possibly at the header or footer, you can add the following liquid tag which will show you what is the current web role of the users. 

     

    {{user.roles}}  or

     

     <span><strong>{{user.roles[0]}}<span>,&nbsp;</span>{{user.roles[1]}}</strong></span>

     

    Output: 

     

    ragavanrajan_0-1619559889296.png

    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 41

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 22 Super User 2026 Season 2

Last 30 days Overall leaderboard