
Announcements
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.
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
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.
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.