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
windows_first
missing_linux_example
windows_tools
Summary
The documentation page demonstrates a Windows bias by prioritizing Azure PowerShell (which is most commonly used on Windows) for enabling debug logging, with no equivalent method available for Azure CLI (the typical cross-platform/Linux tool). All actionable examples for enabling debug logging use PowerShell cmdlets, and the documentation explicitly states that debug logging cannot be enabled via Azure CLI. There are no references to Linux-specific tools, shell scripting, or platform-agnostic alternatives for the core debug logging functionality.
Recommendations
  • Work with Azure engineering to add support for enabling debug logging via Azure CLI, or document any workarounds if available.
  • If enabling debug logging is fundamentally unavailable in Azure CLI, clearly state this limitation and suggest alternative troubleshooting approaches for Linux users.
  • Provide Bash or shell scripting examples where possible, especially for retrieving and managing deployment logs.
  • Consider mentioning platform-agnostic tools or REST API methods for enabling debug logging, if available, to improve parity.
  • Ensure that documentation does not assume PowerShell as the default and provides equal visibility to Linux/cross-platform workflows.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

New-AzResourceGroupDeployment `
  -Name exampledeployment `
  -ResourceGroupName examplegroup `
  -TemplateFile main.bicep `
  -DeploymentDebugLogLevel All
Get-AzResourceGroupDeploymentOperation `
  -DeploymentName exampledeployment `
  -ResourceGroupName examplegroup
Remove-AzResourceGroupDeployment -ResourceGroupName examplegroup -Name exampledeployment
(Get-AzResourceGroupDeploymentOperation `
  -DeploymentName exampledeployment `
  -ResourceGroupName examplegroup).StatusCode