nicolgit / whoiswho

azure WhoIsWho engine
MIT License
4 stars 2 forks source link

RBAC data from Azure #2

Closed nicolgit closed 3 years ago

nicolgit commented 4 years ago

IMHO good point to start Select-AzSubscription -Subscription 43f1aca6-f3da-42f0-b27b-f265ae98ff5f $roles = Get-AzRoleAssignment | Where-Object { $_.ObjectType -ne "ServicePrincipal" -and $_.ObjectType -ne "Unknown" } | Select-Object Scope, DisplayName, SignInName, RoleDefinitionName, ObjectType $roles | Export-Csv -Path ".\rbac-roles.csv" -UseCulture -NoTypeInformation

liguori commented 3 years ago

This feature has been implemented with the Azure Data Loader