Question

Is there a way to turn off external sharing on a SharePoint site, but enable it on one document library or two?

I have SharePoint Online modern team site, where I need to allow external users to add documents to one library, but I don't want them to see anything else on the site. Is that possible?

Was it helpful?

Solution

You can grant external user permissions on a library.

Navigate to the library->Library settings->Permissions for this document library->stop inheriting permissions->grant permissions->then you can grant external user permissions on the library:

enter image description here

OTHER TIPS

You do need to have external sharing on at the site level, but what you can do is just share out the specific location you want to provide them access to.

Sharing just a library is messy and discouraged by Microsoft. Sharing is supported and easily done for files, folders and sites.

If you want to share a whole library, but not the rest of the site, you need to apply permissions gymnastics that can turn ugly fast.

  • Create a new SharePoint group in the site. It should not have any permissions assigned at the site level
  • Edit the library, break permissions inheritance and add that new group with read or edit permissions to the library
  • Add the external user to the group, which will send them the usual invitation. The invite will contain the title of the site, not the title of the library, which may be confusing to the user.

A much cleaner approach would be to create a separate site that is shared with external users and use the regular way to share the site.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top