Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Agent Identity Blueprints should not have expired, excessive, or long-lived client credentials (Preview)

MT.1208MediumEntra IDAgent identitiesRuns with -IncludePreview

Part of Maester · Entra ID · Agent identities · All checks

Run this check
Invoke-Maester -TestId MT.1208 -IncludePreview

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).

  1. Open the Microsoft Entra admin center and navigate to Entra ID > Agents > Agent blueprints.
  2. Locate the reported Blueprint using its Object ID or display name.
  3. Under Developer settings, select Credentials.
  4. On the Certificates and Client secrets tabs, delete any expired credentials that are no longer in use.
  5. 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.
  6. 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.
Every attribute of this check
FieldValue
Test IDMT.1208
SeverityMedium
SuiteMaester
ProductEntra ID
FeatureAgent identities
AreaAI and agents
Resource typeAgent
User impactLow
Implementation costMedium
MITRE ATT&CKT1078.004 Cloud Accounts, T1098.001 Additional Cloud Credentials, T1552 Unsecured Credentials
Supports controlsnist-800-53-r5:IA-5
PowerShell testTest-MtEntraAgentBlueprintCredentialHygiene
ServicesGraph
LifecyclePreview
Long runningYes