Skip to content

Create README.md - #991

Open
ojopiyo wants to merge 1 commit into
pnp:mainfrom
ojopiyo:patch-31
Open

Create README.md#991
ojopiyo wants to merge 1 commit into
pnp:mainfrom
ojopiyo:patch-31

Conversation

@ojopiyo

@ojopiyo ojopiyo commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This PowerShell script generates a SharePoint Online Hub Site governance report using PnP.PowerShell and certificate-based app-only authentication. It connects to the SharePoint Admin Centre, retrieves all registered Hub Sites and their associated sites, identifies Site Collection Administrators, captures audit information such as the execution identity and timestamp, and exports the results to a timestamped CSV file. The script also includes error handling to ensure that issues retrieving information from individual Hub Sites do not prevent the overall report from completing.

This PowerShell script generates a SharePoint Online Hub Site governance report using PnP.PowerShell and certificate-based app-only authentication. It connects to the SharePoint Admin Centre, retrieves all registered Hub Sites and their associated sites, identifies Site Collection Administrators, captures audit information such as the execution identity and timestamp, and exports the results to a timestamped CSV file. The script also includes error handling to ensure that issues retrieving information from individual Hub Sites do not prevent the overall report from completing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant