Templates / Send weekly Microsoft 365 license waste reports via Microsoft Graph and Gmail

Send weekly Microsoft 365 license waste reports via Microsoft Graph and Gmail

Ready for 3.0

by Vitaliy Voitik ✓ · 15 views · created 2026-08-11 · 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 5 nodes and runs on a schedule (every week at 08:00). Along the way it connects Gmail. It also calls graph.microsoft.com over HTTP.

How it runs

Trigger: On a schedule (every week at 08:00).

  1. Fetch Subscribed SKUs (HTTP Request): calls graph.microsoft.com
  2. Fetch Users and Licenses (HTTP Request): calls graph.microsoft.com
  3. Analyze Unused Licenses (Code): runs custom JavaScript code
  4. Send Weekly Email Report (Gmail): uses Gmail

Services it uses

Gmail

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.

Nodes used (4)

From the author

Quick overview This weekly workflow uses Microsoft Graph to audit Microsoft 365 license usage, calculates unused seats and potentially wasted spend, and emails an HTML report via Gmail with unassigned licenses, disabled-but-licensed users, and licensed users…

Excerpt from Vitaliy Voitik'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.