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
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation is heavily focused on Windows, specifically WPF desktop applications, with all code samples and guidance tailored to the Windows ecosystem. There are no Linux or cross-platform examples, and Windows-specific patterns (such as WindowInteropHelper and WPF APIs) are used exclusively. The documentation does not mention or provide alternatives for Linux or other platforms.
Recommendations:
  • Include equivalent examples for cross-platform desktop frameworks (such as .NET MAUI, Avalonia, or GTK#) that run on Linux.
  • Provide guidance or links for configuring Azure AD B2C authentication in Linux desktop applications.
  • Clarify in the introduction that the guidance is specific to WPF/Windows, and link to cross-platform or Linux-specific documentation if available.
  • When discussing redirect URIs and MSAL usage, note any platform-specific considerations for Linux or macOS.
  • If possible, provide PowerShell and Bash/terminal command equivalents for any setup or configuration steps.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-14 00:00 #111 completed ❌ Biased
2025-08-14 00:01 #80 in_progress ❌ Biased
2025-08-13 00:00 #79 in_progress ✅ Clean
2025-07-13 21:17 #46 cancelled ❌ Biased
2025-07-13 21:11 #45 cancelled ✅ Clean
2025-07-13 20:48 #44 cancelled ✅ Clean
2025-07-13 20:32 #43 cancelled ✅ Clean
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

Dictionary<string, string> extraQueryParameters = new Dictionary<string, string>(); extraQueryParameters.Add("id_token_hint", idToken); authResult = await app.AcquireTokenInteractive(App.ApiScopes) .WithParentActivityOrWindow(new WindowInteropHelper(this).Handle) .WithExtraQueryParameters(extraQueryParameters) .ExecuteAsync();
authResult = await app.AcquireTokenInteractive(App.ApiScopes) .WithParentActivityOrWindow(new WindowInteropHelper(this).Handle) .WithLoginHint("bob@contoso.com") .ExecuteAsync();
Dictionary<string, string> extraQueryParameters = new Dictionary<string, string>(); extraQueryParameters.Add("domain_hint", "facebook.com"); authResult = await app.AcquireTokenInteractive(App.ApiScopes) .WithParentActivityOrWindow(new WindowInteropHelper(this).Handle) .WithExtraQueryParameters(extraQueryParameters) .ExecuteAsync();
Dictionary<string, string> extraQueryParameters = new Dictionary<string, string>(); extraQueryParameters.Add("ui_locales", "en-us"); authResult = await app.AcquireTokenInteractive(App.ApiScopes) .WithParentActivityOrWindow(new WindowInteropHelper(this).Handle) .WithExtraQueryParameters(extraQueryParameters) .ExecuteAsync();
Dictionary<string, string> extraQueryParameters = new Dictionary<string, string>(); extraQueryParameters.Add("campaignId", "germany-promotion"); authResult = await app.AcquireTokenInteractive(App.ApiScopes) .WithParentActivityOrWindow(new WindowInteropHelper(this).Handle) .WithExtraQueryParameters(extraQueryParameters) .ExecuteAsync();