An Azure AI Foundry agent is a developer-built AI workload that acts on behalf of a project inside Azure. In identity terms, it is a non-human identity with reachable tools, model deployments, and data sources. Security teams should govern it as an access-bearing entity, not just an application feature.
Expanded Definition
An Azure AI Foundry agent is best understood as an access-bearing agentic application that can call tools, reach datasets, and act within a project boundary. In NHI terms, its risk profile is defined less by the model itself and more by the permissions attached to its execution path, secrets, and delegated actions. That makes it closer to a service principal or workload identity than to a passive chatbot.
Definitions vary across vendors because “agent” may refer to the orchestration layer, the model wrapper, or the whole workflow. For governance, NHI Management Group treats the agent as the full operational identity that can initiate actions, consume tokens, and interact with downstream systems. This matters because identity scope, tool scope, and data scope are often configured separately, even though attackers exploit the weakest link across all three. The most common misapplication is treating the agent as a harmless application feature, which occurs when security reviews stop at prompt content and ignore the credentials, tool grants, and data connections behind the workflow.
Examples and Use Cases
Implementing an Azure AI Foundry agent rigorously often introduces more identity and permission overhead, requiring organisations to weigh autonomous productivity against tighter access design, logging, and secret rotation.
- A support agent reads ticket history, drafts responses, and opens cases in a CRM through delegated API access, making its token lifecycle as important as its model prompts.
- A finance agent queries internal data sources and generates reports, so its data access should be treated as a governed NHI boundary, not a convenience setting.
- A developer agent can create code, call build tools, and push changes, which means tool permissions must be segmented from human developer privileges.
- A project agent in Azure can be abused if exposed secrets are reused across environments, a pattern reflected in NHIMG’s The State of Secrets in AppSec research and reinforced by the NIST AI Risk Management Framework.
- Incident responders can use the Moltbook AI agent keys breach as a cautionary example of how agent credentials become high-value targets once tool access is in production.
Why It Matters in NHI Security
Azure AI Foundry agents matter because they operationalise delegated authority. When their permissions are overbroad, the agent becomes a durable attack path into systems that were never intended to be machine-operated end to end. That is why controls for secrets, least privilege, tool isolation, and auditability must be applied to the agent as an identity object, not only to the application hosting it. NHIMG research shows the average time to remediate a leaked secret is 27 days, even while 75% of organisations report strong confidence in their secrets management capabilities, which highlights how quickly agent risk becomes persistent once credentials are exposed.
Practitioners should also watch for indirect compromise through prompt injection, connector abuse, and token theft, themes covered in the OWASP NHI Top 10 and the MITRE ATLAS adversarial AI threat matrix. For governance teams, the key question is whether the agent can be induced to use its own authority against the enterprise. Organisations typically encounter the full impact only after a connector is abused or a secret is leaked, at which point the Azure AI Foundry agent becomes operationally unavoidable to contain.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST AI RMF, NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 | Covers secret exposure and identity misuse in non-human workloads. |
| OWASP Agentic AI Top 10 | A2 | Addresses tool abuse and unsafe autonomous actions in agentic systems. |
| NIST AI RMF | GV.1 | Defines governance expectations for AI systems with operational impact. |
| NIST Zero Trust (SP 800-207) | PA | Zero trust requires continuous verification for every resource access request. |
| NIST CSF 2.0 | PR.AC-4 | Access permissions should be limited and managed according to least privilege. |
Inventory the agent's secrets, rotate them, and remove any standing access that is not explicitly required.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 27, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org