Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Local sign in power apps portal with email approval.

Posted on by Microsoft Employee

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
    HD-30040748-0 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
    LeoAlt 16,329 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

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans