Definite guide on how to share a Power Apps App with users and notify them
Use Power Automate flows to simplify app sharing
After reading multiple articles for an issue I had to solve recently, here is the definite guide to how to share a Power Apps app with users.
In the case below, I have built the following flow:
Manually triggering a flow : This has “Email” as an input and looks up active director
Add users to database: This is for my app which uses Azure SQL and has a query to add users in a database so they can use the app
Get user is an Azure Entra ID Connector to get user data via the Email from above
Use the Edit App role assignment to share the app with users. Let me explain the bits.
Open the Application on a new tab. Notice the URL, which should look like this :
https://apps.powerapps.com/play/e/something1/a/something2?tenantId=something3&hint=somehint&sourcetime=1727655740233&source=portal
PowerApp Name = Something1
Environment Name = Something2
NotifyShareTargetOption = 1 enables you to send them notification that the app has been shared with them via Outlook and Teams. Set it to 2 if you don’t want to notify the users.
Some other features you can build to compliment this feature:
When a user requests access, you will be notified, you can use a Power Automate flow to extract the data and to store it in a SharePoint list / Database and then trigger this flow by replacing #1 with “When a row is added”
Bulk share an app with users by doing an apply to each loop via power automate for a list of users in your data.
That is it! Now you are ready to share your apps with the world and to notify the users.