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
windows_tools
Summary
The documentation provides parallel examples for Azure CLI and Azure PowerShell throughout, but PowerShell is given equal prominence to the CLI, despite being primarily a Windows-centric tool. There are no explicit Linux shell (bash) or cross-platform scripting examples beyond the CLI, and PowerShell is referenced as a standard tool for automation and scripting. In some sections, PowerShell is mentioned before or alongside CLI, reinforcing its status as a primary automation tool, which may not reflect the experience of Linux users.
Recommendations
  • Clarify that Azure CLI commands are fully supported on Linux, macOS, and Windows, and consider providing bash-specific examples or notes for Linux users.
  • Where PowerShell is referenced, note that Azure PowerShell is available cross-platform, but that bash/shell scripting is often preferred on Linux.
  • Consider including bash script equivalents for multi-step CLI examples, especially where variables or pipelines are used.
  • Avoid implying that PowerShell is the default or only scripting environment for automation; present CLI/bash as the primary cross-platform option.
  • Explicitly mention Linux support and provide links to Linux installation and usage guides for both Azure CLI and PowerShell.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed 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
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets

# Create an IoT Central application with a managed identity
New-AzIotCentralApp -ResourceGroupName "MyIoTCentralResourceGroup" `
  -Name "myiotcentralapp" -Subdomain "mysubdomain" `
  -Sku "ST1" -Template "iotc-pnp-preview" `
  -DisplayName "My Custom Display Name" -Identity "SystemAssigned"
# Enable a system-assigned managed identity
Set-AzIotCentralApp -ResourceGroupName "MyIoTCentralResourceGroup" `
  -Name "myiotcentralapp" -Identity "SystemAssigned"
$resourceGroup = Get-AzResourceGroup -Name "MyIoTCentralResourceGroup"
$app = Get-AzIotCentralApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name "myiotcentralapp"
$sp = Get-AzADServicePrincipal -ObjectId $app.Identity.PrincipalId
New-AzRoleAssignment -RoleDefinitionName "Azure Event Hubs Data Sender" `
  -ObjectId $sp.Id -Scope $resourceGroup.ResourceId