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
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation page demonstrates a strong bias toward Windows and PowerShell environments. All command-line examples for certificate management use PowerShell cmdlets, with no equivalent Bash, Azure CLI, or Linux-native instructions. Windows/PowerShell tools and patterns (e.g., .pfx, ConvertTo-SecureString, X509Certificate2) are referenced exclusively, and PowerShell is presented before Python in both explanations and examples. There are no Linux shell or cross-platform CLI examples for certificate creation, upload, or retrieval.
Recommendations:
  • Provide Azure CLI examples for certificate management tasks (creation, upload, retrieval) alongside PowerShell examples.
  • Include Bash or shell script examples for common certificate operations, especially for Linux users.
  • Mention Linux-compatible certificate formats and tools (e.g., OpenSSL) and show how to prepare/upload certificates from Linux environments.
  • Reorder or parallelize sections so that PowerShell and cross-platform (CLI, Python) examples are presented with equal prominence.
  • Clarify that the PowerShell cmdlets can be used on Linux/macOS via PowerShell Core, if applicable, or provide alternatives.
  • Reference Linux-native certificate stores and how to use certificates managed by Azure Automation in Linux-based runbooks or DSC configurations.
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

### Create a new certificate with a Resource Manager template The following example demonstrates how to deploy a certificate to your Automation account by using a Resource Manager template through PowerShell:
## Get a certificate To retrieve a certificate, use the internal `Get-AutomationCertificate` cmdlet. You can't use the [Get-AzAutomationCertificate](/powershell/module/Az.Automation/Get-AzAutomationCertificate) cmdlet, because it returns information about the certificate asset, but not the certificate itself. ### Textual runbook examples # [PowerShell](#tab/azure-powershell) The following example shows how to add a certificate to a cloud service in a runbook. In this sample, the password is retrieved from an encrypted automation variable.