This skill should be used when binding agent access to Microsoft Entra identity: managed identities, RBAC scopes, on-behalf-of access, tenant boundaries, credential-free SDK use, and per-user authorization for tools and grounding sources.
Ships in context-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Identity is the control plane for enterprise agents. In Microsoft-native systems, an agent should not carry broad static credentials in prompts, tool definitions, or code. It should operate through Entra identity, scoped permissions, and explicit user delegation when the answer depends on a user's private data.
Activate this skill when:
Do not activate this skill for adjacent work owned by other skills:
foundry-tool-governance or core tool-design.azure-agentic-retrieval.harness-engineering.Treat identity as part of context engineering because access decisions shape what information enters the model. A retrieval result obtained with a broad service credential can poison context by exposing documents the user could not access. A tool call made with the wrong identity can also produce an action that is technically valid but unauthorized from the user's perspective.
Use three access modes deliberately:
| Mode | Use when | Risk |
|---|---|---|
| Managed identity | The agent or tool acts as a workload against Azure resources | Can become over-broad if RBAC is assigned at subscription or resource-group scope |
| On-behalf-of access | The agent must respect the user's Microsoft 365 or API permissions | Requires tenant alignment and token-flow support |
| Service principal or key | Legacy APIs or bootstrap automation require non-user credentials | Secrets and over-permissioning need stricter governance |
The default should be managed identity for workload access and on-behalf-of for user-private data.
Example: identity selection
Input: A support agent reads public product docs, private customer contracts in SharePoint, and opens internal tickets.
Output:
Product docs: managed identity against Azure AI Search.
Customer contracts: on-behalf-of SharePoint grounding so user permissions apply.
Ticket creation: managed identity or app registration with scoped API permission, plus audit fields for invoking user.
Example: bad binding
Avoid: one service principal with broad SharePoint access for all retrieval.
Prefer: OBO retrieval so the model never receives documents the user cannot open.
Created: 2026-05-24 Last Updated: 2026-05-24 Author: Agent Skills for Context Engineering Contributors Version: azure-0.1.0
What SKILL.md sets; muted values are Claude Code's defaults
24 skills in this plugin
/advanced-evaluationThis skill should be used for advanced LLM evaluation: LLM-as-judge systems, direct scoring, pairwise comparison, rubric calibration, evaluator bias mitigation, confidence scoring, and automated quality assessment./agent-publishingThis skill should be used when publishing Microsoft-native agents: Foundry agent versions, stable endpoints, Teams and Microsoft 365 Copilot distribution, Entra Agent Registry, environment promotion, rollout, and rollback./azure-agentic-retrievalThis skill should be used when implementing private grounded retrieval on Azure: Azure AI Search, agentic retrieval, knowledge sources, File Search, SharePoint grounding, citations, access-controlled indexes, and retrieval traces.Other plugins' skills for the same job
/context-engineering:azure-identity-for-agentsfrom context-engineering
npx claudepluginhub fvossebeld/agent-skills-for-context-engineering --plugin context-engineering