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
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation page demonstrates a strong Windows bias by exclusively providing Azure PowerShell (Windows-centric) commands for all troubleshooting steps, referencing Windows tools and patterns (such as IIS and PowerShell cmdlets), and omitting equivalent Azure CLI, Bash, or Linux-native instructions. There are no Linux-specific troubleshooting examples or mentions of Linux-based backend servers, and Windows/PowerShell approaches are always presented first and often exclusively.
Recommendations:
  • Provide Azure CLI (az) command examples alongside or before PowerShell cmdlets for all troubleshooting steps, as Azure CLI is cross-platform and widely used on Linux and macOS.
  • Include Bash shell command examples for network diagnostics (e.g., using curl, dig, nslookup, traceroute) to check DNS, connectivity, and health probe responses from Linux VMs.
  • Mention and give examples for common Linux web servers (such as Apache, Nginx) in addition to IIS when discussing backend configuration and health checks.
  • Clarify that Application Gateway supports both Windows and Linux backend servers, and provide troubleshooting guidance relevant to both.
  • Where referencing Windows-specific tools or patterns (such as PowerShell or IIS), always provide Linux equivalents or alternatives.
  • Add troubleshooting steps for checking firewall rules and service status on Linux (e.g., using systemctl, ufw, firewalld).
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

$vnet = Get-AzVirtualNetwork -Name vnetName -ResourceGroupName rgName Get-AzVirtualNetworkSubnetConfig -Name appGwSubnet -VirtualNetwork $vnet
Get-AzVirtualNetwork -Name vnetName -ResourceGroupName rgName DhcpOptions : { "DnsServers": [ "x.x.x.x" ] }
Get-AzEffectiveNetworkSecurityGroup -NetworkInterfaceName nic1 -ResourceGroupName testrg Get-AzEffectiveRouteTable -NetworkInterfaceName nic1 -ResourceGroupName testrg
New-AzApplicationGatewayBackendHttpSettings -Name 'Setting01' -Port 80 -Protocol Http -CookieBasedAffinity Enabled -RequestTimeout 60
Get-AzApplicationGateway -Name "SampleGateway" -ResourceGroupName "ExampleResourceGroup"