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 / Restrict external iden...
Power Pages
Answered

Restrict external identify provider signup to match contact email

(0) ShareShare
ReportReport
Posted on by 40

In my testing, it seems possible for a user to signup with a different email to the one an invitation was sent to.

 

Example

I create a contact with the email user@business.com and email them an invitation code.

The user clicks on the link in the invitation and sets up their account using a 3rd party identity provider (Google, Microsoft, etc) but its their personal account with the email user@personal.com 

 

How do I prevent that from happening?

Categories:
I have the same question (0)
  • Verified answer
    Inogic Profile Picture
    1,291 Moderator on at

    Hi @richardmayo ,

    You can configure the registration form to restrict users from modifying their email addresses.

    Please follow the steps given below,

    Step 1: Initially we need to Create a Content snippet, set the values as shown in the Screenshot,

    Name: Account/Register/PageCopy

    Type: HTML

    Step 2: Then, Paste the code given below in the Value(HTML) Section

    <script>

    $(document).ready(()=>{

        emailTextBo = $("#EmailTextBox").val()

        if(emailTextBo != "" || emailTextBo != null){

            $("#EmailTextBox").attr('readonly','readonly')

        }

    })

    </script>

    Please refer to the Screenshot given below,

    Inogic_0-1692006796552.png

     

    Step 3: Save and sync the Website,

    Finally, In the registration form, users cannot edit the email field as it is locked or set to read-only.

    Inogic_1-1692006805915.png

    Thanks!

     

    Inogic Professional Services Division

    Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!

    Drop an email at crm@inogic.com

    Services:  http://www.inogic.com/services/

    Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

  • Richard Mayo Profile Picture
    40 on at

    Thanks, @Inogic for the detailed response!

    In the end, we went for an AzureB2C solution, but your idea would have worked perfectly!

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
11manish Profile Picture

11manish 42

#2
Valantis Profile Picture

Valantis 24

#3
omkarsupreme Profile Picture

omkarsupreme 23

Last 30 days Overall leaderboard