Over the past 18 months, I've watched enterprise cloud tenants quietly accumulate a new class of identity that almost nobody is governing: AI agents. What started as experimental copilots and proof-of-concept automation has matured into autonomous software that reads mailboxes, queries databases, opens tickets, calls APIs, and makes decisions without a human in the loop. Every one of those agents needs an identity to operate — and in most environments I've assessed, that identity is either a human user's credentials, an over-privileged legacy service account, or an app registration nobody remembers creating.
Tenable's recent guidance on securing AI agent identities — anchored on Microsoft Entra Agent ID and discovery through Tenable One Cloud Exposure — lands on a problem I consider one of the most under-appreciated exposure surfaces of 2026. This isn't a vulnerability with a CVE number and a patch Tuesday fix. It's a structural governance gap, and attackers are already exploiting the broader non-human identity (NHI) problem: stolen service principal secrets, abused OAuth grants, and compromised workload identities have been central to cloud intrusions throughout 2025 and into 2026.
If your organization is deploying agentic AI — and if your vendors are deploying agents into your tenant, which they almost certainly are — you need a discovery and governance plan now, not after your first agent-related incident.
Why AI Agent Identities Are a Distinct Risk Class
Traditional service accounts are bad enough. AI agents amplify every weakness of machine identity management and add new ones:
1. Autonomy multiplies blast radius. A classic service account executes a defined script. An AI agent interprets goals, chains tool calls, and acts dynamically. If that agent's identity is compromised — or if the agent itself is manipulated through prompt injection or poisoned data — the attacker inherits an identity that is designed to act independently across systems.
2. Agents inherit human-grade permissions. In deployment after deployment, I've seen vendors and internal teams take the path of least resistance: run the agent as the user who configured it, or as a broad admin service account "to avoid permission errors." This violates least privilege at the exact moment the workload becomes hardest to predict.
3. Shadow agents are everywhere. Business units spin up agents from vendor SaaS platforms, low-code tools, and embedded AI features without involving security. These agents authenticate into your tenant via OAuth consents and app registrations that never pass through your identity governance process. You cannot secure what you have not cataloged.
4. Ownership is ambiguous. Who is accountable when an agent acts — the developer, the vendor, the business sponsor? Without a formal identity model, that accountability question is unanswerable during an incident, which is precisely when you need it answered fastest.
What Microsoft Entra Agent ID Changes
Microsoft's Entra Agent ID is the first major cloud provider attempt to give AI agents a first-class, purpose-built identity model rather than forcing them into human user accounts or generic service principals. From a defender's standpoint, the model matters because it enables:
- Distinguishable identity type — agents are explicitly labeled as agents in the directory, making discovery, reporting, and policy scoping possible. You can finally answer "how many agents exist in my tenant?" with a query instead of an archaeology project.
- Sponsor and ownership attribution — each agent identity is tied to a responsible human sponsor, closing the accountability gap that makes incident response against rogue agents so painful.
- Scoped, auditable permissions — agent identities can be granted least-privilege access appropriate to their function, with Conditional Access and access reviews applied to them as a distinct class.
- Lifecycle management — when an agent is retired, its identity has a defined deprovisioning path rather than lingering as an orphaned credential.
The critical practitioner takeaway from Tenable's guidance: do not let vendors run agents in your environment under human identities or shared service accounts. Require vendors to adopt official agent identity models like Entra Agent ID. If a vendor's agent product can't operate under a governed, scoped agent identity, that is a procurement red flag, not an inconvenience to work around.
Discovery: You Cannot Govern What You Cannot See
Tenable's position — and it matches my field experience — is that step zero is complete discovery and cataloging of every AI agent operating in your environment. Two practical paths:
Native cloud tooling. In Microsoft environments, enumerate service principals, app registrations, OAuth consent grants, and managed identities through Entra and Microsoft Graph. Identify which ones back AI/agent workloads by examining naming, API permissions (look for broad Graph scopes like Mail.Read, Sites.ReadWrite.All, Directory.Read.All on non-human identities), sign-in patterns, and creation provenance. Cross-reference with your SaaS vendor inventory.
Tenable One Cloud Exposure. Where native tooling falls short is correlation: tying an identity to its effective permissions, its reachable resources, its misconfigurations, and the actual exposure path an attacker could traverse. An exposure management platform that ingests identity, cloud posture, and vulnerability data can surface the toxic combinations — e.g., an ungoverned agent identity with standing write access to production data stores and no conditional access policy — that flat inventory lists will never show you.
Either way, the output must be a living catalog: every agent, its identity type, its sponsor, its permissions, its data access, and its business justification.
Executive Takeaways
For security leadership building an action plan, these are the priorities I recommend based on the maturity of your current program:
-
Assess your maturity honestly first. Most organizations are at Level 0: no inventory, no policy, agents deployed ad hoc. Define a target state — full inventory, dedicated agent identities, least-privilege scoping, continuous monitoring — and build a phased plan. Do not try to jump from zero to full governance in one quarter; you will stall.
-
Complete an agent discovery sprint within 30 days. Use Entra native queries, Graph API enumeration, or Tenable One Cloud Exposure to catalog every AI agent and every non-human identity with AI-adjacent permissions. Include OAuth consents granted by end users — shadow agents ride in on user consent more often than through IT.
-
Ban human and shared identities for agents — enforce it contractually. Update vendor procurement and onboarding requirements: any agentic AI deployed in your tenant must use a dedicated, governable identity such as Microsoft Entra Agent ID. Prohibit agents running as end users or shared admin service accounts. Existing deployments get a remediation deadline, not a permanent exception.
-
Apply least privilege and standing-access limits to agent identities. Scope agent permissions to the minimum API surface required. Prefer time-bound, just-in-time elevation over standing broad grants. Apply Conditional Access policies to agent identities as a distinct class — block legacy auth, restrict by network/workload context where supported, and require access reviews on a defined cadence (quarterly at minimum for agents touching sensitive data).
-
Monitor agent behavior, not just agent existence. Baseline what each agent normally does — which APIs it calls, which resources it touches, at what volume, from where. Alert on deviation: an agent suddenly enumerating directories, accessing mailboxes outside its scope, or authenticating from an unexpected location is your earliest indicator of compromise or manipulation. Feed Entra sign-in and audit logs for agent identities into your SIEM with dedicated analytics.
-
Build an agent-specific incident response playbook. When an agent identity is compromised, response differs from a user account: you must revoke tokens and credentials, suspend the agent's automation, identify every action it took during the exposure window (audit log reconstruction), and assess whether the agent was manipulated (prompt injection, poisoned inputs) versus impersonated (stolen credentials). Run a tabletop exercise on this scenario before you live it.
Remediation Roadmap
Immediate (0–30 days):
- Inventory all service principals, app registrations, managed identities, and OAuth grants in Entra; flag anything attributable to AI/agent workloads.
- Identify and triage agents running under human accounts or over-privileged service accounts — these are your highest-risk items.
- Revoke unused OAuth grants and stale app registrations (a perennial finding in every tenant I assess).
Near term (30–90 days):
- Migrate agent workloads to dedicated identities using Microsoft Entra Agent ID or equivalent.
- Enforce least-privilege permission scoping; remove broad Graph scopes (
*.ReadWrite.All, directory-wide grants) from non-human identities unless explicitly justified and reviewed. - Implement Conditional Access coverage and quarterly access reviews for agent identities.
- Deploy continuous exposure monitoring (Tenable One Cloud Exposure or equivalent) to catch toxic identity-permission-resource combinations as they emerge.
Ongoing:
- Treat agent identity governance as a standing program, not a project: new agent onboarding requires security review, sponsorship assignment, and permission sign-off.
- Track vendor roadmaps — as agentic AI features proliferate in SaaS platforms you already own, new agents will appear in your tenant whether you planned for them or not.
Closing
AI agents are not a future problem. They are authenticating into your tenant today, acting on your data today, and — if left ungoverned — providing attackers with pre-positioned, over-privileged, poorly monitored identities today. The organizations that get ahead of this will be the ones that treat agent identity with the same rigor they (eventually) applied to service accounts: discover everything, assign dedicated governed identities, enforce least privilege, and monitor behavior continuously. Microsoft's Entra Agent ID gives you the identity model; exposure management platforms like Tenable One give you the visibility. The action plan is on you.
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.