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 / Create Password Field ...
Power Pages
Answered

Create Password Field in PowerApps Portal

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Experts,

I have a requirement where I need to capture the details for the user using an Table(entity)form which should contain fields for username and Password. Could anyone please suggest me how to create a password field in the entity form?

Your help is greatly appreciated.

Thank you..

Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    Do you mean you want to mask a password on the form, right?

    The easiest solution is Field Level Security, I believe. You can allow “update” and “create” without giving “read” permissions. As a result, a user who is not a system administrator, and who has been assigned that kind of field security profile will see masked values when he/she will be looking at the data. 

    See more: Field-level security to control access 

    Hope this helps.

    Sik

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-siky-msft ,

    Could you please suggest me how to allow “update” and “create” without giving “read” permissions? I have enabled field security for the field. But it is showing up as a text field only..

    Your help is greatly appreciated.

    Thank you

  • oliver.rodrigues Profile Picture
    9,425 Most Valuable Professional on at

    Have you thought about how to store the password? are you storing it in a hash format or something?

    Setting up Field Security Profile is very important to secure your field: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/security-dev/use-field-security-control-access-field-values#:~:text=The%20System%20Administrator%20field%20security,t%20be%20updated%20or%20deleted.

     

    note that this is only applicable from the Model-Driven App level, the Portal simply ignores the Field Security Profile, so that will be visible in the Portals

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

    Can you explain what you need this for e.g. is it a password for a for a Portal user or some other system etc. 

    There are also other considerations, e.g. the field should not be audit enabled, after the raw password has been entered it should be encrypted and the raw password discarded etc (typically this encryption and discarding may possibly be done using a pre-create plugin).

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Fubar , I need to create a password field for a different system and it should appear in the hash format while typing.. Could you suggest me how to do this?

    Thank you

  • Verified answer
    oliver.rodrigues Profile Picture
    9,425 Most Valuable Professional on at

    Hi, you can via JS/jQuery set the input type to Password in your Portals, on your Entity Form or Web Page, apply the following:

    $("#<field id>").attr("type", "password")

    I would also consider the following:

    - add plug-in on the create/update to change this value to a HASH format

    - add field security profile to protect the field in the Model-Driven App

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
Hammed Profile Picture

Hammed 22

#2
Lucas001 Profile Picture

Lucas001 21 Super User 2026 Season 1

#3
DP_Prabh Profile Picture

DP_Prabh 19

Last 30 days Overall leaderboard