Hi @Efff dd Thank you for your post!
The easiest way to get a list of all the role assignments in the current subscription (including inherited role assignments from root and management groups) is to use Get-AzRoleAssignment without any parameters. Doc ref: https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-powershell#list-role-assignments-for-the-current-subscription
----------------------------------------------------------------------------------------------------------------------
If the response helped, do "Accept Answer" and up-vote it