microsoft avatar

Entra Agent Id

This provisions Microsoft Entra's new Agent Identity system, which gives each AI agent instance its own service principal, audit trail, and independently scoped permissions via Microsoft Graph. You create a Blueprint (the agent type), then a BlueprintPrincipal (which isn't auto-created and will break if you skip it), then individual Agent Identity service principals for each running instance. The two-step fmi_path token exchange lets agents authenticate with distinct identities even when they share Blueprint credentials. Useful when you need per-agent permission grants, cross-tenant flows, or compliance logging that tracks which agent did what. The skill covers direct Graph API calls since there's no dedicated MCP server yet. Watch out for DefaultAzureCredential, it doesn't work here because Azure CLI tokens get hard-rejected.

skills.sh installs
428.8K
GitHub stars
1.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add microsoft/azure-skills --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/azure-skills
Categories
Backend & APIs, Security, AI & Agent Building, Cloud & Infrastructure, Finance & Trading, Web3 & Blockchain
First seen
May 16, 2026

More from microsoft/azure-skills

All 39
1runcomfy-com avatarcontrolnet-poseruncomfy-com/skillsPose-conditioned generation on RunComfy via the `runcomfy` CLI. Routes across Kling 2-6 Motion Control Pro / Standard (transfer the motion / blocking of a refer274Kskills.sh installs
2runcomfy-com avatarnano-banana-editruncomfy-com/skillsEdit images with Google Nano Banana 2 (image-to-image edit endpoint) on RunComfy. Documents Nano Banana Edit's strengths (preserve subject identity, swap backgr274Kskills.sh installs
3higgsfield-ai avatarhiggsfield-marketplace-cardshiggsfield-ai/skillsGenerate marketplace product image cards through Higgsfield: compliant main image, secondary product images, and A+ style content modules. Use when the user ask210.6Kskills.sh installs
4microsoft avatarazure-cost-optimizationmicrosoft/azure-skillsIdentify Azure cost savings from usage and spending data. USE FOR: optimize Azure costs, reduce Azure spending/expenses, analyze Azure costs, find cost savings,155.4Kskills.sh installs
5antibrow avataranti-detect-browserantibrow/anti-detect-browser-skillsDrive Chromium from standard Playwright APIs with a real-device fingerprint applied inside the browser kernel, one persistent isolated profile per identity, and154.4Kskills.sh installs
6cloudflare avatarworkers-best-practicescloudflare/skillsReviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc,140.4Kskills.sh installs