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
- 1.6K
- Installs
- 396.7K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/microsoft/azure-skills --skill azure-rbacUse cases
- Pick the least-privilege role for a managed identity that only needs to read blobs.
- Generate Bicep code that assigns a role to an identity in a deployment.
- Check which permissions you need before granting a role to someone else.
Frequently Asked Questions
Does it only suggest built-in roles?
No, it also covers custom role definitions alongside built-in role selection.
What output does it produce for an assignment?
It generates CLI commands and Bicep code to assign the chosen role.
Can it help when I don't know what role to assign?
Yes, describing the identity's needs is the trigger, and it finds the least-privilege role that fits.
About this skill
Finds the appropriate Azure RBAC role for an identity using least privilege, then generates the CLI commands and Bicep code to assign it. It also explains what permissions are needed to grant roles. Useful for cloud engineers and security teams managing Azure access control.
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