Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Local sign in power apps portal with email approval.

(0) ShareShare
ReportReport
Posted on by

Hi

This is the scenario my management wants me to do for the powerapp portal.

  1. When a user registers into portal using local sign in, a automated mail has to be triggered to portal admin for approval for the above user to provide access or reject. If the user is approved, then a web role has to be assigned to that user so that he can access different web pages in the site.

Is this even possible. For time being we are disabling AD authentication. Only local sign in enabled.

Thanks

  • HD-30040748-0 Profile Picture
    7 on at
    Local sign in power apps portal with email approval.
    Hi LeoAlt,

    Can you please elaborate a little bit more cause my email action is not getting triggered and it was showing this error "
    ActionBranchingConditionNotSatisfied. The execution of template action 'Send_an_email_(V2)' skipped: the branching condition for this action is not satisfied."  so can you please explain and I used owner(value) is equal to SYSTEM in the branch condition but it is getting false results.

    Thanks in advance
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Local sign in power apps portal with email approval.

    Hi partner,

    It is possible to send automated mail to admin when a new user has been registered into portal.

    Actually when a new user registered in portal, there will be a new contact record created in D365, so we only need create a  Flow to create and send mail to administrator when a new contact has been created in D365 with owner is SYSTEM. (Due to the workflow in D365  could not choose SYSTEM as a condition in owner field, we could not choose workflow to do this)

    pastedimage1594101693271v1.png

    pastedimage1594101727008v2.png

    Creating a new flow and set the trigger to when a record has been created.

    Add a condition to check if the owner is SYSTEM.

    If it is, then add a new action to send email, in Flow, you could send email by creating email record in D365 or send email by outlook directly.

    pastedimage1594102763068v3.png

    Best 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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans