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?