Microsoft's official skill that turns an agent into an Azure solution architect — 10 design principles, 6 architecture styles, 44 design patterns and a Well-Architected review workflow.
Microsoft Entra Agent ID
Summary
Microsoft's official skill for giving AI agents real OAuth2 identities in Entra — blueprints, agent identities, sponsors, workload identity federation and the auth sidecar.
Features
- Provision OAuth2 identities for agents via the Microsoft Graph beta API
- Blueprint → BlueprintPrincipal → Agent Identity workflow, step by step
- PowerShell (delegated) and Python (application) paths with required roles listed
- Workload identity federation so agents authenticate without stored secrets
- Containerised auth sidecar for polyglot agents on Docker or Kubernetes
- Third-party agent integration plus autonomous and interactive patterns
- States the preview/beta-only constraint rather than hiding it
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
Provision an Entra Agent ID for our nightly reconciliation agent, sponsored by me, and set up workload identity federation so it runs in AKS without a client secret.
Description
Once agents start calling company APIs on their own schedule, "which agent did this, and who authorised it" stops being a logging question and becomes an identity question. Microsoft Entra Agent ID answers it by giving each agent a first-class OAuth2-capable identity in the directory rather than a shared service principal and a secret in an environment variable. This skill teaches an agent to provision and manage those identities through the Microsoft Graph beta API.
The model
Three objects, in order: an Agent Identity Blueprint defines an agent type or project; a BlueprintPrincipal instantiates it in a tenant; Agent Identities are the individual runtime principals created from it. Each identity has a human sponsor — an accountable owner — which is what makes the chain auditable rather than anonymous.
What the skill walks through
The full provisioning workflow with working commands for both PowerShell 7+ (delegated permissions, recommended for interactive setup) and Python (application permissions, for programmatic provisioning), the Entra roles and Graph permissions each step requires, environment configuration, workload identity federation so agents authenticate without stored secrets, and cleanup so test identities do not accumulate in the directory.
It also covers the Microsoft Entra SDK for Agent ID — a containerised sidecar that handles token acquisition for agents written in any language, deployable alongside a workload in Docker or Kubernetes — plus patterns for third-party agents and for the difference between autonomous and interactive agent flows.
A caveat the skill states up front
Every Agent Identity endpoint is preview and lives under Graph /beta only; nothing is in /v1.0. The skill instructs the agent to check current documentation before relying on parameter behaviour, which is the right default for an API that is still moving.
Provenance
Part of Microsoft's official skills repository — 175 skills covering Azure SDKs, Microsoft Foundry and Microsoft 365 across Python, TypeScript, .NET, Java and Rust — published under the MIT licence in the open SKILL.md format. Works with Claude Code, GitHub Copilot, Codex and any agent implementing the Agent Skills standard.
Related Skills
Trail of Bits' security review skill for PRs, commits, and diffs: risk-first analysis with git history, blast radius, and honest coverage limits.
Generates and validates parametric STEP-first CAD parts and assemblies from natural language.
Deno's official foundational skill — project setup, package choices, configuration, and CLI commands done the current way.