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

Bias Types:
⚠️ windows_first
⚠️ powershell_heavy
⚠️ windows_tools
⚠️ missing_linux_example
Summary:
The documentation demonstrates a Windows-first bias in several areas: Windows-based tools and workflows (Visual Studio, PowerShell, Windows command prompt) are presented as defaults or with more detailed instructions, while Linux alternatives are either referenced externally, presented after Windows, or lack parity in detail. Some sections (notably for C/C#) assume a Windows environment and only briefly mention Linux, often redirecting to external documentation. Windows-specific tools (e.g., Visual Studio, PowerShell) are emphasized, and Linux instructions are sometimes missing or less detailed.
Recommendations:
  • Provide Linux and macOS instructions alongside Windows in all language pivots, not just as external references.
  • Avoid language such as 'This tutorial is oriented toward a Windows-based workstation' or, if necessary, ensure equivalent Linux/macOS guidance is present in the same document.
  • For C/C++ development, include explicit Linux build instructions (e.g., using gcc/clang, make, or CMake on Linux) within the main flow, not just as a link.
  • For device key derivation, ensure Linux and macOS examples are as prominent and detailed as Windows/PowerShell ones.
  • Where Windows tools (Visual Studio, PowerShell) are mentioned, provide direct Linux/macOS alternatives (e.g., GCC/Clang, shell scripts) in the same section.
  • Use neutral language in prerequisites and setup steps (e.g., 'On your development machine' instead of 'on your Windows-based machine'), and clarify cross-platform compatibility.
  • Ensure all code samples and command-line instructions are provided for both Windows (cmd/PowerShell) and Linux/macOS (bash/zsh), with clear tabbed or side-by-side presentation.
  • Where possible, avoid requiring Windows-only tools for cross-platform SDKs, or provide equivalent open-source alternatives.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-16 00:00 #113 completed ✅ Clean
2025-09-15 00:00 #112 completed ✅ Clean
2025-08-17 00:01 #83 in_progress ❌ Biased
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

\azure-iot-sdk-c\cmake\azure_iot_sdks.sln
cd .\azure-iot-sdk-csharp\provisioning\device\samples\how to guides\SymmetricKeySample
set PROVISIONING_IDSCOPE=<id-scope>
set PROVISIONING_REGISTRATION_ID=<registration-id>
set PROVISIONING_SYMMETRIC_KEY=<derived-device-key>
set PROVISIONING_REGISTRATION_ID=<registration-id>
set PROVISIONING_SYMMETRIC_KEY=<derived-device-key>