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
windows_first
powershell_heavy
windows_tools
Summary
The documentation consistently presents Azure PowerShell (which is most commonly used on Windows) before Azure CLI in all code example sections. It also assumes the use of Visual Studio Code and PowerShell terminals, both of which are more prevalent on Windows. There is a strong emphasis on PowerShell scripting patterns (e.g., splatting), and some instructions (such as opening a PowerShell terminal in VS Code) are Windows-centric. However, Azure CLI and Bash examples are provided throughout, and there are no outright missing Linux examples.
Recommendations
  • Alternate the order of PowerShell and Azure CLI examples, or present Azure CLI first to avoid implicit Windows preference.
  • Explicitly mention that Visual Studio Code, PowerShell, and Azure CLI are cross-platform, and provide guidance for Linux/macOS users (e.g., how to open a Bash terminal in VS Code on Linux).
  • Where PowerShell-specific features (like splatting) are discussed, consider providing equivalent Bash scripting tips for parity.
  • Add a brief note in the prerequisites that all tools and instructions apply equally to Windows, Linux, and macOS, and clarify any OS-specific steps.
  • When referencing terminal usage, include instructions for both PowerShell and Bash (or other common Linux shells) without assuming the user is on Windows.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
2026-01-13 00:00 #246 completed Clean Clean
2026-01-12 00:00 #243 cancelled Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased

Flagged Code Snippets

$mrgprefix = 'mrg-sampleBicepManagedApplication-'
$mrgtimestamp = Get-Date -UFormat "%Y%m%d%H%M%S"
$mrgname = $mrgprefix + $mrgtimestamp
$mrgname
Get-AzDenyAssignment -ResourceGroupName $mrgname
Get-AzManagedApplicationDefinition -ResourceGroupName bicepDefinitionGroup
Get-AzManagedApplicationDefinition -ResourceGroupName bicepDefinitionGroup | Select-Object -Property Name, ResourceGroupName
$mrgprefix = 'mrg-sampleBicepManagedApplication-'
$mrgtimestamp = Get-Date -UFormat "%Y%m%d%H%M%S"
$mrgname = $mrgprefix + $mrgtimestamp
$mrgname
Get-AzManagedApplication -Name sampleBicepManagedApp -ResourceGroupName bicepApplicationGroup
Get-AzRoleAssignment -ResourceGroupName $mrgname -RoleDefinitionName Owner