Forum Discussion
SharePoint Online hide "site contents" and "site usage" page (modern sites)
Hi,
I had the same issue I used a custom permission level with the "View application pages" permission disabled and my external users were still able to access the Site Contents.
When I first enabled, "Limited-access user permission lockdown mode" , both the site pages and Site content displayed "Access Denied". However, after playing around with the permissions I was able to find a combination that worked for me.
My Steps:
1. Enable the "Limited-access user permission lockdown mode" Site Feature (Site Settings > Site collection features > Limited-access user permission lockdown mode).
2. Create Custom Permission Level with the following permissions:
- List Permissions
- Add Items - Add items to lists and add documents to document libraries.
- Edit Items - Edit items in lists, edit documents in document libraries, and customize Web Part Pages in document libraries.
- Delete Items - Delete items from a list and documents from a document library.
- View Items - View items in lists and documents in document libraries.
- Open Items - View the source of documents with server-side file handlers.
- View Versions - View past versions of a list item or document.
- Site Permissions
- View Pages - View pages on the Web site.
- Browse User Information - View information about users of the Web site.
- Open - Allows users to open the Web site, list, or folder in order to access items inside that container.
- Use Remote Interfaces - Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site.
- Edit Personal User Information - Allows a user to change his or her own user information, such as adding a picture.
Note: These permissions worked for my needs, you may want to modify according to your needs. However, this method didn't work without the "Use Remote Interfaces" permission being enabled.
3. Ensure the external user group has the correct permission level applied to it. (Site Settings > Site Permissions > Check Permissions).
Result:
The External User group can access the site pages and but Site content and Site usage displays "Access Denied".
I hope this helps someone else!
- GizmasterNov 23, 2021Copper ContributorThis solution worked for me beautifuly. Telling where to go to change the settings was cruciual here as I'm not an IT person and not very familiar with the different Sharepoint settings.
Thanks very much. - milosz_pFeb 24, 2021Copper ContributorThat helped me a lot. Thank you!
- Don0011595Mar 19, 2021Copper ContributorDoes anyone have any solution about hiding/disabling the 'Send By Email' link, which keeps appearing on all new Sharepoint pages. One would assume that there should be a feature, which would allow his link to be hidden. It is quite time-consuming trying to get Sharepoint-permissions, tied down, to relevant levels, of users. It seems to be a task, whereby, when issue appears to be solved, that some other thing, is appearing on the screen. I would like to make contact with someone, in Microsoft, who is responsible for Sharepoint 365. These issues, seem to be in Sharepoint 365, for quite some time.
- Keshav410Jan 17, 2021Copper Contributor
TristonT I tried the solution, it works but my navigation has stopped showing up. My navigation is basically just 3 links to 3 different view of the same list. when i access the link my manually i do get access to it though.
I tried re-enabling the view application pages permission back then my navigation show up. But the issue with site content and site usage access come back
- PriscillaPAug 03, 2020Copper Contributor
TristonT this worked perfectly, thank you!
- cbraafhartApr 24, 2020Brass Contributor
Thank you TristonT, the only thing i was missing from what you have done is and that was i did not enable this: (Site Settings > Site collection features > Limited-access user permission lockdown mode)
Those are the minor things you miss sometimes but thank you ALOT this has helped me for what i was looking for.