Microsoft Graph Directory Roles
Microsoft Graph Directory Roles provides a REST API to discover, activate, and manage Microsoft Entra ID (formerly Azure Active Directory) directory roles—the RBAC roles that control permissions across Microsoft 365 and Entra. Through the API you can list which roles are active in a tenant, read role definitions from templates, activate built‑in roles, enumerate a role’s members, and add or remove assignments for users, groups, or service principals.