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_first
Summary:
The documentation demonstrates a moderate Windows bias. PowerShell examples are presented first and in greater detail, with variable setup and multiple authentication scenarios. Azure CLI (Bash) examples are provided, but only after PowerShell, and the documentation's structure and depth favor Windows/PowerShell workflows. There are no Linux-specific tools or patterns, but parity is mostly maintained through Azure CLI and REST examples.
Recommendations:
- Present CLI (Bash) examples before or alongside PowerShell examples to avoid the impression of Windows-first workflows.
- Ensure that all authentication and configuration scenarios shown in PowerShell are equally covered in CLI/Bash examples.
- Explicitly mention Linux/macOS compatibility for CLI/Bash examples to reassure non-Windows users.
- Where possible, provide cross-platform scripting tips or highlight any differences in behavior between platforms.
- Consider including a short section on using these tools from Linux/macOS environments, especially for variable setup and authentication.
Create pull request
Flagged Code Snippets
$storageContext = New-AzStorageContext -StorageAccountName $storageAccountName
Backup-AzApiManagement -ResourceGroupName $apiManagementResourceGroup -Name $apiManagementName `
-StorageContext $storageContext -TargetContainerName $containerName `
-TargetBlobName $blobName -AccessType "SystemAssignedManagedIdentity"
$identityName = "myidentity";
$identityResourceGroup = "identityresourcegroup";
$identityId = (Get-AzUserAssignedIdentity -Name $identityName -ResourceGroupName $identityResourceGroup).ClientId
$storageContext = New-AzStorageContext -StorageAccountName $storageAccountName
Backup-AzApiManagement -ResourceGroupName $apiManagementResourceGroup -Name $apiManagementName `
-StorageContext $storageContext -TargetContainerName $containerName `
-TargetBlobName $blobName -AccessType "UserAssignedManagedIdentity" ` -identityClientId $identityid