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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Local sign in to porta...
Power Pages
Answered

Local sign in to portal with email approval.

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

Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Remember that Microsoft is recommending users to go for Azure AD B2C instead of local authentication

     

    have you already defined Web Page Access Control for you pages? those can be set by Web Role, so this would fit your requirement

    can the users still login when they are not approved? if yes I guess there is nothing you need to do.. your approval process will give the privileges to the additional pages once approved

     

    if they cannot login, I suggest playing with the flags "login/lockout enabled" can't remember which one, but one of those would lock the user 

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Your requirement can be divided into two parts, Approve from Admin and Assign Web Role automatically.

    The First Part can be implemented by Power Automate. Create a automate flow,  triggered when a new contact created, send a Email to Admin with option, then proceed with the next action based on the selected options. In order to be associated with the second part, I choose to update a value to the new-created Contact record when approved, to trigger the second part of the workflow.

    Overview about the Flow:

    Snipaste_2020-07-07_16-22-10.png

    The Second Part can be implemented by WorkFlow, start when Record fields change (mentioned above). Add a step to assign web role, Click set properties, Select the Web Role you want. When all have been done, Activate it.

    Overview about the workflow:

    Snipaste_2020-07-07_16-15-52.pngSnipaste_2020-07-07_16-17-21.pngSnipaste_2020-07-07_16-18-40.png

    For more reference about how to Automatically Assign Webrole to the Contacts in CRM Portals

    Hope this helps.

    Sik

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 139

#2
Mohsin Ali Profile Picture

Mohsin Ali 43

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard