Bewerken

Delen via


Change the default link for a site

Users can share files and folders in Microsoft SharePoint by sending a link. They should select a link type based on the people to whom they want to give permission. The following link types are available:

  • Anyone with the link (previously called "anonymous access" or "shareable")

  • People in your organization with the link

  • People with existing access

  • Specific people

    Screenshot of Link settings.

As a SharePoint Administrator or above, you may want to enable users to send "Anyone" links, but you may not want this to be the default type of link when users select to share files and folders. You can set the default type of link to something more restrictive, while still allowing users to select other types of links as needed. You can change this setting at the organization level and at the site (previously called "site collection") level.

Note

The default sharing link setting applies only to libraries that use the new experience.
This setting does not affect Outlook Web App, Outlook 2016, or Office clients prior to Office 2016.

For info about the changing this setting at the organization level, see File and folder links.

  1. Go to Active sites in the SharePoint admin center, and sign in with an account that has admin permissions for your organization.

    Note

    If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Active sites page.

  2. In the left column, select a site.

  3. Select Sharing on the command bar.

  4. Under Default sharing link type, clear the Same as organization-level setting checkbox.

    Screenshot of site-level default sharing link settings

  5. Choose the default sharing link setting that you want to use for this site, and then select Save.

    Note

    To change the default link type for a Teams private or shared channel site, you must use the Set-SPOSite PowerShell cmdlet.

  1. Following the steps 1-3 above, under Default link permission, clear the Same as organization-level setting checkbox.
  2. Choose the default sharing link permission that you want to use for this site, and then select Save.

If you are using sensitivity labels to classify and protect your SharePoint sites, you can also configure the default sharing link type and sharing link permissions for a site and also individual documents by using a sensitivity label.

For more information about this scenario, see Use sensitivity labels to configure the default sharing link type for sites and documents in SharePoint and OneDrive.

Turn external sharing on or off for a site