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 SharePoint site groups and the direct member principals returned for each group, with explicit empty-group and partial-failure reporting.
Generated locally in your browser · Runs in your PowerShell environment · Review before running
Exports SharePoint site groups and the direct member principals returned for each group, with explicit empty-group and partial-failure reporting.
Configure Export SharePoint groups and members in the Builder, review the generated PowerShell and run it in your own environment.
Reports SharePoint groups and their direct members. A member that represents an Entra or Microsoft 365 group remains one principal; Opselith does not silently recurse into directory membership.
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 SharePoint site groups and the direct member principals returned for each group, with explicit empty-group and partial-failure reporting. 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. The script reads SharePoint site groups and direct principals returned as their members; it does not change membership or recursively expand Entra groups.
Output: CSV report with SiteUrl, GroupId, GroupTitle, OwnerTitle, MemberLoginName, MemberDisplayName, MemberEmail, PrincipalType, Status and Error.
This template is available in the free library and is generated locally in your browser.
Exports SharePoint site groups and the direct member principals returned for each group, with explicit empty-group and partial-failure reporting.
Enter the required values in the Builder, review the generated script and confirm the output before running it.