IAM Roles

Recursive Azure Roles Report Powershell

Introduction A few days back I was tasked at work with automating some audit information for our new azure environments and in scripting this out I ran into some issues that slowed me down for a few days. Here is how I ended up solving the issue. ** Note: This script is pretty rough but it works great for what I needed. The Problem The task was to export a list of all of the IAM roles that users and groups were assigned to in Azure for our regular reviews.