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 provides examples for the Azure Portal, Azure CLI, and Azure PowerShell. While Azure CLI is cross-platform, the PowerShell section is Windows-centric, and there is no mention of Linux-specific tools or shell environments (e.g., Bash). The prerequisites list Azure PowerShell and Azure CLI, but the PowerShell section is given equal prominence to CLI, and there are no explicit Linux/Bash examples or troubleshooting notes for Linux users. The documentation also references the Azure Portal, which is web-based and platform-neutral, but command-line examples do not highlight Linux parity.
Recommendations
  • Explicitly mention that Azure CLI commands work on Linux, macOS, and Windows, and provide example shell commands using Bash syntax (e.g., export instead of set for environment variables).
  • Add a note clarifying that PowerShell examples are primarily for Windows users, and suggest using Azure CLI for Linux/macOS users.
  • Include troubleshooting tips or environment setup notes for Linux users, such as installing Azure CLI on Linux.
  • Consider adding a Bash-specific example or a section showing how to perform the same tasks in a typical Linux shell environment.
  • Where possible, avoid giving the impression that PowerShell is the default or preferred method for all users.
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-11 00:00 #95 cancelled Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-08 00:00 #84 in_progress Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-22 00:00 #24 cancelled Clean Clean
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

# Details specific to API Management instance.
$apimServiceName = "apim-hello-world"
$resourceGroupName = "myResourceGroup"

# API-specific details.
$apiId = "my-graphql-api"
$apiPath = "myapi"
$specificationFormat = "GraphQL"
$specificationUrl = "<GraphQL backend endpoint>"

# Get context of the API Management instance. 
$context = New-AzApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $apimServiceName

# Import API.
Import-AzApiManagementApi -Context $context -ApiId $apiId -SpecificationFormat $specificationFormat -SpecificationUrl $specificationUrl -Path $apiPath