cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (11,342)