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_tools
missing_linux_example
windows_first
Summary
The documentation demonstrates a strong Windows bias by exclusively using PowerShell (specifically Microsoft.Graph PowerShell) for all command-line instructions, referencing Windows-specific tools and installation steps, and omitting any Linux or cross-platform alternatives. There are no examples or guidance for performing these tasks on Linux or macOS, and the workflow assumes a Windows environment throughout.
Recommendations
  • Provide equivalent instructions using cross-platform tools such as Azure CLI, Microsoft Graph CLI, or REST API calls, which can be run on Linux, macOS, and Windows.
  • Explicitly mention platform compatibility for each step, and offer alternative commands for Linux/macOS users where possible.
  • Include installation and usage instructions for required tools (e.g., Microsoft Graph CLI, Azure CLI) on Linux and macOS.
  • Add notes or callouts highlighting any steps that are Windows-specific, and suggest workarounds or alternatives for non-Windows environments.
  • Consider reordering or parallelizing instructions so that Linux/macOS alternatives are presented alongside Windows/PowerShell examples, rather than only after or not at all.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

    # Connect to Microsoft Graph
    Connect-MgGraph -TenatnId <TenantID> -Scopes "Application.ReadWrite.All"
  
    # Register the Dev tunnels service app to the tenant
    $TunnelServiceAppId = "46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2"
    New-MgServicePrincipal -AppId $TunnelServiceAppId
    
    # Connect to Microsoft Graph
    Connect-MgGraph -TenatnId <TenantID> -Scopes "Application.ReadWrite.All"
  
    # Register the Dev tunnels service app to the tenant
    $TunnelServiceAppId = "46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2"
    New-MgServicePrincipal -AppId $TunnelServiceAppId