
Entra Agent Id
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-codeInstalls 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
| Property | Value |
|---|---|
| Service | Microsoft Entra Agent ID |
| API | Microsoft Graph (https://graph.microsoft.com/v1.0) |
| Required role | Agent Identity Developer, Agent Identity Administrator, or Application Administrator |
| Object model | Blueprint (application) → BlueprintPrincipal (SP) → Agent Identity (SP) |
| Runtime exchange | Two-step fmi_path exchange (autonomous and OBO) |
| .NET helper | Microsoft.Identity.Web.AgentIdentities |
| Polyglot helper | Microsoft 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- Investigate Integration Test
- Skill Reviewer
- Submit Skill Fix Pr
- Vally Eval
- Azure Ai103.7K
- Azure Cost Optimization103.2K
- Azure Deploy103.2K
- Azure Storage103.2K
- Azure Diagnostics103.1K
- Microsoft Foundry103.1K
- Appinsights Instrumentation103K
- Azure Aigateway103K
- Azure Compliance103K
- Azure Kusto103K
- Azure Prepare103K
- Azure Rbac103K
- Azure Resource Lookup103K
- Azure Resource Visualizer103K
- Azure Validate103K
- Entra App Registration103K
- Azure Observability102.2K
- Azure Messaging92.4K
- Azure Hosted Copilot Sdk75.7K
- Azure Compute47.5K