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 Apps / Simplifying security d...
Power Apps
Answered

Simplifying security distribution to lots of user in a canvas app

(1) ShareShare
ReportReport
Posted on by 98
Hello,
I've been wrestling with how to give my users the necessary data permissions in a canvas app I'm building.
 
The error message I'm getting is the usual one: 'Error when trying to retrieve data from the network'
I'm using dataverse entities as the main data storage for the app, not sharepoint.
 
Based on my research, I've understood that canvas apps respect whatever permissions are applied to a given data source that's in use.
In this case, this would be security roles given the to the user and teams to which the user belongs, far as I'm aware. (I'm still learning these, so I may say something flawed)
 
The crux of the problem is that I don't what to end up having to assign security roles for every single user that uses the app as I feel it'd be a bit over the top.
First thing that came to mind then would be impersonation, which I'm personally most used to using in plugins.
Thus, I started looking into using it in a canvas app, and well, I'm not sure it's possible by now.
 
So mainly these are the two points I wanted to ask about most:
  • Am I missing something and is impersonation actually feasible in a canvas app?
  • If not, what other choices do I potentially have to provide the correct permissions to my user en-masse, or in some similar way?
Categories:
I have the same question (0)
  • Verified answer
    AmínAA Profile Picture
    1,228 Super User 2025 Season 2 on at
    Greetings Salim_A_M!
     
    My suggestion would be for you to first, create a specialized role within the solution, assigning it the basic user permissions and enabling the any of the (REUD) permissions of the tables. This should guarantee that the users to which you assign the role, have just the permissions regarding the App. And instead of assigning said role manually to each and every user, you could create a Microsoft Group in the Microsoft Admin Panel, and assign the users within the group, then you can share the App exclusively with said group and assign your custom role just to the group instead to assign it to each user individually. This way you can better control who holds each permission.
     
    Hopefully this solves your problem, if that's the case, feel free to mark this reply as an answer, otherwise feel free to reply as well to get further help!
  • Salim_A_M Profile Picture
    98 on at
    Hello AmínAA,
     
    Thank you for the overview.
    This does mostly solve the problem for now.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard