Skip to content

Stevenlb/PNP-Powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

Reports

File: Audit-ExternalAccess.ps1 Commit Description:

Add single-site SharePoint external access audit script This script audits a specified SharePoint Online site for external and guest user access at the site, list, folder, and item levels.

  • Includes logic to identify direct permissions, SharePoint group memberships, and anonymous/public links.
  • Implements a "Blind Spot" warning system for Azure Security Groups and M365 Groups where member enumeration is restricted.
  • Features robust error handling with explicit property loading to prevent "collection not initialized" errors.
  • Generates a CSV report with timestamped filenames and auto-detected tenant/admin URLs.
  • Sanitized for public release (placeholder credentials and URLs).

File: Audit-ExternalAccess_AllSites.ps1 Commit Description:

Add multi-site iterator for SharePoint external access auditing This script iterates through all SharePoint sites in a tenant to perform a comprehensive external access audit.

  • Connects to the SharePoint Admin Center to retrieve the full site list.
  • Loops through each site to run the deep-dive audit logic (permissions, groups, links) defined in the single-site script.
  • Consolidates findings from all sites into a single master CSV report.
  • Includes error resilience to skip locked/inaccessible sites without halting the entire batch.
  • Sanitized for public release (placeholder credentials and URLs).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published