Skip to main content



No record found.

Dynamics 365 general forum
Suggested answer

Local sign in power apps portal with email approval.

Posted on by Microsoft Employee


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.


  • 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,327 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)



    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.


    Best Regards,


Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans