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
windows_first
Summary
The documentation page exhibits a moderate Windows bias in the sections describing customer-managed key setup for confidential VMs. Several steps use PowerShell syntax and Windows-centric tools (e.g., Connect-Graph, New-MgServicePrincipal), and PowerShell is used for scripting even when Azure CLI is available. Linux-specific alternatives for these steps are not provided, and PowerShell commands are shown before or instead of bash equivalents. However, the main VM creation and attestation instructions are Linux-friendly and use bash/Azure CLI.
Recommendations
  • Provide bash or Azure CLI-only alternatives for all steps currently shown in PowerShell, especially for service principal creation and Azure Key Vault policy management.
  • Explicitly mention how Linux/macOS users can install and use Microsoft Graph SDK (e.g., via dotnet CLI or REST API) or provide REST API equivalents.
  • Ensure all scripting examples are shown in both PowerShell and bash where possible, or default to bash/Azure CLI for cross-platform parity.
  • Clarify that PowerShell commands can be run in Azure Cloud Shell (which supports bash and PowerShell), but highlight bash as the default for Linux/macOS users.
  • Add notes or links to Linux/macOS-specific documentation for steps involving RBAC, service principals, and key management.
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