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 make username e...
Power Pages
Answered

How to make username equal to email in registration form?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi! I want to make Username not editable and equal to entered Email in Registration form.  How can I get it? 

image.png

Categories:
I have the same question (0)
  • eugenevanstaden Profile Picture
    441 on at

    @Anonymous 

    Ensure you have the following Site Setting set to true: Authentication/UserManager/UserValidator/RequireUniqueEmail

    If you want to edit this form you need to inject some Javascript and copy the Email to the Username field. You can also lock the field in Javascript. Add your script in the Account/Register/PageCopy  Content Snippet.


  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi eugenevanstaden! Thank you for an idea. Could you help me to form JavaScript wich hides the Username field and copy email...

  • Verified answer
    Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    You can set the Site Setting so that email is the login and they will not be prompted for a Username.  Create/update the site setting:

    • Authentication/Registration/LocalLoginByEmail to true

    https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/set-authentication-identity#enable-aspnet-identity-authentication

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Fubar! Thank you for your answer. This option is about login screen, not registration. I have to get a user name equal to email during registration.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 55

#2
11manish Profile Picture

11manish 48

#3
Valantis Profile Picture

Valantis 46

Last 30 days Overall leaderboard