Notifications
Announcements
Right now some users have access to the power app, and a subset of said users have access to the sharepoint list being used by my powerapp. For the users that dont have access: the powerapps doesnt work at all (which is what I want). However I want to know if its possible to detect that they dont have permissions to the sharepoint list and show a screen inside of powerapps with an error about permissions?
is there an easy way to do that?
Hi @LuisTorres --------------------------------------------------------------------------------If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.Thanks,Reza Dorrani, MVPYouTubeTwitter
You will have to check user permissions within the App.
https://www.youtube.com/watch?v=dIzOAbMjN7g
is there really no better way of doing that?, the list with one record could cause confusion, and if deleted will break the entire app. I just want the people from the sharepoint group to have access to the powerapp. And everyone else to not have access to the powerapp.
Hi @LuisTorres ,
Why is the Power App shared with them if you do not want them to use it? Assuming this is not the fix (and I cannot test the following), you might try a something like this on the Visible of label (using one of the connected lists) on the screen with the message you want.
!CountRows(SharePointListName)>0
This should make it visible if PowerApps finds no records in the List.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
I ended up doing a permission check with the API from sharepoint in flow. and checking if the current user belongs to the permission group that has access to the sharepoint group when opening powerapps.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268