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.

O365 Admin Center

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

SharePoint

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

External User

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

Sharing

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

Don’t allow sharing outside

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

Alert message

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

Disabling option

Step 7. Click "Save" to update the changes.

Click Save

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”.

Organization policies

Steps to disable the external sharing option from the organization

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

Step 1. Open your O365 Admin Center.

User management

Step 2. Click "SharePoint" from the left navigation.

Left navigation

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

SharePoint Admin Center

Step 4. Then, select the “Don't allow sharing outside your organization” radio button from the Sharing outside organization category.

Radio button

Step 5. Click the “OK” button to save changes.

Save changes

Finally, you have disabled external sharing of the documents at the organizational level from your tenant.

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

Summary

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

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