Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
microsoftdocs avatar

Azure Rbac

  • 134 installs
  • 682 repo stars
  • Updated August 3, 2026
  • microsoftdocs/agent-skills

Helps with ai & agent building tasks during AI-assisted development.

About

azure-rbac is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • azure-rbac
  • AI & Agent Building
  • AI-coding skill

Azure Rbac by the numbers

  • 134 all-time installs (skills.sh)
  • +16 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #3,580 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-rbac

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs134
repo stars682
Last updatedAugust 3, 2026
Repositorymicrosoftdocs/agent-skills

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Azure Role-based access control Skill

This skill provides expert guidance for Azure Role-based access control. Covers troubleshooting, best practices, decision making, limits & quotas, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g., L35-L120), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file
IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL35-L43Diagnosing and fixing Azure RBAC problems: auditing role changes, resolving role/custom role limits, and troubleshooting role assignment condition and common access issues.
Best PracticesL44-L50Security-focused guidance on designing Azure RBAC: choosing scopes, delegating access with ABAC conditions, and applying least privilege and separation-of-duties best practices.
Decision MakingL51-L55Guidance on choosing and migrating role models: moving from classic admins to RBAC, scaling with ABAC, selecting Azure vs Entra vs classic roles, and transferring subscriptions between directories.
Limits & QuotasL56-L61Designing and managing Azure RBAC custom roles, including understanding role structure, permissions, and step-by-step creation using the Azure portal
SecurityL62-L129Azure RBAC roles, permissions, ABAC conditions, custom roles, PIM, and assignment patterns for securing access to Azure resources across all major service types.
ConfigurationL130-L140Configuring Azure RBAC/ABAC: prerequisites, condition syntax, role assignments, built‑in vs custom roles, and creating/inspecting custom role definitions via CLI and PowerShell
Integrations & Coding PatternsL141-L156How to assign, list, and query Azure RBAC role assignments using CLI, PowerShell, portal, REST, ARM/Bicep templates, including managed identities and group-based access.

Troubleshooting

TopicURL
Audit Azure RBAC changes using Activity Loghttps://learn.microsoft.com/en-us/azure/role-based-access-control/change-history-report
Resolve common issues with Azure RBAC conditionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-faq
Diagnose and fix Azure role assignment condition issueshttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-troubleshoot
Resolve Azure RBAC role and custom role limit issueshttps://learn.microsoft.com/en-us/azure/role-based-access-control/troubleshoot-limits
Diagnose and resolve common Azure RBAC issueshttps://learn.microsoft.com/en-us/azure/role-based-access-control/troubleshooting

Best Practices

TopicURL
Apply security-focused best practices for Azure RBAChttps://learn.microsoft.com/en-us/azure/role-based-access-control/best-practices
Example patterns for delegating RBAC with ABAC conditionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/delegate-role-assignments-examples
Choose appropriate Azure RBAC scopes for accesshttps://learn.microsoft.com/en-us/azure/role-based-access-control/scope-overview

Decision Making

TopicURL
Scale Azure RBAC assignments using ABAC and attributeshttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-custom-security-attributes-example

Limits & Quotas

TopicURL
Understand and configure Azure RBAC custom roleshttps://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles
Create Azure custom roles in the portalhttps://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-portal

Security

TopicURL
Use Azure built-in RBAC roles and permissionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
RBAC roles for Azure AI and machine learninghttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/ai-machine-learning
RBAC roles for Azure analytics serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/analytics
RBAC roles for Azure Compute resourceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/compute
RBAC roles for Azure container serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/containers
RBAC roles for Azure database serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/databases
RBAC roles for Azure DevOps and deploymenthttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/devops
Azure general RBAC roles and permissionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/general
Use hybrid and multicloud Azure RBAC built-in roleshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/hybrid-multicloud
RBAC roles for Azure identity managementhttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/identity
RBAC roles for Azure integration serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/integration
RBAC roles for Azure IoT serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/internet-of-things
Assign management and governance RBAC built-in roleshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/management-and-governance
Use Azure RBAC built-in roles for migration taskshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/migration
Apply Azure RBAC built-in roles for monitoringhttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/monitor
RBAC roles for Azure Networking serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/networking
Azure privileged RBAC roles and allowed actionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/privileged
RBAC roles for Azure security managementhttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/security
RBAC roles for Azure Storage access controlhttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/storage
RBAC roles for Azure Web and Mobile appshttps://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/web-and-mobile
Use authorization actions and attributes in Azure ABAChttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-authorization-actions-attributes
Restrict blob read access using tags and ABAChttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-custom-security-attributes
Manage Azure RBAC conditions using Azure CLIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-cli
Configure Azure RBAC role assignment conditions in portalhttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-portal
Manage Azure RBAC conditions using PowerShellhttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-powershell
Manage Azure RBAC conditions via REST APIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-rest
Define Azure RBAC conditions in ARM templateshttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-template
Define Azure custom roles using Bicephttps://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-bicep
Manage Azure custom roles using Azure CLIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-cli
Manage Azure custom roles using PowerShellhttps://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-powershell
Manage Azure custom roles via REST APIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-rest
Define Azure custom roles with ARM templateshttps://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-template
Delegate Azure role assignments with ABAC conditionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/delegate-role-assignments-portal
List and understand Azure RBAC deny assignmentshttps://learn.microsoft.com/en-us/azure/role-based-access-control/deny-assignments
Elevate Global Administrator access to all subscriptionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/elevate-access-global-admin
Use Azure RBAC permissions for AI and ML serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/ai-machine-learning
Use Azure RBAC permissions for analytics serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/analytics
Use Azure RBAC permissions for compute resourceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/compute
Use Azure RBAC permissions for container serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/containers
Use Azure RBAC permissions for database serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/databases
Use Azure RBAC permissions for DevOps serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/devops
Use Azure RBAC permissions for general serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/general
Use Azure RBAC permissions for hybrid and multicloudhttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/hybrid-multicloud
Use Azure RBAC permissions for identity serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/identity
Use Azure RBAC permissions for integration serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/integration
Use Azure RBAC permissions for IoT serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/internet-of-things
Use Azure RBAC permissions for management and governancehttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/management-and-governance
Use Azure RBAC permissions for migration serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/migration
Use Azure RBAC permissions for monitoring serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/monitor
Use Azure RBAC permissions for networking resourceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/networking
Use Azure RBAC permissions for security serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/security
Use Azure RBAC permissions for storage serviceshttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/storage
Use Azure RBAC permissions for web and mobilehttps://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/web-and-mobile
Use PIM for eligible and time-bound Azure RBAC roleshttps://learn.microsoft.com/en-us/azure/role-based-access-control/pim-integration
Apply Azure RBAC built-in policy definitionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/policy-reference
Choose between Azure RBAC, Entra, and classic admin roleshttps://learn.microsoft.com/en-us/azure/role-based-access-control/rbac-and-directory-admin-roles
Reference Azure resource provider permission operationshttps://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations
Alert on privileged Azure RBAC role assignmentshttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-alert
Activate eligible Azure RBAC roles in the portalhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-eligible-activate
Assign Azure RBAC roles to external B2B usershttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-external-users
Assign Azure RBAC roles in Azure portalhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal
Assign subscription Owner with constrained RBAC conditionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal-subscription-admin
Apply Azure Policy compliance controls to Azure RBAChttps://learn.microsoft.com/en-us/azure/role-based-access-control/security-controls-policy
Transfer Azure subscriptions between Entra directories securelyhttps://learn.microsoft.com/en-us/azure/role-based-access-control/transfer-subscription

Configuration

TopicURL
Author Azure RBAC condition expressions and syntaxhttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-format
Meet prerequisites to use Azure RBAC conditionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-prerequisites
Configure and interpret Azure RBAC role assignmentshttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments
Understand and configure Azure RBAC role definitionshttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-definitions
List and inspect Azure built-in and custom RBAC roleshttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-definitions-list
Create Azure custom RBAC roles using Azure CLIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-custom-role-cli
Define Azure custom RBAC roles with PowerShellhttps://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-custom-role-powershell

Integrations & Coding Patterns

TopicURL
Assign Azure RBAC roles using Bicep templateshttps://learn.microsoft.com/en-us/azure/role-based-access-control/quickstart-role-assignments-bicep
Assign Azure RBAC roles with ARM templateshttps://learn.microsoft.com/en-us/azure/role-based-access-control/quickstart-role-assignments-template
Assign Azure RBAC roles using Azure CLIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-cli
List Azure RBAC role assignments via Azure CLIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-cli
View Azure RBAC role assignments in the portalhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-portal
List Azure RBAC role assignments with PowerShellhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-powershell
Query Azure RBAC role assignments using REST APIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-rest
Assign Azure RBAC roles starting from a managed identityhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal-managed-identity
Assign Azure RBAC roles via PowerShell for all principalshttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-powershell
Assign Azure RBAC roles through the REST APIhttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-rest
Assign Azure RBAC roles using ARM templateshttps://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-template
Grant group-based Azure RBAC access via PowerShellhttps://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-role-assignments-group-powershell
Grant Azure RBAC access using PowerShell commandshttps://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-role-assignments-user-powershell

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.