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
missing_linux_example
windows_tools
Summary
The documentation page demonstrates a Windows bias by providing only Azure PowerShell (and specifically the AzureAD module) instructions for provisioning the service principal, with no equivalent Bash/CLI or Linux-native example. The prerequisite section includes a PowerShell requirements include, and all command-line steps are shown using PowerShell syntax. There is no mention of cross-platform Azure CLI alternatives, and the documentation assumes use of the Azure Portal (web UI), which is platform-neutral but does not compensate for the lack of Linux/CLI parity in scripting steps.
Recommendations
  • Provide equivalent Azure CLI (az) commands for all PowerShell steps, especially for provisioning the service principal. Azure CLI is cross-platform and works natively on Linux and macOS.
  • Add a section or callout indicating that all steps can be performed on Linux/macOS using Azure CLI, and provide links to relevant Azure CLI documentation.
  • Where PowerShell modules are referenced (e.g., AzureAD), mention their platform limitations and suggest alternatives for non-Windows users.
  • Ensure that all code snippets and automation steps are available in both PowerShell and Bash/Azure CLI formats, ideally side-by-side.
  • Review the 'azure-powershell-requirements-no-header' include to ensure it does not exclude or discourage Linux users.
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-12 00:00 #243 cancelled 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 Clean Clean
2026-01-08 00:00 #228 cancelled Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-14 00:00 #111 completed Biased Biased
2025-08-14 00:01 #80 cancelled Biased Biased
2025-07-13 21:25 #47 cancelled Clean Clean
2025-07-13 20:48 #44 cancelled Clean Clean
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

    Install-Module -Name AzureAD -Scope CurrentUser -Repository PSGallery -Force
    
    Connect-AzureAD -TenantId "<YOUR_TENANT_ID>"
    
    New-AzureADServicePrincipal -AppId c8623e40-e6ab-4d2b-b123-2ca193542c65 -DisplayName "Azure API Management Data Plane"