Skip to main content
Daily Triage Briefing

Nightly Graph Export Fails With AADSTS7000222 While a Valid Client Secret Sits Unused

Impact Summary

AADSTS7000222 means the client sent an expired client secret. In this fictional exercise a nightly Microsoft Graph export kept its old secret although a valid replacement existed on the app registration. Give the job the valid secret, run it once, and leave the expired secret until nothing else uses it.

SeveritySEV-3
StatusResolved simulation
PlatformSecurity & Identity
Incident TypeSecurity & Identity
Published17 Nov 2026
Published byKBY Technologies
Technologies Involved
Microsoft Entra ID

A practice scenario

A made-up scenario for practising diagnosis. No real organisation or incident is involved, and every name, log line and identifier is invented.

Operational Summary

Root Cause

The job's credential store still held the original client secret. A replacement secret had been added to the app registration in March and saved to the team vault, but never given to the job, so when the original expired the token endpoint returned AADSTS7000222.

Detection Method

Evidence-led guided investigation

Current Status

Resolved simulation

Affected Services

Microsoft Entra ID

Incident Overview

AADSTS7000222 means the client sent an expired client secret. In this fictional exercise a nightly Microsoft Graph export kept its old secret although a valid replacement existed on the app registration.

Give the job the valid secret, run it once, and leave the expired secret until nothing else uses it.

Investigation Options

Review the available operational moves and select the best immediate action.

A

Update the job's stored credential with the March secret value from the team vault and run the job once by hand.

B

Create another new client secret on the app registration and give that to the job.

C

Grant admin consent again for the app's Microsoft Graph application permissions.

D

Ask the security team to restore the Graph permission they removed last week.

Tags:Microsoft Entra ID