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 then optionally applies CSV-driven add/remove site collection administrator changes with ShouldProcess and read-back verification.
Pro generation after license validation · Review before running · No tenant access
Validates, previews and then optionally applies CSV-driven add/remove site collection administrator changes with ShouldProcess and read-back verification.
Configure Bulk manage SharePoint site collection administrators from CSV in the Builder, review the generated PowerShell and run it in your own environment.
Use this controlled bulk workflow to add or remove secondary site collection administrators from an explicit CSV after a full preview.
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 then optionally applies CSV-driven add/remove site collection administrator changes with ShouldProcess 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 · Site Owner / Site Collection Administrator
Risk: Medium
Execution impact: Changes data. Preview/WhatIf is the default. Apply mode validates the full file first, requires the literal APPLY confirmation, uses ShouldProcess, isolates row failures and verifies each attempted change.
Output: CSV result with InputRow, SiteUrl, User, Action, PreflightState, Preview, Changed, Verified, 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 then optionally applies CSV-driven add/remove site collection administrator changes with ShouldProcess and read-back verification.
Enter the required values in the Builder, review the generated script and confirm the output before running it.