web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Local authentication |...
Power Pages
Suggested Answer

Local authentication | How to reset Dataverse contact password using power automate workflow.

(0) ShareShare
ReportReport
Posted on by 8
How to reset Dataverse contact password using automated power automation workflow. I tried to update the "New password input" field. But not updating the Password Hash column. and I can see the value in text format as it is in the "New password input" field. 
 
I want to create a local user in the contact table using the power automate workflow and then create his password and username in the same workflow and send him the details. The reason for doing this is that we do not want to have an open registration process. we also do not want to use Power pages Invitation functionality because that allows the user to change his email ID during the Redeem invitation page, which we do not want. 
Categories:
I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    8,363 Super User 2025 Season 2 on at
    It may be different depending on if you are using Enhanced or the standard model (the Dynamics 365 portals use Standard).
    For Enhanced, believe you can just update the field "New Password Input" on the Contact record with your raw password - this should trigger the creation of the Password Hash (and also clear the New Password Input field you just populated). This definitely hashes for me.
     
    (not sure but it may also need Login Enabled to be set to Yes and Local Login Disabled set to No, but not sure about these)
     
     
  • Ashokhce Profile Picture
    8 on at
    Hello @Fubar - Do we have an option to select "using Enhanced or the standard model (the Dynamics 365 portals use Standard)" in power automate flow?
     
    The solution suggested by you did not work for me. While I am able to set the password manually in Dataverse for a new user by entering the password in "New password input" column. 
  • Suggested answer
    Fubar Profile Picture
    8,363 Super User 2025 Season 2 on at
    Standard and Enhanced generally use different Tables (but with the same Display Names but with a different schema prefix mspp_ ).  However, Contact is the same out of the box table for both.
     
    If you are using Standard, there used to be either an Action or a Custom Workflow Activity that you could use to hash in a Dataverse Workflow - but not sure if it is still there or not (could be the same as the one I mention below or similar under an adx one).
     
    If you are using enhanced (may also be the same for standard), turn on the Dataverse Plugin Trace Log (set to All), then use the out of the box Password Reset button from the Contact in the Portal/Power Pages Management App, after doing it check the trace log there should be an entry (check if it was successful etc and that the Password Hash field on the contact is hashed), then do the same from your flow and check the trace log etc 
     
    Similarly for enhanced, you may be able to use the Custom Workflow Activity  (Dataverse Workflow not Power Automate Flow) "Microsoft.PowerPages.Workflow.Identity.ChangePassword" which sits under "Microsoft.PowerPages.Runtime.Plugins (1.0.2303.1)" in the Workflow Editor "Add Step" (e.g. may be able to Create a Dataverse Action with an Input for the raw password, the Input into the Custom Workflow Activity, and then call that Action from Flow)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard