What it works with
Module: PnP.PowerShell
Context: PowerShell 7.4+ · SharePoint Online · PnP.PowerShell
Compatibility: PowerShell 7.4+ is required by current PnP.PowerShell releases.
Audits sharing links in selected SharePoint document libraries with a hard per-library scan limit and conservative exposure classification.
Pro generation after license validation · Review before running · No tenant access
Audits sharing links in selected SharePoint document libraries with a hard per-library scan limit and conservative exposure classification.
Configure Audit external and anonymous SharePoint sharing links in the Builder, review the generated PowerShell and run it in your own environment.
Use this audit when site-level sharing settings are not enough and you need to inspect actual file and folder sharing-link metadata in a controlled scope.
Current PnP.PowerShell releases require PowerShell 7.4 or later. Interactive authentication requires your own Entra application/client ID, or a configured PnP default client ID. This script is read-only and does not intentionally change SharePoint configuration.
Opselith does not connect to your tenant or execute the script on your behalf. No tenant connection is required. When you generate a Pro script, only the configuration values needed for that template are sent to Opselith after license validation. Template source remains server-side.
Audits sharing links in selected SharePoint document libraries with a hard per-library scan limit and conservative exposure classification. Review these details before generating or running the script.
Module: PnP.PowerShell
Context: PowerShell 7.4+ · SharePoint Online · PnP.PowerShell
Compatibility: PowerShell 7.4+ is required by current PnP.PowerShell releases.
Permissions: AllSites.Read
Risk: Low
Execution impact: Read-only. Enumerates bounded file/folder sharing-link metadata and does not create, remove or modify links.
Output: CSV sharing-link report with SiteUrl, Library, ObjectType, ObjectUrl, LinkId, LinkKind, Roles, GrantedTo, Expiration, IsAnonymous, IsExternal, ScanStatus and Error.
This template is part of the Pro library. The full Pro script is generated by Opselith after server-side license validation; only the configuration values needed by this template are sent for generation. No tenant connection is required. When you generate a Pro script, only the configuration values needed for that template are sent to Opselith after license validation.
Audits sharing links in selected SharePoint document libraries with a hard per-library scan limit and conservative exposure classification.
Enter the required values in the Builder, review the generated script and confirm the output before running it.