News
SharePoint hero link: what changes when you share files
The SharePoint hero link (MC1454378) gives every file one sharing link. Audiences, expiration, DefaultMainLinkScope, old links and traps for admins.
The SharePoint hero link is the new main sharing link in SharePoint and OneDrive: every file and folder has one, and you change its audience without creating another URL. By default, it gives access to nobody beyond the people who already have it. Message MC1454378 (roadmap 492622) plans the end of the worldwide rollout for late November 2026. One thing to check now: your default sharing link settings and your expiration policies do not apply to the hero link.
What changes with the SharePoint hero link?
Until now, sharing a file with two different settings meant two links. Send an organization link to a partner by mistake and it would not open: you had to create another one and send it again.
Now, two colleagues who copy the main link of the same file get the same link. If a colleague can't open it, you widen the audience and the link they already have starts working. The reverse is true too: narrowing the audience cuts off people who only had access through that link.
The Share dialog has two areas to tell apart. Add people grants direct access to named people. File link settings decides what the link is worth for everybody else.

Which audience should you pick for a SharePoint sharing link?
| Audience | Who can open the link | When to use it |
|---|---|---|
| Only people added | People who already have access: direct, group, folder or site | By default, and for anything sensitive |
| People in your organization | Signed-in members who have the link, not guests | An internal document with no particular confidentiality |
| Anyone | Whoever has the link, without signing in | A document you would accept to see forwarded |
For a specific partner, add their address under Add people. The organization link doesn't work for guests, and Anyone doesn't tell you who opened the document.
The first time you widen a link, the permission is Can view. Users can pick Can edit, Can't download or, depending on the file type, Can review instead. Administrators cannot change that starting point.
One old rule still holds: the widest access wins. Setting someone to view has no effect if a group, the parent folder or another link lets them edit.
What happens to existing links and expiration dates?
Links already sent keep working. They appear under Other links, together with links inherited from a parent folder. Changing the hero link neither edits nor removes them.
That is the main trap in an audit. A file can show "Only people added" and still be open to the whole organization through a link created two years ago. Always look at both areas.
The second trap is expiration:
- the hero link has no expiration date and no password;
- existing expiration policies and default link settings only govern legacy links, according to MC1454378;
- for a temporary link, create an additional link (gear icon, then Create new sharing link).
In other words, if you enforce 30 days on Anyone links, a hero link opened to Anyone doesn't inherit that limit: it stays open until somebody closes it.
How do you set the default audience in PowerShell?
The parameter is DefaultMainLinkScope. It only sets the starting value: users can still widen the audience when the sharing policy allows it. The effective value is OnlyPeopleAdded as long as you change nothing.
With an up-to-date SharePoint Online Management Shell:
Connect-SPOService -Url "https://contoso-admin.sharepoint.com"
# Read the setting of one site
Get-SPOSite -Identity "https://contoso.sharepoint.com/sites/Intranet" | Select-Object Url, DefaultMainLinkScope
# Internal news site: the link works for the whole organization
Set-SPOSite -Identity "https://contoso.sharepoint.com/sites/Intranet" -DefaultMainLinkScope Organization
# Back to the most restrictive setting
Set-SPOSite -Identity "https://contoso.sharepoint.com/sites/Intranet" -DefaultMainLinkScope OnlyPeopleAdded
PnP PowerShell has the same parameter on Set-PnPTenantSite. Two limits to know:
- the official sources differ: MC1454378 lists two values (
OnlyPeopleAddedandOrganization), while the Learn page forSet-SPOSiteadds a third,Anyone, available only if anonymous links are allowed; - the parameter targets items at the root of document libraries. Inside a folder, a file follows the folder's link until its own link is changed.
Since this setting forbids nothing, the real protection against Anyone links is still the site's sharing capability. This script lists the SharePoint sites that still allow them (add -IncludePersonalSite $true to Get-SPOSite to include OneDrive):
Get-SPOSite -Limit All |
Where-Object { $_.SharingCapability -eq "ExternalUserAndGuestSharing" } |
Select-Object Url, Title, SharingCapability |
Export-Csv -Path ".\sites-anyone-links.csv" -NoTypeInformation -Encoding utf8
For a site that doesn't need them, Set-SPOSite -Identity <url> -SharingCapability ExternalUserSharingOnly keeps authenticated guests and removes Anyone. Check with the owner first whether anonymous links are still in use.
How do you stop sharing a file?
Several actions look alike but don't do the same thing.
| Your goal | Action | Effect |
|---|---|---|
| Remove one person | X next to their name | Removes that access, not access from a group or link |
| Close the hero link | Audience Only people added | The link grants nothing, the URL doesn't change |
| Remove an old link | Other links, then X | Only that link stops working |
| Invalidate a link sent to the wrong place | Gear icon, Reset Link | New URL, the old one no longer works |
| Make the item private | Gear icon, Remove access | Only owners keep access |
Be careful with Remove access: it also removes access that comes from groups and from inheritance. On a team file, the whole team loses it, not only the people who received the link. In a shared library, closing the hero link is usually enough.
Can Copilot find a file shared with the whole organization?
Not for everyone at once. According to Microsoft Learn, choosing "People in your organization" doesn't make the item available in search or Copilot for all members: access is established when a person uses the link. SharePoint, OneDrive, Teams or Outlook might use it automatically for recipients, however.
An organization link posted in a large channel can therefore reach many more people than intended. One more reason to check the audience before pasting the link.
What I recommend doing
- Check on a test file that the new Share dialog has arrived, on the web and in the Office apps on your computers.
- List the sites that allow Anyone links and close that option where there is no reason for it.
- Keep
OnlyPeopleAddedas the default, and useOrganizationonly on a few information sites, after a test. - Tell your users in three lines: add the people, check the audience, then copy the link. For an expiration date, create an additional link.
- Brief the helpdesk: don't click Remove access to close a simple link.
The hero link doesn't replace good group management: which group type to use for SharePoint access covers the basics, and the group permissions report shows where a group gives access. For external recipients, see also the end of the SharePoint one-time passcode. For an example of a space where sharing has to be controlled, see the law firm case study. And to train your teams, the ShareFlow training courses.
- SharePoint
- OneDrive
- Sharing
- Permissions
- Governance
Sources
- Message Center MC1454378 — Microsoft 365: The Next Generation of File & Folder Sharing (public copy, updated October 7, 2026)
- Microsoft 365 Roadmap — ID 492622, status “Rolling out” checked on November 29, 2026
- Microsoft Learn — How shareable links work in OneDrive and SharePoint
- Microsoft Support — Share files and folders in Microsoft OneDrive
- Microsoft Support — Manage sharing and permissions in OneDrive and SharePoint
- Microsoft Learn — Set-SPOSite, DefaultMainLinkScope parameter
- PnP PowerShell — Set-PnPTenantSite
- Microsoft Tech Community — The new sharing experience is coming to SharePoint Online (updated October 7, 2026)
Share this article
Know a colleague or client who deals with this? Send them the article in one click.
Read next
Comments
Loading comments…