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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Creating a Portal User using Power Automate

(0) ShareShare
ReportReport
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

I have the same question (0)
  • LeoAlt Profile Picture
    16,331 Moderator 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

  • icimasa Profile Picture
    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
    16,331 Moderator 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
    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

  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator 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
    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

  • LeoAlt Profile Picture
    16,331 Moderator 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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 242

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 85 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 72 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans