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
missing_linux_example
windows_tools
Summary
The documentation page demonstrates a Windows bias by providing only PowerShell scripts and commands for key setup steps (e.g., generating reply URLs, cloning and running the app, setting secrets), with no equivalent Bash or Linux shell examples. The use of PowerShell and .NET tooling is assumed throughout, and there is no mention of Linux-specific instructions or cross-platform alternatives. This may hinder Linux users or those working in non-Windows environments.
Recommendations
  • Provide equivalent Bash/Linux shell commands for all PowerShell examples, especially for generating base64-encoded URLs and running .NET applications.
  • Explicitly mention that the .NET SDK and dotnet CLI are cross-platform, and provide any Linux/macOS-specific installation or usage notes.
  • Include instructions for configuring and running the sample app on Linux/macOS, including file path and environment variable differences.
  • Where screenshots or UI steps are shown, clarify if there are any platform-specific differences or confirm cross-platform parity.
  • Consider adding a section or callout for Linux/macOS users to ensure inclusivity and parity in setup and troubleshooting.
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 Biased Biased
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets

$replyUrl = "https://localhost:5001/sampleapp/index.html"
$fhirServerUrl = "https://MYFHIRAPI.azurewebsites.net"
$bytes = [System.Text.Encoding]::UTF8.GetBytes($ReplyUrl)
$encodedText = [Convert]::ToBase64String($bytes)
$encodedText = $encodedText.TrimEnd('=');
$encodedText = $encodedText.Replace('/','_');
$encodedText = $encodedText.Replace('+','-');

$newReplyUrl = $FhirServerUrl.TrimEnd('/') + "/AadSmartOnFhirProxy/callback/" + $encodedText