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
missing_linux_example
Summary
The documentation demonstrates a moderate Windows bias. While the core authentication concepts are cross-platform and SDK examples are language-agnostic, platform-specific instructions and examples favor Windows and PowerShell. For example, enabling managed identities references a Windows VM link first, and PowerShell is given as a primary scripting example for resource creation. There are no explicit Linux or Bash examples for common tasks, and CLI instructions are present but not highlighted as the default. There is also a lack of parity in step-by-step instructions or screenshots for Linux environments.
Recommendations
  • Provide explicit Linux/Bash examples alongside PowerShell for all resource creation and configuration steps.
  • When referencing enabling managed identities, include links and instructions for both Windows and Linux VMs equally.
  • In sections showing Azure CLI and PowerShell, present CLI (cross-platform) examples first, or at least in parallel with PowerShell.
  • Add screenshots or walkthroughs for Linux environments where UI or OS-specific steps are shown for Windows.
  • Review all references to Windows tools and ensure Linux equivalents are mentioned and documented.
  • Where environment variables are set in code samples, show both Windows (setx, PowerShell) and Linux (export, Bash) approaches.
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-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

Environment.SetEnvironmentVariable("AZURE_CLIENT_ID", "");
Environment.SetEnvironmentVariable("AZURE_TENANT_ID", "");
Environment.SetEnvironmentVariable("AZURE_CLIENT_SECRET", "");

EventGridPublisherClient client = new EventGridPublisherClient(new Uri("your-event-grid-topic-domain-or-partner-namespace-endpoint"), new DefaultAzureCredential());
Set-AzContext -SubscriptionId <SubscriptionId>

New-AzResource -ResourceGroupName <ResourceGroupName> -ResourceType Microsoft.EventGrid/topics -ApiVersion 2021-06-01-preview -ResourceName <TopicName> -Location <Location> -Properties @{disableLocalAuth=$true}