Skip to content
AI Agent Access Control

A self-hosted agent on Container Apps or AKS acts as a managed identity, and its network is open by default

A container app can have a system-assigned managed identity (tied to the app) or user-assigned identities (standalone resources). Microsoft documents that for some resources you must configure role assignments for the app's managed identity, otherwise calls to services such as Key Vault and SQL Database are rejected even with a valid token.

The full map ยท Azure overview

A container app can have a system-assigned managed identity tied to the app, or user-assigned identities that are standalone resources. On AKS, Microsoft Entra Workload ID gives pods an Entra identity through a projected service account token. Microsoft documents that you must configure role assignments for the identity, or calls to services such as Key Vault and SQL Database are rejected. A default role grant: none found on 2026-11-10.

By default Container Apps is publicly accessible and can reach only internet-accessible endpoints; supplying your own virtual network adds control over outbound traffic. In AKS, all pods can send and receive traffic without limitations by default. Azure Policy, RBAC role assignments and Kubernetes network policy bound the agent. Container Apps send console and system logs to Log Analytics.

Status
Self-hosted pattern, not a managed agent service.
The identity it runs as
A container app can have a system-assigned managed identity (tied to the app) or user-assigned identities (standalone resources). On AKS, Microsoft Entra Workload ID uses a projected Kubernetes service account token and OIDC federation to give pods an Entra identity. (source)
What it gets by default
Microsoft documents that for some resources you must configure role assignments for the app's managed identity, otherwise calls to services such as Key Vault and SQL Database are rejected even with a valid token. A default role grant: none found on 2026-11-10. (source)
Tools and actions
Workloads on AKS need Entra application credentials or managed identities to reach Entra-protected resources such as Key Vault and Microsoft Graph; calls run as that identity. (source)
The agent's permissions or the user's
The workload uses its own managed or workload identity. Propagation of an end user's permissions to the workload: none found on 2026-11-10 in the Container Apps and AKS pages read. (source)
Network reachability
By default Container Apps is publicly accessible and can communicate only with internet-accessible endpoints; supplying your own virtual network adds control over outbound traffic and access to private endpoints. In AKS, all pods can send and receive traffic without limitations by default. (source)
What is logged
Container Apps send console logs (from your app) and system logs (from the service) to Log Analytics. For AKS, the Azure Monitor activity log collects some data automatically and control plane logs are resource logs sent through a diagnostic setting. (source)

Boundaries that apply

  • Azure RBAC role assignments. You use role-based access control to grant specific permissions to the managed identity. (source)
  • Azure Policy. Azure Policy enforces organizational standards and assesses compliance at scale. (source)
  • Deny assignments. A deny assignment attaches deny actions to a principal at a scope; Microsoft notes customer-managed deny assignments are in private preview. (source)
  • Kubernetes network policy on AKS. Network policies define rules for traffic between pods. (source)

Checks to run for Azure

Where Act is behind

Act draws the boundary at the access layer (cloud IAM and network controls, and the gateways or MCP servers in front of agents); it does not inspect prompts or model outputs, which needs a different tool. Your team applies the boundaries it proposes, and its customer evidence for AI boundaries is less mature than for its core access control.

Sources

  1. learn.microsoft.com/en-us/azure/container-apps/managed-identity, read 10 Nov 2026
  2. learn.microsoft.com/en-us/azure/aks/workload-identity-overview, read 10 Nov 2026
  3. learn.microsoft.com/en-us/azure/container-apps/networking, read 10 Nov 2026
  4. learn.microsoft.com/en-us/azure/aks/use-network-policies, read 10 Nov 2026
  5. learn.microsoft.com/en-us/azure/container-apps/log-monitoring, read 10 Nov 2026
  6. learn.microsoft.com/en-us/azure/aks/monitor-aks, read 10 Nov 2026
  7. learn.microsoft.com/en-us/azure/governance/policy/overview, read 10 Nov 2026
  8. learn.microsoft.com/en-us/azure/role-based-access-control/deny-assignments, read 10 Nov 2026

Last reviewed 16 Nov 2026.