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:
⚠️ powershell_heavy
⚠️ windows_tools
⚠️ missing_linux_example
⚠️ windows_first
Summary:
The documentation exclusively uses PowerShell scripts and Azure PowerShell tasks for all CI/CD automation examples, with no mention of Bash, Azure CLI, or cross-platform scripting alternatives. All sample code, instructions, and YAML pipeline tasks are PowerShell-centric, and there are no Linux-native or cross-platform examples provided. The documentation assumes the use of PowerShell Core but does not address Linux environments or provide parity for non-Windows users.
Recommendations:
  • Provide equivalent examples using Azure CLI and Bash scripts for pre- and post-deployment automation, ensuring Linux users have clear guidance.
  • Explicitly mention that PowerShell Core is cross-platform and provide instructions for running scripts on Linux agents.
  • Include YAML pipeline examples that use AzureCLI@2 or Bash tasks alongside AzurePowerShell tasks.
  • Reference or link to documentation on setting up Linux build agents and running deployment scripts in non-Windows environments.
  • Clarify any limitations or differences when running the scripts on Linux versus Windows, and offer troubleshooting tips for Linux users.
GitHub Create pull request

Scan History

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

Flagged Code Snippets

- task: AzurePowerShell@5 displayName: Stop ADF Triggers inputs: scriptType: 'FilePath' ConnectedServiceNameARM: AzureDevServiceConnection scriptPath: ../ADFTemplates/PrePostDeploymentScript.ps1 ScriptArguments: -armTemplate "<your-arm-template-location>" -ResourceGroupName <your-resource-group-name> -DataFactoryName <your-data-factory-name> -predeployment $true -deleteDeployment $false errorActionPreference: stop FailOnStandardError: False azurePowerShellVersion: 'LatestVersion' pwsh: True workingDirectory: ../
- task: AzurePowerShell@5 displayName: Start ADF Triggers inputs: scriptType: 'FilePath' ConnectedServiceNameARM: AzureDevServiceConnection scriptPath: ../ADFTemplates/PrePostDeploymentScript.ps1 ScriptArguments: -armTemplate "<your-arm-template-location>" -ResourceGroupName <your-resource-group-name> -DataFactoryName <your-data-factory-name>-predeployment $false -deleteDeployment $true errorActionPreference: stop FailOnStandardError: False azurePowerShellVersion: 'LatestVersion' pwsh: True workingDirectory: ../