question

Efffdd-3114 avatar image
0 Votes"
Efffdd-3114 asked SadiqhAhmed-MSFT answered

azure individual permissions

Hello

Looking to cleanup existing azure/subscriptions. Permissions were given out to individual NOT using Mgmt Groups.

is there a PowerShell command that I can run against the subscription to see if individual permissions were given , at what level?

thanks

azure-cost-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered

Hi @Efffdd-3114 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://docs.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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.