MT.1208 - Agent Identity Blueprints should not have expired, excessive, or long-lived client credentials (Preview)
Overviewβ
Agent Identity Blueprints should not have expired, excessive, or overly long-lived client credentials.
Credentials on Agent Identity Blueprints are used for token exchange to authenticate all child Agent Identities. If a blueprint accumulates expired secrets, secrets valid for years without rotation, or an excessive number of active secrets, the risk of credential compromise and unmanaged persistence increases significantly.
This check inspects the credential metadata of all Agent Identity Blueprints in the tenant to identify expired secrets, credentials valid for more than 730 days (2 years), blueprints with more than 2 active secrets, or a blueprint that retains an active client secret alongside a federated identity credential (FIC).
Remediation action:β
- Open the Microsoft Entra admin center and navigate to Entra ID > Agents > Agent blueprints.
- Locate the reported Blueprint using its Object ID or display name.
- Under Developer settings, select Credentials.
- On the Certificates and Client secrets tabs, delete any expired credentials that are no longer in use.
- If secrets have validity periods longer than your organization's maximum rotation window (recommended β€ 365β730 days), create a new secret and decommission the old one.
- Prefer using Federated credentials or Certificates instead of shared client secrets wherever supported. If a federated credential is already configured, remove the remaining client secret entirely rather than keeping it as a fallback.
Related linksβ
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | MT.1208 |
| Severity | High |
| Suite | Maester |
| Category | Entra |
| PowerShell test | Test-MtEntraAgentBlueprintCredentialHygiene |
| Tags | Entra, Graph, LongRunning, Maester, MT.1208, Preview, Severity:High |
Sourceβ
- Pester test:
tests/Maester/Entra/Test-MtEntraAgentSecurity.Tests.ps1 - PowerShell source:
powershell/public/maester/entra/Test-MtEntraAgentBlueprintCredentialHygiene.ps1
