Skip to main content

Notifications

Dynamics 365 general forum
Answered

Creating a Portal User using Power Automate

Posted on by 390

Hi,

does anyone know it its possible to create a Portal User (Contact) using Power Automate?

Today we use legacy WF and a adxstudio plugin to generate the security stamp that i think needs to be active in order for users to be able to reset the password and login. 

thanks for any insights

Best regards

Martin

Categories:
  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Creating a Portal User using Power Automate

    Hi partner,

    If my answer helped you, please mark my answer as verified so that we could help other users with similar issues :)

    Regards,

    Leo

  • icimasa Profile Picture
    icimasa 390 on at
    RE: Creating a Portal User using Power Automate

    Hi Leo,

    thanks for the information :) appreciate all your help on this

    have a great day and stay safe

    best regards

    Martin

  • Verified answer
    LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Creating a Portal User using Power Automate

    Hi Partner,

    Yes, we could generate the stamp in power automate automatically. As we know the security stamp is a GUID value, so we just need to set a new GUID to security stamp field.

    pastedimage1603348445716v1.png

    We should use the "guid()" function in power automate, I test it and worked well.

    pastedimage1603348479745v2.png

    Regards,

    Leo

  • icimasa Profile Picture
    icimasa 390 on at
    RE: Creating a Portal User using Power Automate

    Hi Leo,

    No worries, I'm just glad getting som assistance on this..

    do you know if the security stamp needs to be generated in a specific format and if how can we do that in power automate?

    best regards

    Martin

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Creating a Portal User using Power Automate

    Hi Partner,

    Security stamp should be set automatically when sign up new user(contact) for portal in D365, so if you want to create contact by power automate, it is also needed, sorry that in my screenshot I only provided an example about how to create contact by power automate.

    We do need to set the value for all needed fields.

    Regards,

    Leo

  • icimasa Profile Picture
    icimasa 390 on at
    RE: Creating a Portal User using Power Automate

    Hi Leo,

    Thanks for your reply, but I wonder in order for it to be a portal contact the security stamp needs to be set. But maybe it as you posted would just be to set the password field to a random hash so when a user wants togin on the portal they just do a reset password and they should be good to go. 

    So you don't think we need to set the security stamp? 

    Best regards 

    Martin 

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Creating a Portal User using Power Automate

    Hi Partner,

    Actually the portal user is contact in D365, so we do could use Power Automate to create Contact automatically.

    1.Create a new Flow with the trigger you need.

    2.Add a new step to create new contact.

    pastedimage1603248612096v1.png

    pastedimage1603248634523v2.png

    If my understanding is not correct, please feel free to let me konw.

    Regards,

    Leo

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans