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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Button for new users t...
Power Pages
Unanswered

Button for new users that are authenticated to request access to the website?

(0) ShareShare
ReportReport
Posted on by 520

I`m new to the whole powerapps, so any suggestion is welcomed.
So the way I want this to work is:

All the new users that are authenticated, will have access denied, but I want to show them a page, in where they can request access, like pressing a button (I don`t think there is need for a form, but is it possible if needed?). 
After pressing that button, the admin should be notified (not sure how, and what possibilites are).

After the admin is notified, then he can either look for that user and manually assign the right Webrole,
or the better suggestion, is for the admin to have in that email/notification, two buttons, one to reject (that will announce the user in the email or on the webpage, that his request has been rejected), and one for approval (that will change the role for the user, and maybe notify him by email or something).

Any help, how to go about this?
I`m open to any simplifications if this is too complicated.

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Robert94 

     

    I have achieved this exact process in one of our production applications. 

    Here are the high-level steps. 

     

    1.  Say you are an administrator of the portal or someone like a manager role.  

    2. You can invite the users using their email address ( Preferably Azure AD or AD B2C)  and select which web role they wanted to be in. Example ( site user, report viewer, etc) 

    3. use Power Automate and the Dataverse connector to trigger an email to newly added contact  > Send the invite

     

    ragavanrajan_0-1656584624355.png

     

    4. When the user receives an email, All they need to do is click on Sign in. 

    5. Trigger one more power automate flow which will assign a web role based on the web role selection you made. 

     

    https://www.inogic.com/blog/2020/02/associate-disassociate-two-entities-with-1-n-and-n-n-relationship-using-relate-unrelate-records-in-power-automate/ 

     

    Good luck and have fun.

     

    Hope it helps. 
    ------------

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

     

     

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard