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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    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

  • HD-30040748-0 Profile Picture
    7 on at
    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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans