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.
Exports tenant and site sharing configuration with normalized meanings rather than raw enum values only.
Generated locally in your browser · Runs in your PowerShell environment · Review before running
Exports tenant and site sharing configuration with normalized meanings rather than raw enum values only.
Configure Export SharePoint sharing settings in the Builder, review the generated PowerShell and run it in your own environment.
Reports the tenant sharing capability and site sharing capability, default-link/expiration/domain settings when surfaced by the current tenant API, and a short normalized interpretation. It does not enumerate actual sharing links.
Current PnP.PowerShell releases require PowerShell 7.4 or later. Interactive authentication requires your own Entra application/client ID, or a default client ID that you have configured for PnP.PowerShell. Opselith does not connect to SharePoint or run the script on your behalf.
Exports tenant and site sharing configuration with normalized meanings rather than raw enum values only. 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 · SharePoint Administrator
Risk: Low
Execution impact: Read-only. The script reads tenant and SharePoint site sharing configuration and does not change sharing policies or links.
Output: CSV report with Scope, SiteUrl, SharingCapability, SharingMeaning, DefaultSharingLinkType, AnonymousLinkExpirationDays, DomainRestrictionMode and Notes.
This template is available in the free library and is generated locally in your browser.
Exports tenant and site sharing configuration with normalized meanings rather than raw enum values only.
Enter the required values in the Builder, review the generated script and confirm the output before running it.