ShareMaster V2 is in beta, a complete rebuild. See what is new and request access →
Features All features overview
Migration Tools Overview Structure and content OneDrive ↔ SharePoint Content only Structure only Move / Copy Upload from this computer Download to this computer Dropbox to SharePoint Resume and incremental runs
Recycling Bin Overview Browse a site's recycle bin Empty recycle bins in bulk Restore and purge history
Archive Overview Configure the tenant On Demand Archive Restore Archived Files Archive Savings Report Blob Viewer
Optimise Storage Tools Overview Delete all items in a list Delete all files and folders in a library Remove empty folders Remove duplicate files Reduce image sizes Delete sites and subsites
SharePoint Tools Overview Tenant Explorer SharePoint Explorer Easy Settings Fix renamed groups List Explorer Search the Preservation Hold Library
Replace Overview Replace in SharePoint Replace in local files Find password-protected files
Shared Links Overview Report shared links Report unique permissions Remove a person from sharing links Remove shared links Remove unique permissions
Version History Overview Version trimming Version trimming report Reset file version
Reports Overview Inventory report Folder inventory Site and subsite storage Security matrix Teams permissions Pre-migration analysis Compare items Dropbox to Microsoft 365 compare Duplicate file report Empty folder report Image size report Recycle bin report Unused licences Report history
V2 beta Pricing Demos Blog Guides Use cases Compare Tools Alerts FAQ Contact Sign in Start free trial
  1. Home
  2. Documentation
  3. Shared links

Remove a person from sharing links

Keep the links and the other recipients

The offboarding tool. When somebody leaves, they are usually still on dozens of specific-people sharing links scattered across libraries. This finds the links that grant that exact person access and removes only them from them, leaving the links working for everybody else.

Makes changes. Removes one named person from the links they were added to. The links and every other recipient are kept.

What it does

  • Every specific-people link that directly grants that one person access.
  • Who else is on each link, before and after, so you can see nothing else changed.
  • Whether each removal was verified against the live link afterwards.
  • Optionally, direct permission assignments to that person as well as links.

How it runs

  1. Sign in and choose what to scan. Sites or libraries.
  2. Name the person. Picked from the directory, so it is an exact identity rather than a text match on a name.
  3. Review what was found. Per link, with the recipient list before and after.
  4. Confirm, then it runs. Each removal is verified by re-reading the link. Cancel offers Finish the current item, Stop now, or Keep running. Nothing is left half-written: an item is either done or not started.

How it works

The person is matched by identity, never by display name. When the directory gives an object id, a link recipient matches only on that id; otherwise it matches on email address or user principal name, compared exactly apart from letter case, and a guest account's own address is recognised as well. Only Specific People links are considered, and only links made on the item itself: organisation links, anonymous links and links inherited from a parent folder are never matched, whatever else is set.

The scan reads every file and folder in the chosen libraries that passes your filters, reads its sharing permissions, and keeps the links that have this person as a recipient. Nothing changes during the scan. If you also asked for direct assignments, a permission granted directly on the item to this person alone, not through a link, a group or inheritance, is listed too.

Before each change the link is read again live. If it has gone, or the person is no longer on it, nothing is sent and it is recorded as already absent. If it is no longer a Specific People link made on that item, nothing is sent and it is recorded as failed. Otherwise the full recipient list is written to a run log on this computer, only that one recipient is removed, and the link is read back. It counts as removed only when the person is gone and every other recipient from before is still there. If the person was the last recipient, SharePoint deletes the link, and that is recorded. If other recipients disappeared too, it is recorded as a critical verification failure. The read-back runs even when the request failed or its answer was lost, so a change that did land is not reported as failed.

Direct assignments are handled after the links, and not at all if the links pass was stopped. One is deleted only when the live re-read shows it belongs to exactly this one person; a permission that covers anyone else is left alone and recorded as failed. After each delete, every other permission on the item is checked to still be there.

An item that fails or cannot be verified is listed with the reason, and the run moves on. A Stop, a lost sign-in, or the run log failing to write ends the run before the next item; whatever was already removed stays removed and is in the report. Access through groups, inheritance, the site or library, or any other link is never touched. The report goes into Report History and the run into the tool's History.

What you get

An Excel workbook, named like shared-links-contoso-projects-20260901-1422.xlsx, kept in Report History whether or not you save it. Recipients before and after are the columns that prove only the one person changed.

Sharing Links sheet

One row per link acted on.

ColumnExample
LibraryShared Documents
Item pathClients/Northwind/Contract.pdf
Target personJonas Olsen
Recipients befored.reyes@contoso.com; j.olsen@contoso.com
Count before2
Recipients afterd.reyes@contoso.com
Count after1
VerificationConfirmed by re-read

Direct Assignments sheet

Optional. Direct permission grants to that person, if you asked for those too.

Errors sheet

Anything that could not be read or changed, with the reason.

What you need

  • Write access to the libraries in scope.
  • A Graph token, because sharing links live in Graph. A cookie-only sign-in cannot drive this, and the app says so rather than reporting nothing found.

What it will not do

  • Group access, inherited access, organisation-wide links and anonymous links are not touched. If the person can still reach a file through a group, this does not change that, and the report says which is which.
  • The change is per link. There is no undo, though re-sharing with that person restores their access.
  • Report shared links, on the Reports menu, is the read-only look at the same data.

See every feature