Templates / Audit SharePoint Online external sharing and anonymous links with Microsoft Graph

Audit SharePoint Online external sharing and anonymous links with Microsoft Graph

Ready for 3.0

by Alexander Schnabl ✓ · 82 views · created 2026-01-05 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 22 nodes and runs when another workflow calls it (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls graph.microsoft.com over HTTP.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. If: checks a condition and branches into true / false
  2. Set Variables (Edit Fields (Set)): sets 1 field: tenantDomains
  3. SharePoint - Get Child Items (HTTP Request): calls an HTTP API
  4. SharePoint - Get Items (HTTP Request): calls an HTTP API
  5. Sharepoint - Get Sites (HTTP Request): calls graph.microsoft.com
  6. Split Out: splits a list into separate items
  7. Split Out: splits a list into separate items
  8. If: checks a condition and branches into true / false
  9. Filter: keeps only the items that match a condition
  10. Keept Items and Folders (Merge): merges the data from its input branches

…plus 10 more steps. See the full node list below.

HTTP calls to: graph.microsoft.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (10)

From the author

Audit external sharing in SharePoint to ensure compliance This workflow audits your SharePoint Online environment for external sharing risks by identifying files and folders that are shared with anonymous links or external/guest users. It is designed to…

Excerpt from Alexander Schnabl's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.