microsoftdocs/agent-skills

azure-rbac

Expert knowledge for Azure Role-based access control development including troubleshooting, best practices, decision making, limits & quotas, security, configuration, and integrations & coding patterns. Use when defining RBAC/ABAC roles, PIM assignments, deny policies, custom role JSON, or ARM/Bicep access templates, and other Azure Role-based access control related development tasks. Not for Azure Policy (use azure-policy), Azure Security (use azure-security), Azure Portal (use azure-portal), …

First seen Mar 10, 2026

Installation

$ npx skills add microsoftdocs/agent-skills --skill azure-rbac

Summary

  • Expert knowledge for Azure Role-based access control development including troubleshooting, best practices, decision making, limits & quotas, security, configuration, and integrations & coding patterns.
  • Use when defining RBAC/ABAC roles, PIM assignments, deny policies, custom role JSON, or ARM/Bicep access templates, and other Azure Role-based access control related development tasks.
  • Not for Azure Policy (use azure-policy), Azure Security (use azure-security), Azure Portal (use azure-portal), Azure Resource Manager (use azure-resource-manager).

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from microsoftdocs/agent-skills · top by installs.

npx skills add microsoftdocs/agent-skills

Browse all from microsoftdocs/agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 737
License LICENSE
Default branch main
Open issues 2
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

CompatibilityRequires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
More metadata
generated_at
2026-07-19
generator
docs2skills/1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 18,051 B
  • docs SUMMARY.md 569 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 206 installs

SKILL.md

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 readfile with the specified lines. For categories with file links (e.g., [security.md](security.md)), use readfile on the linked reference file

IMPORTANT for Agent: If metadata.generatedat is more than 3 months old, suggest the user pull the latest version from the repository. If mcpmicrosoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcpmicrosoftdocs:microsoftdocs_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

Category Lines Description
Troubleshooting L35-L43 Diagnosing and fixing Azure RBAC problems: auditing role changes, resolving role/custom role limits, and troubleshooting role assignment condition and common access issues.
Best Practices L44-L50 Security-focused guidance on designing Azure RBAC: choosing scopes, delegating access with ABAC conditions, and applying least privilege and separation-of-duties best practices.
Decision Making L51-L55 Guidance 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 & Quotas L56-L61 Designing and managing Azure RBAC custom roles, including understanding role structure, permissions, and step-by-step creation using the Azure portal
Security L62-L129 Azure RBAC/ABAC roles, permissions, and conditions: built-in and custom roles by workload, assignment and PIM, deny assignments, policy integration, and secure subscription management.
Configuration L130-L140 Configuring 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 Patterns L141-L156 How 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

Best Practices

Decision Making

Limits & Quotas

Security

Topic URL
Reference Azure RBAC built-in roles and permissions https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
Use AI and machine learning Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/ai-machine-learning
Use analytics Azure RBAC built-in roles and permissions https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/analytics
Apply compute-related Azure RBAC built-in roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/compute
Use container-related Azure RBAC built-in roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/containers
Use database Azure RBAC built-in roles and scopes https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/databases
Use DevOps Azure RBAC built-in roles and permissions https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/devops
Use general-purpose Azure RBAC built-in roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/general
Use hybrid and multicloud RBAC roles in Azure https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/hybrid-multicloud
Use identity Azure RBAC built-in roles and scopes https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/identity
Use integration Azure RBAC built-in roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/integration
Use IoT Azure RBAC built-in roles and permissions https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/internet-of-things
Apply management and governance RBAC roles in Azure https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/management-and-governance
Use Azure RBAC built-in roles for migration scenarios https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/migration
Assign Azure Monitor built-in RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/monitor
Apply networking Azure RBAC built-in roles and scopes https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/networking
Use privileged Azure RBAC built-in roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/privileged
Use security-category Azure RBAC built-in roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/security
Use storage Azure RBAC built-in roles and permissions https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/storage
Use web and mobile Azure RBAC built-in roles https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/web-and-mobile
Use authorization actions and attributes in Azure ABAC https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-authorization-actions-attributes
Restrict blob read access using tags and ABAC https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-custom-security-attributes
Manage Azure RBAC conditions using Azure CLI https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-cli
Configure Azure RBAC role assignment conditions in portal https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-portal
Manage Azure RBAC conditions using PowerShell https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-powershell
Manage Azure RBAC conditions via REST API https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-rest
Define Azure RBAC conditions in ARM templates https://learn.microsoft.com/en-us/azure/role-based-access-control/conditions-role-assignments-template
Define Azure custom roles using Bicep https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-bicep
Manage Azure custom roles using Azure CLI https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-cli
Manage Azure custom roles using PowerShell https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-powershell
Manage Azure custom roles via REST API https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-rest
Define Azure custom roles with ARM templates https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-template
Delegate Azure role assignments with ABAC conditions https://learn.microsoft.com/en-us/azure/role-based-access-control/delegate-role-assignments-portal
List and understand Azure RBAC deny assignments https://learn.microsoft.com/en-us/azure/role-based-access-control/deny-assignments
Elevate Global Administrator access to all subscriptions https://learn.microsoft.com/en-us/azure/role-based-access-control/elevate-access-global-admin
Configure AI and ML permissions for Azure RBAC https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/ai-machine-learning
Configure analytics permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/analytics
Configure compute permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/compute
Configure container permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/containers
Configure database permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/databases
Configure DevOps permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/devops
Use general-category Azure RBAC permission strings https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/general
Configure hybrid and multicloud RBAC permissions https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/hybrid-multicloud
Configure identity permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/identity
Configure integration permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/integration
Configure IoT permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/internet-of-things
Configure management and governance RBAC permissions https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/management-and-governance
Configure migration permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/migration
Configure monitor permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/monitor
Configure networking permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/networking
Configure security-category permissions for Azure RBAC https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/security
Configure storage permissions for Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/storage
Configure web and mobile permissions for Azure RBAC https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/web-and-mobile
Use PIM for eligible and time-bound Azure RBAC roles https://learn.microsoft.com/en-us/azure/role-based-access-control/pim-integration
Apply built-in Azure Policy definitions for RBAC https://learn.microsoft.com/en-us/azure/role-based-access-control/policy-reference
Choose between Azure RBAC, Entra, and classic admin roles https://learn.microsoft.com/en-us/azure/role-based-access-control/rbac-and-directory-admin-roles
Reference Azure resource provider RBAC permissions https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations
Alert on privileged Azure RBAC role assignments https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-alert
Activate eligible Azure RBAC roles in the portal https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-eligible-activate
Assign Azure RBAC roles to external B2B users https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-external-users
Assign Azure RBAC roles in Azure portal https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal
Assign subscription Owner with constrained RBAC conditions https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal-subscription-admin
Apply Azure Policy compliance controls to Azure RBAC https://learn.microsoft.com/en-us/azure/role-based-access-control/security-controls-policy
Transfer Azure subscriptions between Entra directories securely https://learn.microsoft.com/en-us/azure/role-based-access-control/transfer-subscription

Configuration

Integrations & Coding Patterns

Topic URL
Assign Azure RBAC roles using Bicep templates https://learn.microsoft.com/en-us/azure/role-based-access-control/quickstart-role-assignments-bicep
Assign Azure RBAC roles with ARM templates https://learn.microsoft.com/en-us/azure/role-based-access-control/quickstart-role-assignments-template
Assign Azure RBAC roles using Azure CLI https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-cli
List Azure RBAC role assignments via Azure CLI https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-cli
View Azure RBAC role assignments in the portal https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-portal
List Azure RBAC role assignments with PowerShell https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-powershell
Query Azure RBAC role assignments using REST API https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-rest
Assign Azure RBAC roles starting from a managed identity https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal-managed-identity
Assign Azure RBAC roles via PowerShell for all principals https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-powershell
Assign Azure RBAC roles through the REST API https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-rest
Assign Azure RBAC roles using ARM templates https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-template
Grant group-based Azure RBAC access via PowerShell https://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-role-assignments-group-powershell
Grant Azure RBAC access using PowerShell commands https://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-role-assignments-user-powershell