Forum Discussion
Marek_Belan
Jul 30, 2025Brass Contributor
Azure IAM Report – Explicit Permissions Only
Hi all, Is anyone currently working on a request to generate a report of all IAM permissions across all Azure resources? My idea is to create a script that reports only explicitly assigned permissi...
Kidd_Ip
Jul 31, 2025MVP
Try below as a workaround:
Get-AzRoleAssignment | Where-Object {
$_.Scope -eq "/providers/Microsoft.Management/managementGroups/<yourGroupId>" -and
$_.InheritedFrom -eq $null
}
Marek_Belan
Jul 31, 2025Brass Contributor
LOL hell is here MVP, use chatgpt as response without testing....
Where do you get parameter InheritedFrom ???? Show me pls.