Bias Analysis
Detected Bias Types
powershell_heavy
missing_linux_example
windows_first
Summary
The documentation provides both PowerShell and Azure CLI examples for assigning roles, but the only end-to-end automation script for querying and reporting on delegation changes is given in Azure PowerShell. There is no equivalent Bash, Python, or cross-platform script, and the PowerShell script is presented as the primary (and only) automation solution. This creates friction for Linux/macOS users who may not have or want to use PowerShell.
Recommendations
- Provide a Bash or Python script example for querying the Tenant Activity Log using the Azure CLI and/or REST API, covering the same reporting functionality as the PowerShell script.
- Explicitly mention that the PowerShell script can be run cross-platform with PowerShell Core, or provide guidance for Linux/macOS users on how to set up the required environment.
- Where possible, present CLI and PowerShell examples side by side for all automation tasks, not just role assignment.
- Link to or provide sample code for using the Azure SDKs (e.g., Python, Node.js) to query the activity log, for users who prefer those languages.
Create Pull Request