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 provides both PowerShell and Azure CLI examples for all relevant operations, but consistently lists PowerShell (a Windows-centric tool) before Azure CLI (cross-platform). There are no Linux-specific shell examples (e.g., bash), but the Azure CLI examples use bash syntax, which is suitable for Linux/macOS. No exclusive Windows tools or patterns are used, but the ordering and prominence of PowerShell may suggest a Windows-first bias.
Recommendations:
- Alternate the order of PowerShell and Azure CLI examples, or default to Azure CLI first, as it is cross-platform.
- Explicitly mention that Azure CLI examples are suitable for Linux/macOS/Windows, and PowerShell examples are primarily for Windows (or PowerShell Core on Linux).
- Where possible, provide bash-specific examples or clarify that the CLI examples are intended for bash/zsh shells.
- Add a note at the start of the examples section explaining which platforms each tool supports, to help users choose the best fit for their environment.
Create pull request
Flagged Code Snippets
---
## Opting out of automatic deletions
You can opt out of automatic deletion to manually manage your deployment history. **Use this option cautiously**, as the **800-deployment limit** remains enforced, and exceeding it causes deployment failures.
> [!IMPORTANT]
> Opting out is available only for subscription scopes, as it's controlled by the subscription-level `Microsoft.Resources/DisableDeploymentGrooming` feature flag. You can't opt out for only a particular resource group. For tenant or management group scopes, open a [support ticket](./overview.md#get-support) to disable automatic deletion.
To disable automatic deletion at the subscription scope (affects all resource groups within it):
### [PowerShell](#tab/azure-powershell)
For PowerShell, use [Register-AzProviderFeature](/powershell/module/az.resources/Register-AzProviderFeature).