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 examples, with no mention of Bash, Azure CLI, or Linux-native scripting alternatives. All instructions, sample scripts, and YAML pipeline tasks are PowerShell-centric, assuming the user will use PowerShell Core even in cross-platform scenarios. There are no Linux/Unix shell or Azure CLI equivalents provided, and the documentation does not address how to achieve the same tasks outside of the PowerShell ecosystem.
Recommendations:
  • Provide equivalent examples using Azure CLI and Bash scripts for Linux users.
  • Explicitly mention that PowerShell Core is cross-platform, but also offer native Bash/CLI alternatives for users who prefer not to use PowerShell.
  • Include YAML pipeline tasks that demonstrate running Bash scripts or AzureCLI@2 tasks to achieve the same pre- and post-deployment automation.
  • Add a section discussing cross-platform considerations and how to adapt the workflow for Linux-based build agents.
  • Reference official Azure CLI documentation and provide links to relevant CLI commands for managing Data Factory triggers and deployments.
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: ../