cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

Checking if user has permission on the lists used in PowerApps

Hi

 

I need to display an error to user if he doesnt have permission on SharePoint List used in PA saying "You dont have access to this list."

 

I tried using " DataSourceInfo" function but it seems to return "True" value in always even if the user has access on list or doesnt have access on the list.

 

How do i achieve this ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Checking if user has permission on the lists used in PowerApps

Hi @abd3127 ,

 

If your user doesn't have the permission for the list connected to the app, then after he open the app and PowerApps will ask for the credential for SharePoint connection. Once he filled it, PowerApps will give the error message and tell that he doesn't have the permission to use this data source.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Checking if user has permission on the lists used in PowerApps

Hi @abd3127 ,

 

If your user doesn't have the permission for the list connected to the app, then after he open the app and PowerApps will ask for the credential for SharePoint connection. Once he filled it, PowerApps will give the error message and tell that he doesn't have the permission to use this data source.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,800)