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 demonstrates a strong Windows bias by exclusively using PowerShell scripts and the Azure Cloud Shell (with PowerShell environment) for all scripting and automation steps. There are no Bash, Linux shell, or cross-platform scripting examples provided. The instructions assume the user is familiar with PowerShell and do not mention or provide alternatives for Linux users, despite Azure Cloud Shell supporting Bash. This could hinder Linux users or those who prefer Bash scripting from following the guide effectively.
Recommendations
  • Provide equivalent Bash shell script examples for all PowerShell scripts and commands, especially for steps involving Microsoft Graph and Azure CLI.
  • Explicitly mention that Azure Cloud Shell supports both Bash and PowerShell, and offer instructions for both environments.
  • Where referencing downloadable scripts, provide both .ps1 (PowerShell) and .sh (Bash) versions.
  • Ensure that all variable setup and authentication steps are shown in both PowerShell and Bash syntax.
  • Review diagrams and screenshots to ensure they are not Windows-specific (e.g., showing only PowerShell prompts or Windows UI elements).
  • Add a note at the beginning clarifying that the instructions are cross-platform and that users can choose their preferred shell environment.
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 Clean Clean
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

    $webhookAadTenantId = "[REPLACE_WITH_YOUR_TENANT_ID]"
    Connect-MgGraph -TenantId $webhookAadTenantId -Scopes "Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All"
    
        $webhookAadTenantId = "[REPLACE_WITH_YOUR_TENANT_ID]"
        Connect-MgGraph -TenantId $webhookAadTenantId -Scopes "Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All"
        
    New-MgServicePrincipalAppRoleAssignment: Error occurred while executing NewServicePrincipalAppRoleAssignment
    Code: Authorization_RequestDenied
    Message: Insufficient privileges to complete the operation.
    
    $webhookAadTenantId = "[REPLACE_WITH_YOUR_TENANT_ID]"
    Connect-MgGraph -TenantId $webhookAadTenantId -Scopes "Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All"
    
    New-MgServicePrincipalAppRoleAssignment: Error occurred while executing NewServicePrincipalAppRoleAssignment
    Code: Authorization_RequestDenied
    Message: Insufficient privileges to complete the operation.