cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
New Member

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?

Community Support
Community Support

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.

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?

 

Community Champion
Community Champion

Yes, it seems possible.

Frequent Visitor

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

Regular Visitor

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,655)