Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Azure Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-azure-knowledge-patch-nevaberry-plugins)
---
name: azure-knowledge-patch
description: Microsoft Azure
version: null
license: MIT
metadata:
author: Nevaberry
---
# Microsoft Azure compatibility guidance
Load this skill when updating or troubleshooting Azure infrastructure,
authentication, deployment scripts, or service migrations. Use the topic
references for the complete conditions, API names, and examples.
## Reference index
| Reference | Topics |
| --- | --- |
| [Application platform](references/application-platform.md) | App Service, Functions, API Management, App Configuration, service connections, Cognitive Services, and Foundry |
| [ARM, Bicep, and CLI](references/arm-bicep-and-cli.md) | Resource providers, deployments, stacks, Bicep parameters and outputs, CLI installation and output, cloud configuration |
| [Compute and images](references/compute-and-images.md) | VMs, scale sets, disks, images, galleries, capacity, Batch, and Batch AI |
| [Containers and Kubernetes](references/containers-and-kubernetes.md) | AKS, Container Registry, Container Apps, Container Instances, OpenShift, and Service Fabric |
| [Data, storage, and backup](references/data-storage-and-backup.md) | SQL, PostgreSQL, MySQL, Cosmos DB, Redis, NetApp Files, Storage, backup, and analytics |
| [Identity and security](references/identity-and-security.md) | Entra, Graph, MFA, language-specific Azure Identity SDKs, Azure PowerShell, CLI authentication, Key Vault, and access control |
| [Networking](references/networking.md) | Explicit egress, Basic SKU migrations, gateways, load balancers, private endpoints, DNS, and network CLI settings |
| [Service operations and retirements](references/service-operations-and-retirements.md) | Advisor retirement discovery, service deadlines, SQL API retirement, monitoring, messaging, IoT, and consumption |
| [Terraform and AzAPI](references/terraform-and-azapi.md) | AzureRM resource migrations, AzAPI request bodies, outputs, retries, validation, imports, and state moves |
## Breaking changes and deprecations
### AzAPI request bodies, outputs, and authentication
AzAPI 2.0 requires an HCL object for `body`; remove `jsonencode`.
Managed-resource `output` also returns an HCL object, so remove `jsondecode`
and access exported fields directly. `use_msi` defaults to `false`; set
`use_msi = true` in the provider block to keep using managed identity.
See [Terraform and AzAPI](references/terraform-and-azapi.md).
### AzAPI retries and ignored fields
Remove `multiplier` and `randomization_factor` from `retry` starting in v2.6,
and remove `maximum_busy_retry_attempts` from the provider block starting in
v2.6.1. The provider uses its defaults for these deprecated settings and
plans to remove the arguments in the next major version.
AzAPI 2.0 replaces `ignore_body_changes` with Terraform's
`lifecycle.ignore_changes`; v2.12 restores `ignore_body_changes` on
`azapi_resource` for selected request-body fields.
### AzureRM subnet and routing migrations
In `azurerm_virtual_network.subnet`, replace `address_prefix` with
`address_prefixes` for one or more IPv4 or IPv6 CIDRs. An upgrade may show a
replacement warning for the inline subnet change even though the update
should be in place. The VNet's `address_space` is an unordered set.
Replace `disable_bgp_route_propagation` with `bgp_route_propagation_enabled`
using the inverse Boolean value.
### AzureRM AKS stable API changes
The stable API switch drops custom CA trust settings, `message_of_the_day`,
and the `KataMshvVMIsolation` workload runtime from affected cluster and
node pool resources. It removes `api_server_access_profile.vnet_integration_enabled`
and `api_server_access_profile.subnet_id` from the cluster resource.
AzAPI can still configure preview features, but changes to a cluster
managed through both providers can cause recurring diffs or replacement plans.
See [Terraform and AzAPI](references/terraform-and-azapi.md) for all affected fields.
### User authentication and MFA
Starting October 1, 2025, Phase 2 gradually requires MFA for user-authenticated
create, update, and delete operations on `https://management.azure.com/`.
Read-only operations and direct Graph API calls fall outside Phase 2.
Move automation that signs in as a user to a managed identity or service
principal, which are exempt in both phases. The rollout covers public Azure;
Azure for US Government and other sovereign clouds are outside its scope.
See [Identity and security](references/identity-and-security.md) for claims
challenges, client compatibility, enforcement, and password-grant migrations.
### Managed identity login selectors
Passing a managed identity ID with `az login --identity --username` is
deprecated. Use `--client-id`, `--object-id`, or `--resource-id` to match the ID.
```sh
az login --identity --client-id "$client_id"
```
### Key Vault management APIs and authorization
Key Vault control plane APIs earlier than `2026-02-01` retire on
February 27, 2027. Update ARM, Bicep, Terraform, and direct REST management calls.
API version `2026-02-01` defaults new vaults to Azure RBAC; explicitly select
access policies when required. An existing vault's access model requires
an explicit update. The CLI's RBAC default applies independently, starting
with `az keyvault create` in Azure CLI 2.61.0.
Keep current data-plane SDK versions for key, secret, and certificate operations
when upgrading management SDKs for this retirement.
### Private subnets and explicit outbound connectivity
The virtual network API version released after March 31, 2026 defaults
`defaultOutboundAccess` to `false` for subnets in new virtual networks.
VMs in those subnets need explicit egress for internet and public Azure endpoints.
VMs in existing nonprivate subnets, including newly added VMs, remain eligible
for default outbound IPs. New deployments can explicitly select nonprivate subnets.
When changing subnet privacy, stop and deallocate affected VMs so their NICs
pick up the change. See [Networking](references/networking.md) for egress
exceptions, delegated subnets, and Basic SKU migration procedures.
### App Service defaults and runtime discovery
`az appservice plan create` defaults to Linux when `--hyper-v` is omitted.
Pass `--is-linux false` for a Windows plan. For Linux web apps, the omitted
`--sku` defaults to `P0V3`.
`az webapp list-runtimes` returns objects with `os`, `runtime`, `version`,
`config`, `support`, and `end_of_life`. Use `--runtime` and `--support` to
filter; remove `--linux` and `--show-runtime-details`.
In CLI 2.93.0, the `config` separator changes from `|` to `:` for Linux and
Windows entries in JSON, table, and TSV output.
### CLI command removals
Azure CLI 2.93.0 deprecates `az webapp up` and `az acr pack`.
It removes `az netappfiles subvolume` and `--enable-subvolumes` from
`az netappfiles volume create` and `update`.
It stops accepting `--resource-tags` on `az batch pool create`; 2.80.0 had
listed the flag as removed while still accepting it.
See the application, container, data, and compute references for related changes.
### JavaScript browser callbacks and managed identity options
`@azure/identity` 4.14.1 upgrades `@azure/msal-node` to `^7.1.0`, making
`form_post` callbacks mandatory for interactive browser authentication.
Custom redirect handlers must accept an HTTP form POST.
Upgrade from 4.14.0 to 4.14.1 if `DefaultAzureCredential` is pinned to managed
identity through `AZURE_TOKEN_CREDENTIALS` and you supply
`managedIdentityClientId` or `managedIdentityResourceId`; 4.14.1 restores
forwarding for those constructor options.
### Developer credential process execution
Python's `AzureCliCredential` and `AzureDeveloperCliCredential` launch `az`
and `azd` directly from 1.20.0. Starting in JavaScript 4.13.2, developer
credentials execute their commands directly. If automation relied on a shell
alias or function, make the executable available on the corresponding process's `PATH`.
### Bicep registry compatibility
Bicep CLI 0.43.1 rejects custom module registry hostnames with `BCP446`.
Use an allowed hostname: `*.azurecr.io`, `*.azurecr.cn`, `*.azurecr.us`,
`mcr.microsoft.com`, `mcr.azure.cn`, or `ghcr.io`, then rerun `bicep restore`.
The public registry has retired modules outside Azure Verified Modules;
migrate those references to their equivalents under `br/public:avm/`.
## Deployment and configuration quick reference
### Resource provider registration
`resource_provider_registrations` selects `core`, `extended`, `all`, `none`,
or `legacy`. `resource_providers_to_register` entries are additive; select
`none` to register only the explicitly listed namespaces.
ARM template and Bicep deployments automatically register providers for
declared resource types. Manually register still-unregistered providers for
supporting resources omitted from the template.
### AzAPI preflight and state moves
Set `enable_preflight = true` on the provider to validate resource configuration
before deployment. From v2.10, enabled preflight runs on updates as well as
creates and requires only read permission.
Starting in v2.1, a Terraform `moved` block can transfer a supported AzureRM
resource to a declared `azapi_resource`.
### Deployment validation and stack previews
Pass `--validation-level` to deployment `create`, `validate`, or `what-if`
at resource group, subscription, management group, or tenant scope.
Preview deployment stack changes with `az stack-whatif group`,
`az stack-whatif sub`, or `az stack-whatif mg` at the corresponding scope.
### Bicep parameter inheritance
From Bicep CLI 0.44.1, a `.bicepparam` file can reuse parameter assignments
from one parent with `extends`. Use `using none` in root and intermediate
files and bind the leaf to the template. Derived assignments replace entire
inherited values; use `base.<parameter>` and spread `...` to retain properties
or array elements. Spread each nested object to merge it and put overrides
after the spread. Variables, types, and imported functions stay local.
### Bicep outputs and deployment names
From Bicep 0.35.1, `@secure()` on a `string` or `object` output keeps its value
out of logs, deployment history, the portal, and CLI output; parent templates
can consume it through module `outputs`. Wrap sensitive arrays or numbers in
a secure object or serialize them to a secure string.
Concurrent deployments reusing a nested deployment name at the same scope
can read the wrong outputs. Omit module `name` to generate a unique name;
the `no-module-name` linter rule flags explicit names.
### Function App migration and container images
Use `az functionapp flex-migration start` for an in-place Consumption v1 to
Flex Consumption upgrade and `az functionapp flex-migration revert` to roll it back.
In CLI 2.93.0, `--deployment-image` on `az functionapp create` or
`az functionapp deployment config set` deploys a container image on Flex Consumption.
See [Application platform](references/application-platform.md) for registry
authentication, runtime management, deployment checks, and migration details.
### Credential selection and AKS identity bindings
`AZURE_TOKEN_CREDENTIALS` can select credential groups or individual credentials;
the supported versions and validation options differ by language.
Use [Identity and security](references/identity-and-security.md) for each SDK.
Stable Python `azure-identity` 1.27.0 exposes AKS identity binding mode
exclusively through a directly constructed `WorkloadIdentityCredential`.
### Retirement discovery
Advisor groups retirement recommendations under **Reliability → Service Upgrade
and Retirement**. Its subscription recommendation list shows entries with
impacted-resource data; use recommendation metadata to find retirement types
without resource matches. See [Service operations and retirements](references/service-operations-and-retirements.md)
for the distinct metadata and recommendation filters, Resource Graph query,
service deadlines, and sovereign-cloud discovery guidance.