CmdID / az / az role / az role assignment
az role assignment list
List role assignments. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--fill-principal-nameQuery Microsoft Graph to get the assignee's userPrincipalName (for user), servicePrincipalNames (for service principal) or displayName (for group), then fill principalName property with it.--fill-role-definition-nameFill roleDefinitionName property in addition to roleDefinitionId.--include-groupsInclude extra assignments to the groups of which the user is a member (transitively).