Enumerate Azure Role Assignments
The following script can be used to enumerate role assignments for a subscription and role assignments for Resource Groups within that subscription.
Use as-is to just grab everything – note 2 subscriptions are used in the example – fix the subscription GUID’s on lines 6 & 7.
Optionally un-comment the references to -SignInName “Jon@oholics.onmicrosoft.com” to obtain a report showing only those resources that refer to the named user.
The resulting report can be opened in Excel, to product a nice table 😉