If you're building AI agents that need proper OAuth identities in Azure, this is the skill you want. It walks you through the three-object model (Blueprint, BlueprintPrincipal, Agent Identity) and the two-step fmi_path token exchange that gives each agent instance its own service principal and audit trail. The documentation is thorough on the gotchas: you must explicitly create the BlueprintPrincipal or you'll hit a 400 error, and DefaultAzureCredential won't work because Azure CLI tokens get hard-rejected. Includes both PowerShell and Python examples for provisioning via Microsoft Graph, plus guidance on the AgentID sidecar for polyglot runtimes. This is newer Microsoft infrastructure, so expect some API evolution.

GitHub stars
217
last updated
Jun 11, 2026

Install

$ npx -y skills add microsoft/github-copilot-for-azure --skill entra-agent-id --agent claude-code

Installs into .claude/skills of the current project.

Files

Microsoft Entra Agent ID

Create and manage OAuth 2.0-capable identities for AI agents using Microsoft Graph. Every agent instance gets a distinct identity, audit trail, and independently-scoped permission grants.

Quick Reference

PropertyValue
ServiceMicrosoft Entra Agent ID
APIMicrosoft Graph (https://graph.microsoft.com/v1.0)
Required roleAgent Identity Developer, Agent Identity Administrator, or Application Administrator
Object modelBlueprint (application) → BlueprintPrincipal (SP) → Agent Identity (SP)
Runtime exchangeTwo-step fmi_path exchange (autonomous and OBO)
.NET helperMicrosoft.Identity.Web.AgentIdentities
Polyglot helperMicrosoft Entra SDK for AgentID (sidecar container)

When to Use This Skill

Sponsors

Details

Repository
github.com/microsoft/github-copilot-for-azure
Categories
Backend & APIs, Security, Git & Pull Requests, AI & Agent Building, Cloud & Infrastructure, Finance & Trading, Web3 & Blockchain
First seen
Jun 11, 2026

More from microsoft/github-copilot-for-azure

All 40
1mikotoIO avatarrustmikotoIO/mikotoContains knowledge on Mikoto usage of Rust. ALWAYS activate before interacting with the backend, or any part of the codebase written in Rust.0skills.sh installs
2mims-harvard avatarProtein Interaction Network Analysismims-harvard/tooluniverseAnalyze protein-protein interaction networks using STRING, BioGRID, and SASBDB databases. Maps protein identifiers, retrieves interaction networks with confiden0skills.sh installs
3nicepkg avatarn8n-skillsnicepkg/ai-workflown8n workflow automation knowledge base. Provides n8n node information, node functionality details, workflow patterns, and configuration examples. Covers trigger0skills.sh installs
4ReinaMacCredy avatarmcp-for-agentsReinaMacCredy/maestroDesigns or reviews MCP servers so AI agents can use them reliably: outcome-oriented tools, flat constrained parameters, actionable errors via isError, token-eff0skills.sh installs
5retentioneering avatarretentioneering-product-analyticsretentioneering/retentioneering-toolsAnalyze event logs, clickstreams, user paths, product funnels, retention, behavioral segments, transition graphs, step matrices, sequence patterns, and customer0skills.sh installs
6ruvnet avatarReasoningBank with AgentDBruvnet/rufloImplement ReasoningBank adaptive learning with AgentDB's 150x faster vector database. Includes trajectory tracking, verdict judgment, memory distillation, and p0skills.sh installs