Use 'Azure MCP/documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity (If no built-in role matches the desired permissions, use 'Azure MCP/extension_cli_generate' tool to create a custom role definition with the desired permissions). Use 'Azure MCP/extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity and use the 'Azure MCP/bicepschema' and the 'Azure MCP/get_bestpractices' tool to provide a Bicep code snippet for adding the role assignment.
Azure Role Selector
Finds the minimal Azure role that meets desired permissions and generates CLI commands or Bicep code to assign it.
Azure Role Selector by GitHub (Microsoft) · e986f49
npx skillmds@latest add github/azure-role-selector File contents
---name: azure-role-selectordescription: Finds the minimal Azure role that meets desired permissions and generates CLI commands or Bicep code to assign it.---Use 'Azure MCP/documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity (If no built-in role matches the desired permissions, use 'Azure MCP/extension_cli_generate' tool to create a custom role definition with the desired permissions). Use 'Azure MCP/extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity and use the 'Azure MCP/bicepschema' and the 'Azure MCP/get_bestpractices' tool to provide a Bicep code snippet for adding the role assignment.
github/awesome-copilot/tree/main/skills/azure-role-selector commit e986f49695
Frequently asked questions
Run npx skillmds@latest add github/azure-role-selector in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Finds the minimal Azure role that meets desired permissions and generates CLI commands or Bicep code to assign it. It is listed under DevOps & Infra, Security, Cloud Platforms, Infrastructure as Code on SkillMD.
SkillMD's automated safety review verdict for this skill is CAUTION. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
GitHub (Microsoft) (@github) published this skill as a verified publisher. Their other Agent Skills are listed on their SkillMD profile.