Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

How to compare case sensitive passwords in Power Apps

Hi Guys,


I have come across a scenario where i have to validate the user name and password for logging in to a particular screen.

The password is auto generated and send to the person who is logging in. The password is a alphanumeric string which has both lower case and upper case alphabets.


When i try and validate using the StartsWith function the user is able to login even if he/she enters the password irrespective of the case. I want the password to be case sensitive and only grant the user access if the entered password matches the given password as it is.


The generated password is stored in a SharePoint list.


How can i achieve this. Kindly advise on how to move ahead.


Thanks & Regards 



Hi @v-bofeng-msft ,


Yes my app is working now and i have accepted your recommendation as the solution.




Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (20,124)