azure individual permissions

Efff dd 536 Reputation points
2021-11-01T12:00:30.32+00:00

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
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,075 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 38,401 Reputation points Microsoft Employee
    2021-11-01T12:15:38.937+00:00

    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

    0 comments No comments

0 additional answers

Sort by: Most helpful