[OneDev #31] feat(m365): visual SharePoint external sharing permissions report #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from OneDev issue #31 (id 35542)
Original project: internal-joseph
Original state: Open
Original submitterId: 5
Original submitDate: 2026-05-05T18:26:39.490+00:00
Original lastActivity: {'date': '2026-05-07T14:41:00.951+00:00', 'description': 'commented', 'userId': 5}
Original fields:
Generate a visual report of SharePoint external sharing permissions across a tenant — which sites/libraries/files are shared externally, with whom, and what level of access. Output should be scannable (HTML table or Excel) with per-site summaries and a drill-down to individual sharing links.
Why
Clients routinely have no idea how much of their SharePoint is open to external guests or anonymous links. A periodic visual report is a quick compliance/security win and a good upsell hook for data governance work.
Imported from OneDev comment id 556 on issue #31
Original userId: 5
Original date: 2026-05-07T14:41:00.951+00:00
MVP shipped for Ready Construction tenant.
Method
readyconstruction.com) → Graph/organization(4c7e202a-9fce-4542-bb76-c1ec6cf3699d)./token?service=graph(existing scopes incl.Sites.Read.All,Sites.FullControl.All).ViewableByExternalUsers:1 AND IsContainer:trueandViewableByAnonymousUsers:1./drives/{id}/items/{id}/permissions, filtered toinheritedFrom == null.Numbers (Ready Construction)
Artifacts
C:/tmp/rc_sp_report_v2.py(perm cache atC:/tmp/rc_sp_perms_cache.json,REFRESH=1to bust)Known gaps for future iterations
service=sharepoint) to inspect; current Graph token returns 423.$batchcould speed perm crawl from ~5/s to ~50/s if scaled to larger tenants.Generalizing into a
sharepoint-external-sharing-reportskill is a candidate for the skill backlog.