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

Community site session details

Session Id :
Power Apps - AI Builder
Suggested answer

password screen

(0) ShareShare
ReportReport
Posted on by

I want to add a password screen in my Power Apps application. The screen should have a password input and a login button. If the entered value matches the password stored in my data source, the app should navigate to the main screen. If not, it should show an “Invalid password” message. Please provide the steps and Power Fx formula.

Categories:
I have the same question (0)
  • Suggested answer
    WarrenBelz Profile Picture
    151,135 Most Valuable Professional on at
    password screen
    I am not sure why you need an additional password as Office365 authentication has already done this, but you need a reference list with user names and passwords and then when the user enters both, you would have
    If(
       LookUp(
          PasswordList,
          UserFieldName = YourUserTextBox.Text
       ).PasswordFieldName = YourPasswordTextBox.Text,
       KeepGoingActionHere,
       Notify(
          "Incorrect name/password",
          NotificationType.Error
       );
       Reset(YourUserTextBox.Text);
       Reset(YourPasswordTextBox)
    )
    Note if you are using Modern controls, .Text is .Value.
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful?
    Visit my blog
    Practical Power Apps    LinkedIn  
  • WarrenBelz Profile Picture
    151,135 Most Valuable Professional on at
    password screen
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful?
    Visit my blog
    Practical Power Apps    LinkedIn   

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 839 Most Valuable Professional

#2
developerAJ Profile Picture

developerAJ 489

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 397 Super User 2025 Season 2

Last 30 days Overall leaderboard