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 sections about preparing wheel files for Python 3.8, only Windows instructions are provided first and in detail, while Linux instructions are only given for Python 3.10 (preview). The PowerShell cmdlets for managing Python packages are presented without Linux CLI or Azure CLI equivalents, and there are no Bash or cross-platform examples for package management. The documentation assumes the use of Windows tools and environments in several places, with Linux parity only partially addressed for the newer Python version.
Recommendations:
  • Provide Linux-based instructions for generating wheel files for Python 3.8, not just for Python 3.10.
  • Include Azure CLI or Bash script examples for managing Python packages, alongside or instead of PowerShell cmdlets.
  • When listing tools or commands, present both Windows and Linux options, or use cross-platform tools where possible.
  • Avoid assuming the user is on Windows by default; clarify when instructions are OS-specific and offer alternatives.
  • Highlight any differences in package management workflows between Windows and Linux environments in Azure Automation.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean
2025-07-09 23:22 #6 cancelled ✅ Clean

Flagged Code Snippets

Get-AzAutomationPython3Package -AutomationAccountName tarademo -ResourceGroupName mahja -Name sockets Response ResourceGroupName : mahja AutomationAccountName : tarademo Name : sockets IsGlobal : False Version : 1.0.0 SizeInBytes : 4495 ActivityCount : 0 CreationTime : 9/20/2022 12:46:28 PM +05:30 LastModifiedTime : 9/22/2022 5:03:42 PM +05:30 ProvisioningState : Succeeded
https://github.com/azureautomation/runbooks/blob/master/Utility/Python/import_py3package_from_pypi.py
New-AzAutomationPython3Package -AutomationAccountName tarademo -ResourceGroupName mahja -Name requires.io -ContentLinkUri https://files.pythonhosted.org/packages/7f/e2/85dfb9f7364cbd7a9213caea0e91fc948da3c912a2b222a3e43bc9cc6432/requires.io-0.2.6-py2.py3-none-any.whl Response ResourceGroupName : mahja AutomationAccountName : tarademo Name : requires.io IsGlobal : False Version : SizeInBytes : 0 ActivityCount : 0 CreationTime : 9/26/2022 1:37:13 PM +05:30 LastModifiedTime : 9/26/2022 1:37:13 PM +05:30 ProvisioningState : Creating
Get-AzAutomationPython3Package -AutomationAccountName tarademo -ResourceGroupName mahja Response : ResourceGroupName : mahja AutomationAccountName : tarademo Name : cryptography IsGlobal : False Version : SizeInBytes : 0 ActivityCount : 0 CreationTime : 9/26/2022 11:52:28 AM +05:30 LastModifiedTime : 9/26/2022 12:11:00 PM +05:30 ProvisioningState : Failed ResourceGroupName : mahja AutomationAccountName : tarademo Name : requires.io IsGlobal : False Version : SizeInBytes : 0 ActivityCount : 0 CreationTime : 9/26/2022 1:37:13 PM +05:30 LastModifiedTime : 9/26/2022 1:39:04 PM +05:30 ProvisioningState : ContentValidated ResourceGroupName : mahja AutomationAccountName : tarademo Name : sockets IsGlobal : False Version : 1.0.0 SizeInBytes : 4495 ActivityCount : 0 CreationTime : 9/20/2022 12:46:28 PM +05:30 LastModifiedTime : 9/22/2022 5:03:42 PM +05:30 ProvisioningState : Succeeded
Remove-AzAutomationPython3Package -AutomationAccountName tarademo -ResourceGroupName mahja -Name sockets
Set-AzAutomationPython3Package -AutomationAccountName tarademo -ResourceGroupName mahja -Name requires.io -ContentLinkUri https://files.pythonhosted.org/packages/7f/e2/85dfb9f7364cbd7a9213caea0e91fc948da3c912a2b222a3e43bc9cc6432/requires.io-0.2.6-py2.py3-none-any.whl ResourceGroupName : mahja AutomationAccountName : tarademo Name : requires.io IsGlobal : False Version : 0.2.6 SizeInBytes : 10109 ActivityCount : 0 CreationTime : 9/26/2022 1:37:13 PM +05:30 LastModifiedTime : 9/26/2022 1:43:12 PM +05:30 ProvisioningState : Creating