Katabarwa Labs
← Blog

Get alerted before Entra app registration secrets and certificates expire

Microsoft Entra ID · August 29, 2026 · 5 min read

It is the classic 3am page: an integration suddenly starts failing with AADSTS7000222, "the provided client secret keys are expired." Nothing was deployed, nothing changed, except a client secret on an app registration quietly reached its end date. Entra ID knows the exact expiry date of every client secret and certificate in the tenant, and it tells no one. The ask for native owner alerts has sat on the Azure feedback forum for over six years with 223+ votes, and it is still unaddressed.

Why Entra cannot alert you out of the box

The DIY approach: a scheduled Microsoft Graph scan

The fix is a small scheduled job that reads the expiry dates while there is still time to rotate:

The details that bite in practice: certificates expire too (do not scan only passwordCredentials), one registration can carry several credentials in different states, and a single-threshold script that fires once and goes quiet is easy to miss. The escalation ladder is what turns "we technically sent an email" into "someone actually rotated the secret."

A ready-made option: Secret Sentinel

Our tool for this: Secret Sentinel: App Registration Expiry Alerts on the Azure Marketplace. It runs as a managed application inside your own tenant, so credential metadata never leaves it.

Secret Sentinel is that pattern packaged. A daily timer Function scans every app registration in the tenant via Microsoft Graph, computes days to expiry for every client secret and certificate, and alerts your Teams channel at 30, 14, 7, and 1 days before anything expires (thresholds you choose at deployment). It authenticates with a system-assigned managed identity holding only Application.Read.All, reads expiry dates and never secret values, and runs entirely in your own subscription with no vendor backend.

Key facts

Related reading: set an Entra ID account to expire automatically.


Written by the team at Katabarwa Labs. We build small, single-purpose Azure tools that run entirely inside your own tenant. Questions: abaho@llmgraph.ai.