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
missing_linux_example
Summary
The documentation provides both Azure CLI and Azure PowerShell examples for obtaining the service principal ID, but lists the Azure CLI (cross-platform) example first. However, there is a notable presence of PowerShell-specific instructions, and no explicit mention of Linux or bash scripting environments outside of the Azure CLI. There are no Linux-specific shell examples or guidance for users who may not have access to PowerShell, and the documentation does not clarify cross-platform compatibility for all steps. The rest of the process uses REST API calls, which are platform-agnostic, but the lack of explicit Linux/bash examples or notes may hinder Linux users.
Recommendations
  • Ensure that for every PowerShell example, an equivalent bash or shell script example is provided, especially for common Linux environments.
  • Explicitly state that Azure CLI commands are cross-platform and can be used on Linux, macOS, and Windows.
  • Where REST API calls are shown, provide example invocations using curl or similar Linux-native tools.
  • Add a note at the beginning of the 'Programmatically create a subscription' section clarifying that all steps can be performed from Linux, macOS, or Windows, and link to Azure CLI installation instructions for Linux.
  • Consider including a table summarizing which tools/commands are available on which platforms (e.g., Azure CLI, Azure PowerShell, curl, etc.).
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-13 06:17 #107 completed Biased Biased
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-10 00:00 #92 completed Biased Biased
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-20 22:24 #14 completed Clean Clean
2025-12-20 00:00 #13 completed Clean Clean
2025-12-19 00:00 #12 completed Clean Clean
2025-12-18 00:00 #11 completed Clean Clean
2025-12-17 00:01 #10 completed Clean Clean
2025-12-17 00:00 #9 completed Clean Clean
2025-12-16 00:00 #8 completed Clean Clean
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

Get-AzADServicePrincipal -ApplicationId 00001111-aaaa-2222-bbbb-3333cccc4444 | Select-Object -Property Id