Announcements
I have developed several model-driven and canvas apps. How can I grant access permissions to multiple users, instead of adding one by one? Please help.
Your reply is much appreciate.
https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/share-model-driven-app
Under the basics you can find how to share apps with groups:
a team can be assigned a security role, and users can be made members of the team. A team can be an Owner, Access, Azure AD security group, or Microsoft 365 group.
Thanks for your information.
On the other hand, how can I assign security roles to a canvas app?
In the following screen, I cannot find any security roles. Would you please help?
Hi @dsze ,
The screenshot is for a canvas app, right? The details for sharing canvas apps can be found here: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/share-app
@dsze
For the canvas app, it is not tied to the security role and you need to share it with the Microsoft 365 groups. So, the users need to be assigned the security role (to have access to the tables in the Dataverse) as well as be added to the M365 group that the canvas app is being shared to.
https://devoworx.net/share-powerapps-with-office-365-group/
Dear @LinnZawWin ,
If I have 10000 users and 100 apps (including canvas and model-driven) and different app has different users, do I need to create different M365 groups for different apps? Or, any suggestion for this scenario?
Regards,
Davis
Hi @dsze
It depends on how you segregate the access to the app.
If you have a very specific app for a few users, there should be a specific M365 group for that app (or share it with individual users if there are not a lot)
If there are a few apps which are being used by the whole department, you can share those apps with the M365 groups for those departments.
Do you mean that I have to create a M365 group for each app, if the users are different in each app?
If there is no common pattern and the users are different in each app, I guess sharing the app to the individual user and adding one by one would be the better option. (instead of creating redundant non-reusable M365 groups)
Dear @LinnZawWin,
If there are different permission roles in the app (e.g. Super Admin, Admin, Department User, General User etc.), each role can access different functions and screens in the app (Super Admin can access all functions and screens). How can I implement this role-based permission in PowerApps?
I believe you're referring to the role-based permission (using Dataverse security roles assigned in Power Platform Admin Ceter) in the Power Apps "canvas apps".
If that's the case, it needs to be handled with the expression in the control's visibility. Can you refer to the blog post below?
https://nishantrana.me/2021/07/06/how-to-hide-and-show-controls-in-canvas-app-based-on-security-role-of-the-user-dataverse-dynamics-365/
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 491
WarrenBelz 407 Most Valuable Professional
11manish 331