cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Encrypted Password Validation

Hi,

I am trying to create an app. I have a login screen with UserId & Password.
I need to check whether the userid & password provided by the user is already present in my SQL Server DB(Data source) or not.
The passwords in SQL Database are in encrpyted form. Can powerapps read encrypted columns from SQL Server?

6 REPLIES 6
Highlighted
New Member

Encrypted Password Validation

Hi,

I am trying to create an app. I have a login screen with UserId & Password.
I need to check whether the userid & password provided by the user is already present in my SQL Server DB(Data source) or not.
The passwords in SQL Database are in encrpyted form. Can powerapps read encrypted columns from SQL Server?

Highlighted
Community Support
Community Support

Re: Encrypted Password Validation

Hi @SR1,

 

If here the User Password is stored within one SQL Table, and the password is encrypted, there is no way for PowerApps to read that Password, unless the Password is deciphered before load in PowerApps.

 

Besides, if here you mean to use the SQL Server Authentication in PowerApps, then please check the following article for more details:

Connect to SQL Server from PowerApps

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Encrypted Password Validation

Thanks @v-micsh-msft
I am wondering how to compare plain password(entered in powerapps) with encrypted passwords available in my SQL server table.

Is it possible to pass the user input(password) from powerapps to an azure function(c#) and within this function do a
comparison with SQL table column value(column has encrypted passwords) and return back true or false result to powerapps?

 

Highlighted
Community Champion
Community Champion

Re: Encrypted Password Validation

Yes, it seems possible.

Highlighted
Frequent Visitor

Re: Encrypted Password Validation

Hi

 

We're fighting exactly the same problem. We have a simple login screen with username &password and the data is retrieved from a SQL database. At the moment the password is stored as plain text in the DB, but the way we want it is encrypted. I know that it is possible to encrypt the password in the DB, but then it can no longer be read by Powerapps.

 

Would you be kind enough to explain how you solved this problem?

 

 

Kr,

Marcel

Highlighted
Regular Visitor

Re: Encrypted Password Validation

Has this problem been solved.   My database has encrypted passwords and I was just creating a simple login to check my database for the userid and password but how do we unencrypt so powerapp can compare.

 

 

 

 

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,190)