Skip to content
Back to skills

Azure Rbac

ASecurity

'Helps users find the right Azure RBAC role for an identity with least

  • 6 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 10, 2026
toolsazuredocumentation

Works with

  • cli

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add JantonioFC/skillsbank --skill azure-rbac --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Azure Rbac?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Azure Rbac
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jantoniofc-azure-rbac/badge)](https://www.skillsdirectory.com/skills/jantoniofc-azure-rbac)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: azure-rbac
description: '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: what role should I assign,
  least privilege role, RBAC role for, role to read blobs, ...'
license: MIT
metadata:
  author: Microsoft
  version: 1.0.1
risk: safe
source: community
---
Use the 'azure__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 the 'azure__extension_cli_generate' tool to create a custom role definition with the desired permissions. Then use the 'azure__extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity. Finally, use the 'azure__bicepschema' and 'azure__get_azure_bestpractices' tools to provide a Bicep code snippet for adding the role assignment. If user is asking about role necessary to set access, refer to Prerequisites for Granting Roles down below:

## Prerequisites for Granting Roles

To assign RBAC roles to identities, you need a role that includes the `Microsoft.Authorization/roleAssignments/write` permission. The most common roles with this permission are:

- **User Access Administrator** (least privilege - recommended for role assignment only)
- **Owner** (full access including role assignment)
- **Custom Role** with `Microsoft.Authorization/roleAssignments/write`

## When to Use

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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…