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.
Validates, previews and optionally applies supported SharePoint site sharing-capability changes from CSV with tenant-policy preflight and read-back verification.
Pro generation after license validation · Review before running · No tenant access
Validates, previews and optionally applies supported SharePoint site sharing-capability changes from CSV with tenant-policy preflight and read-back verification.
Configure Bulk update SharePoint site sharing settings from CSV in the Builder, review the generated PowerShell and run it in your own environment.
Use this controlled bulk workflow to change only SharePoint site SharingCapability values from a validated CSV.
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 changes SharePoint configuration. Preview is the default and real changes require explicit Apply confirmation plus ShouldProcess approval.
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.
Validates, previews and optionally applies supported SharePoint site sharing-capability changes from CSV with tenant-policy preflight and read-back verification. 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.Manage · SharePoint Administrator
Risk: Medium
Execution impact: Changes data. Preview/WhatIf is the default. Apply mode requires a fully valid CSV, literal APPLY confirmation, ShouldProcess approval and post-change verification.
Output: CSV result with InputRow, SiteUrl, RequestedSharingCapability, PreviousSharingCapability, Preview, Changed, VerifiedCapability, Result 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.
Validates, previews and optionally applies supported SharePoint site sharing-capability changes from CSV with tenant-policy preflight and read-back verification.
Enter the required values in the Builder, review the generated script and confirm the output before running it.