Email reports on expiring Microsoft Entra ID app secrets and certificates with Microsoft Graph
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls graph.microsoft.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Variables (Edit Fields (Set)): sets 2 fields: notificationEmail, daysBeforeExpiry
- Get EntraID Applications and Secrets (HTTP Request): calls graph.microsoft.com
- Split Out: splits a list into separate items
- Split Out: splits a list into separate items
- Split Out: splits a list into separate items
- Filter: keeps only the items that match a condition
- Filter: keeps only the items that match a condition
- Build Client Secrets Report (Edit Fields (Set)): sets 6 fields: applicationName, appId, type…
- Build Certificates Report (Edit Fields (Set)): sets 6 fields: applicationName, appId, type…
- Merge: merges the data from its input branches
…plus 4 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.
Nodes used (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Split Out
n8n-nodes-base.splitOut - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Aggregate
n8n-nodes-base.aggregate - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - HTML
n8n-nodes-base.html - Send Email
n8n-nodes-base.emailSend
From the author
Monitor expiring EntraID application secrets and notify responsible Stay ahead of credential expirations by automatically detecting Entra ID application client secrets and certificates that are about to expire, and sending a neatly formatted email report.…