In short.
Microsoft's entra-agent-id is an instruction skill for developers managing AI agent identities in Microsoft Entra, but privileged setup and inconsistencies in its examples require care. It explains the Blueprint, BlueprintPrincipal and individual Agent Identity relationship, two-step token exchange, per-agent permissions and an optional local authentication container. Its limitations include restricted consent flows, propagation delays and logs that need additional correlation to identify agent activity. Nothing was executed; live API compatibility, deployment success, performance and operating costs are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
The complete selected scope is .github/plugins/azure-skills/skills/entra-agent-id at revision 968f7bfaa01672e782dae2c6bab4fb9505ae047a: SKILL.md and references/known-limitations.md, oauth2-token-flow.md, obo-blueprint-setup.md, runtime-token-exchange.md, sdk-sidecar-deployment.md and sdk-sidecar.md. Related notices are .github/plugins/azure-skills/LICENSE and the repository-root LICENSE. Linked pages, SDK and container contents, other skills and other repository folders are excluded. The supplied acquisition checksum is f8ac91ff3d7b244332a1322d9fa36fc408ed0bfefa52628897e79807d4ba1b81. No code, installation, provisioning, token exchange, deployment, permission boundary, cleanup procedure or performance behavior was executed or tested.
The overview
identity
entra-agent-id is a Microsoft-authored instruction skill in the microsoft/azure-skills repository. Its metadata declares version 1.1.1. It supplies instructions and reference examples for an assistant to use when implementing Microsoft Entra Agent ID; it is not the identity service or an agent execution framework.
The original resource address is [https://github.com/microsoft/azure-skills/tree/main/.github/plugins/azure-skills/skills/entra-agent-id]. The supplied files are pinned to revision 968f7bfaa01672e782dae2c6bab4fb9505ae047a.
assessment
The resource is useful for teams that need each AI agent instance to have its own Microsoft identity and permission boundary. It brings together provisioning order, credential placement, token exchange and common errors that would otherwise require separate implementation decisions.
Treat it as an implementation guide requiring technical review. The main skill and limitations reference disagree about delegated provisioning, and some sidecar examples need reconciliation with the stated configuration and security rules. Successful authentication or deployment is not established.
users
The intended users are developers and identity administrators building agents that access Microsoft Graph or other protected APIs. It addresses both autonomous agents and agents acting on behalf of a signed-in user.
Experienced developers get Python and PowerShell provisioning patterns, .NET helper guidance, and HTTP sidecar examples for other languages. Beginners will need support with OAuth, service principals, tenant roles and administrator consent. Ordinary application registration and Microsoft Foundry agent authoring are outside the skill's stated purpose.
capabilities
The instructions cover creating an Agent Identity Blueprint, explicitly creating its BlueprintPrincipal, and creating individual Agent Identities beneath it. They also describe credential configuration, application permission assignments and delegated permission grants for each agent.
Runtime references cover autonomous authentication, on-behalf-of authentication and cross-tenant exchange. The sidecar references describe acquiring authorization headers, validating incoming tokens and calling downstream APIs through HTTP endpoints. Troubleshooting maps named Entra errors to likely configuration problems.
Using it
requirements
Provisioning requires an Entra tenant, appropriate roles and Microsoft Graph permissions. The main skill lists Agent Identity Developer, Agent Identity Administrator or Application Administrator, with separate permissions for creating objects and granting access. Blueprint creation requires a User sponsor; an individual Agent Identity may have a User or Group sponsor.
The documented tooling paths are PowerShell 7 or later with Microsoft.Graph.Applications, or Python with azure-identity and requests. The source warns against Azure CLI tokens for Agent Identity API authentication because of Directory.AccessAsUser.All, and its limitations reference says Agent Identity creation requires application permissions.
The optional sidecar requires a container deployment and configuration for the tenant, Blueprint credentials and downstream APIs. Production guidance favors managed or workload identity federation. Supported assistant hosts, minimum Python version, dependency compatibility and required Entra subscription tier are not established.
mechanism
A Blueprint is the application object representing an agent type and holding its credentials. Its BlueprintPrincipal is a tenant service principal that must be created explicitly. Each Agent Identity is another service principal representing one instance; it has no backing application object and cannot hold its own credentials.
At runtime, Blueprint credentials and the fmi_path parameter identify the agent and obtain an intermediate parent token. A second exchange uses that token as a client assertion to obtain a downstream token. Autonomous access uses application permissions; on-behalf-of access also supplies a user token and uses delegated permissions.
The exchange instructions require /.default scopes and the Agent Identity's appId rather than its service principal object ID. For on-behalf-of access, the user's token targets the Blueprint API. For cross-tenant access, both exchange steps target the Agent Identity's home tenant. Permission grants belong to each Agent Identity rather than the BlueprintPrincipal.
setup
The documented provisioning order is to authenticate a suitably permissioned client, create the Blueprint with a User sponsor, create its BlueprintPrincipal, and then create individual Agent Identities. Existing Blueprints still need a check for a missing principal. The source also requires OData-Version: 4.0 headers and recommends retries for propagation delays.
Runtime configuration puts credentials on the Blueprint. The production path uses a Federated Identity Credential, with the managed identity's principalId as its subject and api://AzureADTokenExchange as its audience. The local development path uses a Blueprint client secret. On-behalf-of operation adds an API identifier, exposed scope, authorized client configuration and token claims.
The sidecar configuration adds tenant and Blueprint identifiers, a credential source and named downstream APIs. Its examples need adaptation before deployment, particularly around private network access, health probes and on-behalf-of request parameters. No assistant-specific installation procedure is supplied.
example
The on-behalf-of reference illustrates separate permission boundaries for a helpdesk agent and a communications agent. The helpdesk example receives User.Read and Tasks.ReadWrite, while the communications example receives User.Read, Mail.Send and Calendars.ReadWrite. These are illustrative grants, not a recommended default permission bundle.
For the helpdesk scenario, a client obtains a user token targeting the Blueprint's access_as_user scope. The agent combines that token with its parent token to request delegated Graph access. The intended result is access under that agent's identity and allowed delegated permissions. No token exchange, task operation or permission isolation was demonstrated by execution.
Assessment & evidence
limitations
The main skill presents delegated authentication as a provisioning option, while known-limitations.md says there is no viable delegated permission for creating Agent Identities. The same reference recommends delegated permissions for some propagation problems. The supported authentication path therefore needs confirmation for each operation.
Distinct identities do not automatically produce clearly labeled agent logs. The limitations reference says audit and Graph activity logs classify these operations as application or user activity, requiring object-ID correlation or joins with sign-in logs. It also documents manual cleanup of orphaned agent users, unavailable web-app SSO and unsupported dynamic group membership.
The Python on-behalf-of sidecar example omits AgentIdentity, although the sidecar reference describes on-behalf-of operation using AgentIdentity plus an incoming bearer token. The Docker Compose example publishes host port 5001 without a loopback host binding, which does not enforce the stated private-access requirement. The Kubernetes snippet combines loopback binding with HTTP health probes; working probe behavior and a complete deployment are not demonstrated.
Other documented restrictions include unsupported delegated scopes such as Group.ReadWrite.All, programmatic consent requirements, permission propagation delays of 30–120 seconds or longer, and failures when dependent objects are created too quickly. None of these behaviors was independently reproduced, and supported scale and performance are unknown.
reasoning
The resource's strongest contribution is explaining how shared Blueprint credentials coexist with separate agent identities and permission grants. That distinction matters when several agents need different access to the same organization's APIs.
Its value depends on needing this Entra-specific identity model and having administrative support to configure it. The sidecar can reduce authentication code embedded in each language, but introduces another service to configure and keep private. Documentation breadth does not establish permission isolation, deployment reliability or security in a particular environment.
alternatives
For .NET applications, the skill points to Microsoft.Identity.Web.AgentIdentities, which it says handles Federated Identity Credential management and the two-step exchange. For other languages, it offers the HTTP sidecar approach. Direct Python or PowerShell requests are the documented route when developers want to manage provisioning and exchanges themselves.
For ordinary Entra application registration, the source points to entra-app-registration; for Microsoft Foundry agent authoring, it points to microsoft-foundry. Those skills, the helper package implementation and competing identity products are outside the supplied content, so no feature or performance comparison is established.
evidence
The source consists of SKILL.md and six local references covering known limitations, OAuth credentials, on-behalf-of setup, runtime exchange, sidecar architecture and sidecar deployment. Two matching MIT notices are supplied from the repository root and parent plugin directory.
The immutable source location is [https://github.com/microsoft/azure-skills/tree/968f7bfaa01672e782dae2c6bab4fb9505ae047a/.github/plugins/azure-skills/skills/entra-agent-id]. Microsoft Learn pages, SDK implementations and other linked resources are not included. Service behavior described in these files remains documentation evidence rather than an observed result.
Access & freshness
costs
The supplied files provide no Microsoft Entra Agent ID pricing, required subscription tier or operating cost estimate. Azure hosting, sidecar compute and downstream API charges are not quantified, so total cost is unknown.
MIT permission to reuse the instruction files does not establish free access to Microsoft cloud services or cover the cost of infrastructure.
rights
The skill declares MIT, and both supplied license notices name Microsoft Corporation with copyright year 2025. The license permits use, modification, redistribution, sublicensing and sale of the software and associated documentation, provided the copyright and permission notice remain with copies or substantial portions.
The material is supplied without warranty. These notices support redistribution of the captured skill and reference documentation with their notices; they do not establish the separate terms for the SDK container, linked repositories or hosted services.
freshness
The supplied snapshot was captured on 14 November 2026 at 13:51:03 UTC from revision 968f7bfaa01672e782dae2c6bab4fb9505ae047a. The skill declares version 1.1.1, while the sidecar examples specify container tag 1.0.0-azurelinux3.0-distroless. These identify the documented versions, not the newest available releases.
The skill explicitly warns that Graph API shapes evolve and calls for checking current documentation and SDK compatibility. Current service availability, API correctness and compatibility with newer SDK or container releases are unknown.
actions
Before implementation, confirm tenant eligibility, licensing, required roles and operation-specific Graph permissions. Reconcile the delegated-provisioning contradiction against current setup documentation at [https://learn.microsoft.com/en-us/entra/agent-id/identity-platform/agent-id-setup-instructions]. Confirm the SDK or container version supported by the intended environment.
In a nonproduction tenant, validate the required autonomous, on-behalf-of and cross-tenant paths, including whether separate agent grants enforce the intended boundaries. Adapt the sidecar examples to include required identity parameters, enforce private network access and verify health checks. Plan retries, log correlation, credential handling and agent-user cleanup before production use.
