Information
This setting sets the default link type that a user will see when sharing content in OneDrive or SharePoint. It does not restrict or exclude any other options.
The recommended state is Specific people (only the people the user specifies) or Only people in your organization.
By defaulting to specific people, the user will first need to consider whether or not the content being shared should be accessible by the entire organization versus select individuals. This aids in reinforcing the concept of least privilege.
Solution
To remediate using the UI:
- Navigate to SharePoint admin center https://admin.microsoft.com/sharepoint
- Expand Policies > Sharing.
- Scroll to File and folder links.
- Set Choose the type of link that's selected by default when users share files and folders in SharePoint and OneDrive to Specific people (only the people the user specifies) or Only people in your organization.
To remediate using PowerShell:
- Connect to SharePoint Online using Connect-SPOService.
- Run one of the following PowerShell commands depending on the desired compliant state:
To set the default sharing link to specific people:
Set-SPOTenant -DefaultSharingLinkType Direct
To set the default sharing link to people in the organization:
Set-SPOTenant -DefaultSharingLinkType Internal
Impact:
Changing the default sharing link type influences the user experience when sharing files and folders in SharePoint and OneDrive. The configured default option will appear pre-selected in the sharing dialog, guiding users toward the organization's preferred sharing method.