Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

How to set a default password using Microsoft Flow for a Dynamics CRM Portal(ADX Portal) User Record

Posted on by 5

I have a requirement where I Need to set a default password of <Welcome1> for a newly created Portal User (Contact) in Dynamics 365 CRM using Microsoft Flow.
I tried to set the field "Password Hash" field to a value obtained by setting an existing user's password to <Welcome1>


But the Hash value seems to be changing based on number of parameters and will be different from user - user and time-time.

Can any one please let me know how to achieve this.

  • Suggested answer
    Hari Chepuru Profile Picture
    Hari Chepuru 5 on at
    RE: How to set a default password using Microsoft Flow for a Dynamics CRM Portal(ADX Portal) User Record

    Thanks Ravi,

    This works.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to set a default password using Microsoft Flow for a Dynamics CRM Portal(ADX Portal) User Record

    Hi,

    I have achieved the similar implementation (Generating the Initial Password) using the out of box workflows. It appears that the only way to change the password is by calling the AdxStudio custom workflow activity directly "Adxstudio.Xrm.Workflow.Identity.ChangePassword". I have also called the Adxstudio.Xrm.Workflow.Identity.SetSecurityStamp to set the security. Within Out of box workflows it is working fine for me.

    As you need to do it from Flow, you can create a workflow to change the password in CRM using Out of Box workflow and then trigger that workflow on change of some dummy field. Within your flow, you now need to update that field.

    Hope this helps.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans