App client secrets nearing expiry

A workload can lose access if it still relies on a credential when that credential expires. Seyder Workspace reports client secrets that are close to their end date, and rates the finding Medium.

In short

An application registration in Microsoft Entra ID can sign in with a client secret, a kind of password for software. Every secret has an end date. When it passes, the workload that depends on it can lose the ability to authenticate. Seyder Workspace lists the secrets that are close, every night.

What the problem is

Someone creates a secret for a script, an integration or a line-of-business app, and chooses a lifetime. The app works, and everyone forgets about it. The person who set it up may have moved on.

Microsoft recommends overlapping the old and the new credential, so the owner has time to test the change before there is an outage. That only works if somebody knows the date is coming.

What it can cost

An example of how it goes. A company has a nightly job that sends payroll data to its accountants. It signs in with a client secret created two years ago. On the day the secret ends, the job quietly fails to authenticate. The first anyone hears of it is a call from the accountants asking where the file is.

Nothing was attacked. A date passed.

How it looks in Seyder Workspace

MediumContoso Ltd · demo tenant

"Payroll export" has 1 client secret expiring within 30 days

Business risk
When a workload depends on a client secret that expires, it can lose the ability to authenticate.
Affected
  • Payroll export: earliest secret expiry in 12 days
In the card
Technical impact · Step-by-step fix · PowerShell where it applies · Source
Illustration of a finding in Seyder Workspace. Contoso Ltd is a fictional company; the names are invented.

The nightly assessment reads the expiry dates of the client secrets on your app registrations. It raises a Medium finding for each app with a secret that ends in 30 or fewer whole days, and names the earliest expiry. Open it and you get:

  • the application, its count of expiring secrets and the earliest end date;
  • the business risk in words you can show to management;
  • how to fix it, step by step inside Seyder Workspace, including what to prepare so that the old credential stays valid until the new one is proven;
  • the source: the Microsoft guidance behind the check.

Already expired secrets are reported by a separate check. The finding stays open until a later run sees it resolved, or until you record a decision with a note.

What it does not do

Seyder Workspace reads and advises. It never renews a secret or changes anything else in the tenant: your administrator does that. This finding does not check certificates. A secret without an end date in the collected data cannot enter the expiry calculation. It does not read secret values, and it does not tell you which credential a workload actually uses, so the expiry of an unused credential breaks nothing. Configured operator app registrations are left out. If app data could not be read, that is shown as a gap in coverage, not as a pass.

This is one of more than 100 checks. See the other findings, or book a demo and see this one on a demo tenant.

Sources

Questions buyers ask.

Does Seyder Workspace detect expiring certificates?

No. This finding covers client secrets only. Certificates are not checked by it.

Is an expiring secret always in use?

No. A secret that is about to expire may belong to an application nobody uses any more, and its expiry then breaks nothing. Seyder Workspace does not tell you which credential a consumer actually uses.

Does Seyder Workspace renew the secret?

No. It reads expiry dates only, never secret values, and never changes the tenant. Your administrator or the app owner renews the credential.

Contoso demo

Open full-size image