Templates / Audit inactive Microsoft 365 users and email license reports via Outlook

Audit inactive Microsoft 365 users and email license reports via Outlook

Ready for 3.0

by AI Solutions ✓ · 23 views · created 2026-08-20 · Document Extraction

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 10 nodes and runs on a schedule (every day). Along the way it connects Microsoft Outlook.

How it runs

Trigger: On a schedule (every day).

  1. Set Audit Configuration (Edit Fields (Set)): sets or maps fields
  2. Fetch Subscribed SKUs (HTTP Request): calls an HTTP API
  3. Fetch All Users Paginated (HTTP Request): calls an HTTP API
  4. Filter Inactive Users & Estimate Costs (Code): runs custom JavaScript code
  5. Check for Inactive Users (If): checks a condition and branches into true / false
  6. Build Excel Report (Convert to File): converts data to a file
  7. Send All-Clear Email Notice (Microsoft Outlook): uses Microsoft Outlook
  8. Generate HTML Summary (Code): runs custom JavaScript code
  9. Email Inactive User Report (Microsoft Outlook): uses Microsoft Outlook

Services it uses

Microsoft Outlook

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.

Nodes used (7)

From the author

Quick overview This workflow runs monthly to audit Microsoft 365 users via Microsoft Graph, identifies licensed accounts that have been inactive beyond a defined threshold, estimates reclaimable license cost, and emails either an Excel report with an HTML…

Excerpt from AI Solutions'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.