cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
praneshJ
Helper III
Helper III

Power Apps: How to change the password of contact from Canvas App?

Hello,

 

I have a web application, from where I am creating contacts, the Contact details are stored in the Contact entity of CDS.

I need to change the password of the particular contact from the canvas app in power apps.
What are the ways to change the password of contact from the canvas app??

 

Help is really appreciated!!!! 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @praneshJ 

 

Yes, you can update the password using the below expression:

 

Patch(Contacts,LookUp(Contacts,Email = "myemailaddress@gmail.com"),{'New Password Input':"NewPassword"})

 

This will trigger an action in the backend and will change the password. The new password might take a few minutes to reflect.

 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @praneshJ 

 

Yes, you can update the password using the below expression:

 

Patch(Contacts,LookUp(Contacts,Email = "myemailaddress@gmail.com"),{'New Password Input':"NewPassword"})

 

This will trigger an action in the backend and will change the password. The new password might take a few minutes to reflect.

 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Hello,

 

Thanks for the solution.👍

 

Now want to encrypt the password while updating and use the same password while next time login.

I am not sure what are the functions to encrypt and decrypt the password in power apps.

 

Help will be really appreciated!!!!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,034)