Azure Rbac
Helps users find the right Azure RBAC role for an identity with least privilege access, then generate CLI commands and Bicep code to assign it. Also provides guidance on permissions required to grant roles. WHEN: bicep for role assignment, what role should I assign, least privilege role, RBAC role for, role to read blobs, role for managed identity, custom role definition, assign role to identity, what role do I need to grant access, permissions to assign roles.
- Type
- Skill
- Author
- microsoft
- Category
- Security
- GitHub stars
- 217
- Installs
- 103.0K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/microsoft/github-copilot-for-azure --skill azure-rbacUse cases
- Find the least-privilege role to grant an identity read access to blobs.
- Generate Bicep or CLI commands for a role assignment.
- Work out which permissions are needed to grant roles to a managed identity.
Frequently Asked Questions
What does Azure Rbac help with?
Finding the right Azure RBAC role for an identity with least-privilege access and generating CLI or Bicep code to assign it.
Does it cover custom roles?
Yes, custom role definitions are included alongside guidance for built-in roles.
Can it explain the permissions needed to assign a role?
Yes, it provides guidance on the permissions required to grant roles.
About this skill
Finds the right Azure RBAC role for an identity using least-privilege access, then generates CLI commands and Bicep code to assign it. It also explains the permissions required to grant roles, and covers custom role definitions and role assignment for managed identities.
Summary written with AI assistance from the project's public description.
More from microsoft
Microsoft Foundry
Deploy, evaluate, fine-tune, and manage Foundry agents end-to-end with azd: hosted agent scaffold/run/deploy, prompt agent create, batch eval, cont...
by microsoft
Azure Diagnostics
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot...
by microsoft
Azure Prepare
Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CL...
by microsoft
Azure Ai
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcrip...
by microsoft
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh