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 / Only allow user with i...
Power Pages
Unanswered

Only allow user with invitation code to register

(0) ShareShare
ReportReport
Posted on by 8

Hello,

Seeking guidance on how to only allow users with invitation code to register in our Power Page as we are trying to limit the number of users who can get access.

Thank you!

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,559 Super User 2026 Season 1 on at

    Hello,

     

    there are different solutions to your problem.

    The easiest and fastest way would be to disable the Content Snippets which belong to the "Register"-tab and the external authentification-tab.

     

    For that go to the portal management under content snippets and search for the Account/Register/... Snippets and deactivate those which you don't want to show up.

     

    The more difficult way would be to adjust the Account/Registert/PageCopy with jQuery and CSS to .hide() all sections you don't need.

     

    Hope that helps.

  • DaisyPJ Profile Picture
    8 on at

    Thank you for the response @Lucas001.

    I follow what you have suggested but I/user can still register without the invitation code.

  • Lucas001 Profile Picture
    2,559 Super User 2026 Season 1 on at

    Hi @DaisyPJ,

     

    so I believe there are some changes you still have to do.

    I tried it on my tenant and it seems to be working.

    You still need the sign in but want to delete the register tab as far as I understand.

     

    First create the content snippet as explained here, as you will have to modify the SignIn Page with JavaScript.

    https://ulrikke.akerbak.com/2020/02/16/customize-the-sign-in-and-registration-page-in-power-app-portals/ 

     

    You later on need to replace the content with:

     

    <script>
    $("#content-container").addClass("signinpage");
    let register = $('#content > ul > li:nth-child(2)')
    register.remove()
    </script>

     

    if the selector is different on your page. Use the google chrome selector and paste it inside $('insert here')

     

    After that your page should look like that:

    Lucas001_0-1685026083533.png

    -----------------------------------------------------------------------------------

    Hope that helps. If it is the solution please give kudos and mark it as such.

  • Fubar Profile Picture
    8,491 Super User 2026 Season 1 on at

    You can try setting the following Site Settings (from the Portal Managment app):

    • Authentication/Registration/Enabled to true
    • Authentication/Registration/OpenRegistrationEnabled to false
    • Authentication/Registration/InvitationEnabled to true

     

     

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 59

#2
11manish Profile Picture

11manish 51

#3
omkarsupreme Profile Picture

omkarsupreme 27

Last 30 days Overall leaderboard