Templates / Send Entra ID app credential expiry alerts via Microsoft Graph and Outlook

Send Entra ID app credential expiry alerts via Microsoft Graph and Outlook

Ready for 3.0

by Dominik · 5 views · created 2026-09-29 · DevOps

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-10-19.

What this workflow does

This workflow has 13 nodes and runs on a schedule (every day at 07:00). Along the way it connects Microsoft Outlook. It also calls graph.microsoft.com over HTTP.

How it runs

Trigger: On a schedule (every day at 07:00).

  1. Set Notification Configurations (Edit Fields (Set)): sets 7 fields: thresholdDays, expiredLookbackDays, hideRotated…
  2. Fetch App Registrations (HTTP Request): calls graph.microsoft.com
  3. Fetch Enterprise Apps (HTTP Request): calls graph.microsoft.com
  4. Merge: merges the data from its input branches
  5. Filter Expiring Credentials (Code): runs custom JavaScript code
  6. Fetch App Owners (HTTP Request): calls an HTTP API
  7. Add App Owners (Code): runs custom JavaScript code
  8. Build IT Summary Email (Code): runs custom JavaScript code
  9. Check Owner Notification (If): checks a condition and branches into true / false
  10. Send Summary Email (Microsoft Outlook): uses Microsoft Outlook

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

Services it uses

Microsoft Outlook

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 (7)

From the author

Quick overview This workflow runs daily to scan Microsoft Entra ID (Azure AD) app registrations and enterprise apps via Microsoft Graph for expiring or recently expired client secrets and certificates, then sends an HTML summary alert through Microsoft…

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