Tool for Analyzing Azure Roles with JSON
As an IT professional working with Azure, it’s important to quickly explore and understand what a role actually contains. With PowerShell you can export the full role definition as JSON and then paste it into the interactive viewer below. This makes it easier to explain role contents in detail and share them with your team or customers. 🚀 📌 Steps to get started:
- Install and import the Az PowerShell module if not already available.
- Log in to Azure with sufficient permissions (Reader or above).
- Run the script below to export any role as JSON.
- Copy the JSON output and paste it into the tool further down to view it nicely formatted.
"Any role"
with the actual role name you want to inspect
(e.g. "Reader"
, "Contributor"
, "User Access Administrator"
).
PowerShell Command
# Export any Azure role definition to JSON
Get-AzRoleDefinition -Name "Any role" | ConvertTo-Json
View Azure Role JSON
Paste JSON from PowerShell and click to view.
Kommentarer
Skicka en kommentar