RBAC Map
v1.1.0Least-privilege role lookup for Microsoft 365 and Azure built-in roles.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_roles Search roles
Find Microsoft 365 and Azure built-in roles by name or description. Returns role ids for the other tools, a privilege tier and the role's RBAC Map page.
| Parameter | Type | Description |
|---|---|---|
query * | string | Role name or keywords, e.g. "helpdesk" or "Storage Blob Data Reader". |
limit | integer | Maximum results (default 10, max 25). |
service | string | Limit to one service, e.g. "entra" or "azure". |
get_role Get role details
Full details for one role: description, privilege tier, permissions, the admin tasks it covers, its Microsoft Learn page and its RBAC Map page.
| Parameter | Type | Description |
|---|---|---|
id * | string | Role id from search_roles, e.g. "entra-helpdesk-admin". |
find_roles_with_permission Find roles that grant a permission
Reverse lookup: which roles grant a permission, least-privileged first. For Azure, pass an operation such as "Microsoft.Storage/storageAccounts/listKeys/action" (wildcards and notActions are applied) or a pattern such as "Microsoft.KeyVault/*". For Microsoft 365, pass keywords such as "reset password"; they are matched against RBAC Map's plain-language permission descriptions.
| Parameter | Type | Description |
|---|---|---|
permission * | string | Azure operation or pattern, or Microsoft 365 keywords. |
limit | integer | Maximum results (default 15, max 50). |
service | string | Limit to one service, e.g. "entra" or "azure". |
compare_roles Compare roles
Compare 2 or 3 roles: the permissions they share and the permissions only one of them has, with each role's privilege tier.
| Parameter | Type | Description |
|---|---|---|
ids * | array | Role ids from search_roles. |
list_tasks Find admin tasks
Search the admin tasks RBAC Map maps to roles (e.g. "reset MFA", "create retention policy"), with the least-privileged roles that can do each one.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum results (default 20, max 50). |
query | string | Keywords describing the task. |
service | string | Limit to one service, e.g. "entra" or "azure". |
recommend_roles Recommend roles for tasks
Recommend the built-in roles that together cover a set of admin tasks, using the RBAC Map Role Builder algorithm. Get task ids from list_tasks first. "fewest-roles" (default) picks the smallest set; "least-privilege" prefers several narrow roles over one broad one.
| Parameter | Type | Description |
|---|---|---|
task_ids * | array | Task ids from list_tasks. |
goal | string | fewest-roles (default) or least-privilege. |
recent_changes Recent role changes
Recently added, removed, renamed or re-permissioned Microsoft 365 and Azure roles, newest first. The same entries as RBAC Map's What's New feed.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum results (default 20, max 50). |
service | string | Limit to one service, e.g. "entra" or "azure". |
since | string | Only changes on or after this date (YYYY-MM-DD). |