Disable Sharing A Document With External User From SharePoint Online Tenant

Introduction

By default, SharePoint provides the option to share documents with external users. Some of the customers, however, do not want to share documents with external users.

One of our customers asked us to stop the external sharing for a particular site collection. We followed the below steps to stop the external sharing of the document.

Steps to disable the sharing option from Site Collection

Step 1

Open your O365 Admin Center.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 2

Select the "SharePoint" option from left navigation, as shown below. You will be navigated to a list of site collections.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 3

Here, you can select the desired site collection for which you want to stop sharing with external users.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 4

Then, select the "Sharing" option from the ribbon tab container; you will get a pop-up box.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 5

On the pop-up window, select “Don’t allow sharing outside your organization”.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

When you select that option, you will get an alert message as shown below.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 6

Click “OK” if you want to proceed with the disabling option.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 7

Click "Save" to update the changes.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Hereafter, you won't be able to share the documents with external users from the disabled site collections. When trying to share the document with external users from the disabled site collection, you will receive the following message.

“Your organization policies don’t allow you to share with these users. Go to external sharing in the office 365 admin center to enable it”.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Steps to disable the external sharing option from the organization

So far, we saw the steps to disable external sharing from a particular site collection. Now, we are going to see the steps to disable from the organization.

Step 1

Open your O365 Admin Center.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 2

Click "SharePoint" from left navigation.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 3

On the SharePoint Admin Center, select the Sharing option from the left menu.

Stop Sharing The Document For External User From Tenant In SharePoint Online 

Step 4

Then, select the “Don't allow sharing outside your organizationradio button from Sharing outside organization category.

Stop Sharing The Document For External User From Tenant In SharePoint Online
Step 5

Click the “OK” button to save changes.

Stop Sharing The Document For External User From Tenant In SharePoint Online 
Finally, you have disabled external sharing of the documents at the organization level from your tenant.

If you want to enable, just select the “Allow sharing option“ from the Admin center.

Summary

In this article, we have explored how to disable the external sharing from the organization and stop sharing the document from a particular site collection using SharePoint Admin Center.

Please provide the comments or feedback you have after reading this article. Happy learning.