← Lab /Security & privacy

Restricting Entra permissions and avoiding blueprint secrets reduces agent takeover risk

Limiting certain Entra roles, permissions, and blueprint secret usage will lower the likelihood and impact of an agent blueprint compromise.

Security & privacy Datadog Security Labs 6 Jul 2026 Defense Deployed evidence

Published as “Entra Agent ID: Protect, detect, respond”

Why it matters

Applying these controls can reduce the blast radius of a compromised agent or blueprint in Azure Entra environments.

Summary

The post advises security teams to tighten Entra role assignments, remove high-risk permissions from agents, and replace blueprint secrets with certificates or federated credentials. It also recommends monitoring for credential additions to blueprints and using Microsoft Entra ID Protection (when available) to detect suspicious activity. The guidance is based on documented Azure capabilities rather than new experimental data, and the authors note that some detection features are currently offline.

What they found 1

  1. Any permission that allows adding credentials to a blueprint can lead to takeover of all associated agent identities.

    “Any permission that allows adding credentials to a blueprint can lead to takeover of all agent identities, agent users, and blueprint principals associated with that blueprint, including those in other tenants.”

Caveats 3

  • Limiting the roles and permissions below will not prevent a third-party agent compromise.
  • At this time, all risk detections for risky agents are offline.
  • Agents must be disabled in the Entra admin center; deletion requires Microsoft Graph API calls.

What’s new here 4

  • Specific role and permission restrictions (e.g., Agent ID Administrator, AgentIdentityBlueprint.AddRemoveCreds.All).
  • Procedure to identify third-party blueprints that use secrets via sign-in logs.
  • Guidance on disabling agents in the admin center and deleting them via Microsoft Graph API.
  • Mapping of Datadog Cloud SIEM detections to agent-related activities.