Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

guest-access-reviewer

Skill by pnp

Audits guest and external user access on the current SharePoint site. It flags accounts with no activity in 90+ days and saves an HTML report for site owners and governance teams.

  • Score 61
  • 168 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install guest-access-reviewer

Built from the published package, never by AI.

git clone --depth 1 https://github.com/pnp/sharepoint-skills /tmp/sharepoint-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sharepoint-skills/Skills/guest-access-reviewer/guest-access-reviewer ~/.claude/skills/guest-access-reviewer

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install guest-access-reviewer in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Guest Access Reviewer is an agent skill for SharePoint sites. It lists every guest and external user with access to the current site, including access through SharePoint groups, direct role assignments, or sharing links. For each guest it records the external domain, groups, permission level, and last activity date where available.

Each guest is classed as Active, Stale (no activity in 90+ days), or Unknown when no activity data exists. The skill saves a self-contained HTML report to a Guest Access Reports folder on the site. The report includes a summary band, status breakdown, domain table, guest details, recommendations, and limitations. It is read-only and never removes users or changes permissions. It is aimed at site owners and governance teams.

Written from the project's SKILL.md and checked against it.

What it can do

  • Enumerate guest usersLists all guest and external users with access through groups, direct grants, or sharing links.
  • Classify guest statusMarks each guest as Active, Stale (90+ days), or Unknown based on last activity data.
  • Map permissionsShows each guest's SharePoint groups and effective permission level on the site.
  • Summarize by domainCounts guests and highest permission level for each external domain.
  • Build HTML reportCreates a self-contained HTML report with inline CSS, no scripts, and recommendations.
  • Save report to librarySaves the timestamped report to a Guest Access Reports folder on the current site.

What you need

  • Read access to site user and permission data on the SharePoint site

Try asking

  • Run a guest access review on this site.
  • Find stale guests who have not been active in 90+ days.
  • Audit external users on the Marketing Hub and save the report.

Good to know

  • Strictly read-only: never removes users or changes permissions or content.
  • Last activity data may be unavailable, in which case guests are marked Unknown.
  • Scans only the current site unless the user names another site.
  • Report is a single HTML file with no scripts or external resources.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: Skills/guest-access-reviewer/guest-access-reviewer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to guest-access-reviewer

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

guest-access-reviewer: common questions

Does the guest access reviewer remove guest users?

No. The skill is strictly read-only. It never removes users, changes permission levels, or edits site content. Its only write is the HTML report file.

How does it decide a guest is stale?

A guest is Stale when the last activity date is more than 90 days ago. If no activity data is available, the guest is marked Unknown instead of Stale.

How does it identify external accounts?

It checks for #EXT# in the UPN, the _spo_ guest account format, email domains outside the host organization, and users shown as Guest in SharePoint.

How do I install guest-access-reviewer?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is guest-access-reviewer free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is guest-access-reviewer safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to guest-access-reviewer?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

guest-access-reviewer Install

Add to stack

Loading.