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.

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,963)