What this check looks at
Checks that the link SharePoint and OneDrive offer first when someone shares a file or folder is for specific people, not everyone in the organisation or anyone with the link.
When someone presses Share on a file or folder in SharePoint or OneDrive, the dialog offers one kind of link first: Specific people, People in the organisation, or Anyone with the link. The tenant setting DefaultSharingLinkType decides which, under File and folder links, and Microsoft ships it as the widest link sharing allows.
The check reads the setting from the SharePoint admin API as ConfigCheckup Automation, only where the client granted it Sites.FullControl.All, and only ever reads it. It passes on Specific people (Direct) and fails on anything wider; a default of "Anyone" is high severity, because whoever holds such a link needs no sign-in at all.
Why it matters
Most people accept the link the Share dialog offers. When that is an "Anyone" or organisation-wide link, a file meant for one colleague can be opened by whoever the link is forwarded to. Defaulting to specific people makes the safe choice the easy one.
Most people accept whatever link the dialog offers. A default of "Anyone" or of the whole organisation turns a file meant for one colleague into one that whoever the link is forwarded to can open, with nothing to show who did.
CIS Microsoft 365 Foundations Benchmark 7.2.7 and CISA SCuBA MS.SHAREPOINT.2.1v1 ask for Specific people as the default. People can still choose a wider link when they mean to, where the sharing level allows it.
How to fix it
Where: SharePoint admin centre → Policies → Sharing
Before you start
- Tell users what is changing and when, with a contact for problems.
Step by step
- Tell people what changes. Tell staff, and site owners who share a lot with partners, that the Share dialog will offer a link for specific people first, the date it changes and who to ask about it.
- Change the default link type. In the SharePoint admin centre (https://<tenant>-admin.sharepoint.com), go to Policies > Sharing, and under File and folder links choose "Specific people (only the people the user specifies)". Select Save.
- Or set it with PowerShell. Connect-SPOService -Url https://<tenant>-admin.sharepoint.com, then Set-SPOTenant -DefaultSharingLinkType Direct.
- Check it took effect. Share a test file from OneDrive: the dialog offers Specific people first. Get-SPOTenant | Select-Object DefaultSharingLinkType shows Direct, and the next assessment passes.
With PowerShell
Connect-SPOService -Url https://<tenant>-admin.sharepoint.com Set-SPOTenant -DefaultSharingLinkType Direct
What users will notice
The Share dialog offers a link for specific people first. People can still pick a wider link where sharing allows it.
How to confirm it worked
Get-SPOTenant | Select-Object DefaultSharingLinkType shows Direct; the Share dialog in OneDrive offers "Specific people" first.
Frameworks and controls
This check maps to controls in 14 frameworks. Passing it is evidence that the setting is in place, not a certification against any of them.
| Framework | Control |
|---|---|
| NCSC CAF | B3.c Stored data |
| DSPT | Standard 1: Personal confidential data |
| DORA | Art. 9(4)(c) Limiting logical access to what is required |
| NIS2 | Art. 21(2)(i) Access control and asset management |
| Zero Trust | Data |
| SOC 2 | CC6.7 Restricting the transmission, movement and removal of information |
| NIST SP 800-171 | 3.1.22 Control CUI posted or processed on publicly accessible systems |
| CMMC Level 2 | AC.L2-3.1.22 Control Public Information |
| ISO 27001:2022 | A.5.14 Information transferA.5.15 Access control |
| CISA SCuBA | MS.SHAREPOINT.2.1v1 Default sharing scope is specific people |
| CIS M365 | 7.2.7 Ensure link sharing is restricted in SharePoint and OneDrive |
| CIS Controls v8.1 | 3.3 Configure data access control lists (IG1) |
| NIST CSF 2.0 | PR.DS-01: The confidentiality, integrity, and availability of data-at-rest are protected |
| NCSC 10 Steps | Data security |
The framework mappings were last checked against the published standards in October 2026.
Further reading
- Change the default link type (Microsoft Learn)
- CISA SCuBA SharePoint Online and OneDrive baseline (github.com)