Sad Tux - Windows bias detected
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

Detected Bias Types
powershell_heavy
windows_first
Summary
The documentation provides examples for Azure Portal, PowerShell, Azure CLI, and REST API. PowerShell is given equal prominence to Azure CLI, but PowerShell is a Windows-centric tool, and its examples are listed before Azure CLI in every section. There are no Linux shell (bash) or scripting examples, nor any mention of Linux-specific tools or patterns. The documentation assumes PowerShell is universally available, which may disadvantage Linux users who typically use bash or other shells.
Recommendations
  • Add bash shell examples for Azure CLI commands to demonstrate usage in Linux environments.
  • Explicitly mention that PowerShell examples are primarily for Windows users, and Azure CLI examples are cross-platform.
  • Consider providing scripting examples using bash or zsh for common deployment tasks.
  • Clarify tool availability and installation instructions for both Windows and Linux users.
  • Ensure that Azure CLI examples are listed before or alongside PowerShell examples to avoid Windows-first ordering.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Clean Clean
2026-01-11 06:20 #98 completed Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

---

## Subscription deployments

You can view the history of deployments to a subscription.

# [Portal](#tab/azure-portal)

1. Select the **subscription** you want to examine.

   :::image type="content" source="media/deployment-history/select-subscription.png" alt-text="Screenshot of selecting subscription.":::

1. In the left pane, select **Deployments**.

   :::image type="content" source="media/deployment-history/select-subscription-deployments.png" alt-text="Screenshot of subscription with deployments option.":::

1. Select one of the deployments from the deployment history.

   :::image type="content" source="media/deployment-history/select-deployment-from-subscription.png" alt-text="Screenshot of deployment history for a subscription.":::

1. A summary of the deployment is displayed, including the correlation ID.

   :::image type="content" source="media/deployment-history/subscription-deployment-details.png" alt-text="Screenshot of subscription deployment history that highlights correlation ID.":::

# [PowerShell](#tab/azure-powershell)

To list all deployments for the current subscription, use the `Get-AzSubscriptionDeployment` command. This command  is equivalent to [Get-AzDeployment](/powershell/module/az.resources/get-azdeployment).

---

## Management group deployments

You can view the history of deployments to a management group.

# [Portal](#tab/azure-portal)

1. Select the **management group** you want to examine. If you don't have sufficient permissions to view details about the management group, you won't be able to select it.

   :::image type="content" source="media/deployment-history/select-management-group.png" alt-text="Screenshot of selecting management group.":::

1. In the left pane, select **Deployments**.

   :::image type="content" source="media/deployment-history/select-management-group-deployments.png" alt-text="Screenshot of management group overview that shows deployment option.":::

1. Select one of the deployments from the deployment history.

   :::image type="content" source="media/deployment-history/select-deployment-from-management-group.png" alt-text="Screenshot of deployment history for management group.":::

1. A summary of the deployment is displayed, including the correlation ID.

   :::image type="content" source="media/deployment-history/management-group-history.png" alt-text="Screenshot of management group deployment history that highlights correlation ID.":::

# [PowerShell](#tab/azure-powershell)

To list all deployments for a management group, use the [Get-AzManagementGroupDeployment](/powershell/module/az.resources/get-azmanagementgroupdeployment) command. If you don't have sufficient permissions to view deployments for the management group, you'll get an error.

---

## Tenant deployments

You can view the history of deployments to a tenant.

# [Portal](#tab/azure-portal)

The portal doesn't currently show tenant deployments.

# [PowerShell](#tab/azure-powershell)

To list all deployments for the current tenant, use the [Get-AzTenantDeployment](/powershell/module/az.resources/get-aztenantdeployment) command. If you don't have sufficient permissions to view deployments for the tenant, you'll get an error.

---

## Deployment operations and error message

Each deployment can include multiple operations. To see more details about a deployment, view the deployment operations. When a deployment fails, the deployment operations include an error message.

# [Portal](#tab/azure-portal)

1. On the summary for a deployment, select **Operation details**.

   :::image type="content" source="media/deployment-history/get-operation-details.png" alt-text="Screenshot of failed deployment that highlights link for operation details.":::

1. You see the details for that step of the deployment. When an error occurs, the details include the error message.

   :::image type="content" source="media/deployment-history/see-operation-details.png" alt-text="Screenshot of failed deployment's operation details.":::

# [PowerShell](#tab/azure-powershell)

To view the deployment operations for deployment to a resource group, use the [Get-AzResourceGroupDeploymentOperation](/powershell/module/az.resources/get-azresourcegroupdeploymentoperation) command.

To view deployment operations for other scopes, use:

* [Get-AzDeploymentOperation](/powershell/module/az.resources/get-azdeploymentoperation)
* [Get-AzManagementGroupDeploymentOperation](/powershell/module/az.resources/get-azmanagementgroupdeploymentoperation)
* [Get-AzTenantDeploymentOperation](/powershell/module/az.resources/get-aztenantdeploymentoperation)

# [Azure CLI](#tab/azure-cli)

To view the deployment operations for deployment to a resource group, use the [az deployment operation group list](/cli/azure/deployment/operation/group#az-deployment-operation-group-list) command. You must have Azure CLI 2.6.0 or later.