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

Bias Types:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ windows_tools
Summary:
The documentation page demonstrates a Windows bias by providing PowerShell examples as the primary (and only) command-line scripting option for querying and managing Azure RBAC resources. References to PowerShell cmdlets (e.g., Get-AzRoleAssignment, Get-MgUser) are given before or instead of Azure CLI equivalents. There is no explicit mention or example of using Bash, Linux shell, or cross-platform scripting, and the only command-line snippets are in PowerShell syntax. Additionally, the documentation refers to 'Azure PowerShell commands' and 'PowerShell' as the default automation tool, which may alienate Linux/macOS users who prefer Bash or Azure CLI.
Recommendations:
  • Provide Azure CLI (az) command examples alongside PowerShell for all scripting and automation steps, especially for querying and managing role assignments and users.
  • When referencing command-line tools, mention both PowerShell and Azure CLI, and avoid presenting PowerShell as the default or only option.
  • Include Bash/Linux shell scripting examples where relevant, or clarify that Azure CLI commands are cross-platform.
  • In lists or instructions, do not always mention PowerShell before Azure CLI; alternate or present both equally.
  • Explicitly state that all steps can be performed on Linux/macOS as well as Windows, and link to relevant cross-platform documentation.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-10 00:00 #107 completed ✅ Clean
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

$scope = "/subscriptions/<subscriptionId>" $ras = Get-AzRoleAssignment -Scope $scope | Where-Object {$_.scope.StartsWith($scope)} $ras.Count