web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Create Password Field ...
Power Pages
Unanswered

Create Password Field in PowerApps Portal

(0) ShareShare
ReportReport
Posted on by

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
    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
    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,368 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,338 Super User 2025 Season 2 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
    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,368 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard