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 Apps / Power Apps - Log in Page
Power Apps
Unanswered

Power Apps - Log in Page

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

 

I am going stir crazy with this!

 

I have created two fields via share point one being Username and the other Password (see screenshot, this is dummy data btw)

 

I have a log in page and i am trying to input a formula than when a user inputs the correct Username & Password and hit 'Submit' it will then to take them to the landing page.

 

So far, within the username text box in power apps i have put the below, but i receive an error message of being invalid.

 

If(LookUp(Test, Title = CMT1234.Text,Navigate([@'Landing Page'], ScreenTransition.Fade)

 

In the password one i planned to do this:

If(LookUp(Test, Title = Test.Text,Navigate([@'Landing Page'], ScreenTransition.Fade)

 

HELP!!! 

 

 
Test 2.JPG
Test.JPG
Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 
    Why are you creating a login screen with Username and Password?  PowerApps already has an authentication system using the user's Windows/Office365 username and password.  Why do you want the user to login twice?

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The reason i am doing this is because eventually this application will be developed into a live application which our external users can access.

     

    I wanted to design it just now using power apps, hence the log in screen for design purposes. Do you know the solution?

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 
    Is this a Canvas App?  Your external users will need to be setup with a Guest Account in Azure AD where they will be assigned a user name/password there.  I don't believe there is any need for what you are doing.

    Plus, storing unencrypted passwords in a SharePoint list is a security no-no.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I appreciate your comments, however not very helpful at this time. 

     

    If anyone else could assist with this temporary measure that would be great!

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 
    I don't understand... why build a login page you will never need or use?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Again, this is for design purposes and something that i am looking to do as a temporary measure.

    If you can assist then please do, if not then anyone else that can assist would be appreciated.

     

    There is many questions on this forum asking about log in pages - just nothing specific to my error message.

     

    Again, thanks for your help.

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous

    If you must do this for some reason... delete all the code you wrote so far.

     

    Put this code in the OnSelect property of your Login button (which you have not created yet).

    If(
     LookUp(Test, Username= TextInput_Username.Text, Password)=TextInput_Password.Text, 
     Navigate([@'Landing Page'], ScreenTransition.Fade),
     Nofity("Username and password combination are invalid", Notification.Error)
    )

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard