Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

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.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-22 00:00 #154 completed Biased Biased
2026-01-13 06:17 #108 completed Biased Biased
2026-01-12 00:00 #100 completed Biased Biased
2026-01-10 00:00 #93 completed Clean Clean
2026-01-06 22:28 #79 completed Clean Clean

Flagged Code Snippets