cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Re: Prevent people from connecting an app to a SharePoint list

I agree, would like to know this as well.

 

For example, I have a few cases where the user should see the 'Add new item screen' only (e.g. after clicking a button 'Add Incident') and they never see the list?

Highlighted
Super User II
Super User II

Re: Prevent people from connecting an app to a SharePoint list

Hi all

 

I understand this is not ideal, but you can consider customizing the default form in the sharepoint list to be a PowerApp form as well, and just add one control on the Form to tell the user that they shouldn't be here Smiley WinkAttached is what they then see when they try and access an item.

 

You can then also hide all the detail on the view and prevent users from creating customised views.

 

2018-09-16_18-27-31.jpg

Highlighted
Helper I
Helper I

Re: Prevent people from connecting an app to a SharePoint list

This doesn't help as anyone can create a powerapp and connect to the list data, so your solution doesn't actually block access.
Highlighted
Anonymous
Not applicable

Re: Prevent people from connecting an app to a SharePoint list

I agree that there needs to be another way..

 

If PowerApps Forms are supposed to replace Infopath forms, we need a way to guide people to the 'new item' screen only without them seeing the underlying list at all! For example for submittiong CEPs (Capital Expenditure Proposals), Incidents, etc. For those cases it would not be acceptable for the user to see the list and therefore previously submitted data from others.

 

Maybe if it's possible to get a URL that links to the 'new item' form directly, and the form is customized to fill the screen, then the experience may be similar to an infopath form. However users could then still close the form and see the list..

 

sarafankit - Would you have any suggestions?

Highlighted
Power Apps
Power Apps

Re: Prevent people from connecting an app to a SharePoint list

The ability to get a link for New item already exists. Open the New Form in the list and click the "Copy link" option. You can just share that with other users.

 

image.png

 

Once they submit the form though, it will lead them to the list. So, if you are worried about users seeing entries made by other, you should use existing SharePoint capabilities to filter that out as it is done today with InfoPath.

Highlighted
Advocate I
Advocate I

Re: Prevent people from connecting an app to a SharePoint list

I'm able to block users from accessing the list while still being able to read and create/update/delete items using my app.  Even if they were to somehow get the list URL, they'll get "access denied".  I just can't prevent them from creating their own app and interacting with the data in an undesirable way. 

Highlighted
Anonymous
Not applicable

Re: Prevent people from connecting an app to a SharePoint list

Hi scotthanks 

Sorry for taking your original question/post off track. Would you mind sharing how you managed to block users from accessing the list please?

 

I believe in order to prevent users from creating their own form they need to have 'contribute' permission at most - anything more than that e.g. 'edit' will allow them to create a powerapps form.

Highlighted
Helper I
Helper I

Re: Prevent people from connecting an app to a SharePoint list

Blocking the creation of a Powerapp and connecting to a list does not seem possible, even with read only permissions.

 

What @scotthanks is talking about is blocking access to the list itself.

Highlighted
Advocate I
Advocate I

Re: Prevent people from connecting an app to a SharePoint list

Hi @Anonymous,

 

No worries.  Here's how I was able to block browser access to the site and lists while still allowing users to read/add/edit/delete list items through my app.  First, I created custom permission levels described below.

 

  • For lists where users need read/write access through the app, I created a permission level with these permissions only:  Add Items, Edit Items, Delete Items, View Items, View Versions, Delete Versions, View Pages, Browse User Information, and Open.
  • For lists where users need read-only access, the permission level has View Items, View Pages, Browse User Information, and Open.
  • Since the above permissions don't hide the lists from the Site Contents page, I wanted to prevent users from accessing the site and browsing around.  To do this I created a permission level with only these permissions:  View Pages, Browse User Information, Use Remote Interfaces, and Open.  I granted users this permission level to the site.  If you do this but still need users to be able to access some pages in the site, you'll likely need to grant them access to some things like the Style Library and master pages and page layouts.

IMPORTANT:  For this to work, you must also activate the "Limited-access user permission lockdown mode" site collection feature.  I might also be necessary to activate the publishing feature.  I can't remember for sure.  The site where I use this does have the publishing feature turned on.

 

I hope this helps.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,323)