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)
---
name: azure-knowledge-patch
description: Microsoft Azure
version: null
license: MIT
metadata:
author: Nevaberry
---
# Microsoft Azure
Load this skill when updating Azure infrastructure definitions, command-line
automation, authentication code, or service configurations. Use the references
for exact options, language-specific behavior, migration procedures, and examples.
## Reference index
| Reference | Topics |
| --- | --- |
| [Identity, authentication, and Graph](references/identity-authentication-and-graph.md) | MFA, manifest migration, Azure Identity SDKs, managed identities, CLI login, PowerShell |
| [Terraform providers](references/terraform-providers.md) | AzureRM resource migrations; AzAPI HCL bodies, output, preflight, requests, imports, and state |
| [Deployment, governance, and CLI](references/deployment-governance-and-cli.md) | Bicep, ARM, deployment stacks, App Configuration, monitoring, policy, retirement discovery, CLI configuration |
| [Networking](references/networking.md) | Subnet egress, Basic SKU migration, gateways, WAF, private endpoints, DNS, load balancers |
| [AKS and containers](references/aks-and-containers.md) | AKS, Container Registry, Container Apps, Container Instances, OpenShift, Azure Container Service |
| [Compute and application platform](references/compute-and-app-platform.md) | VMs, scale sets, disks, galleries, App Service, Functions, API Management, Batch, Service Fabric |
| [Data, storage, and Key Vault](references/data-and-storage.md) | Storage, backup, SQL, PostgreSQL, MySQL, Cosmos DB, NetApp Files, Key Vault, messaging, data services |
## Breaking changes and deprecations
### User authentication and MFA
Phase 2 gradually requires MFA for user-authenticated create, update, and delete
operations on `https://management.azure.com/`, starting October 1, 2025.
Read-only operations and direct Graph API calls fall outside Phase 2.
The rollout covers public Azure; sovereign clouds are outside its scope.
Move automation that signs in as a user to a managed identity or service principal,
which are exempt in both phases. Azure CLI 2.76 or later and Azure PowerShell 14.3
or later provide the best compatibility with claims challenges.
### App manifests and password grants
The Entra admin center's Manifest page requires Microsoft Graph format starting
January 7, 2025. Apps registered with a personal Microsoft account continue to use
Azure AD Graph format until further notice. `replyUrlsWithType` identifies a
legacy manifest; the identity reference contains the property mappings.
Check `AZURE_USERNAME` and `AZURE_PASSWORD` when auditing Go, Java, JavaScript,
and Python applications for password grants. SDK versions that read them through
`EnvironmentCredential` can also pick them up through `DefaultAzureCredential`.
### Key Vault management APIs and authorization
Key Vault control plane APIs earlier than `2026-02-01` retire February 27, 2027.
API version `2026-02-01` defaults new vaults to Azure RBAC; changing an existing
vault's access model requires an explicit update. Set
`properties.enableRbacAuthorization` to `false` when creating a vault that requires
access policies. Keep current data-plane SDK versions for key, secret, and
certificate operations when upgrading SDKs for this management API retirement.
### Private subnets and explicit egress
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 endpoint
access. Existing nonprivate subnets, including newly added VMs, remain eligible
for default outbound IPs. Configure explicit egress before making a subnet private;
stop and deallocate affected VMs so their NICs pick up the change.
VMs in private subnets can reach same-region Storage accounts without explicit egress.
### Basic network SKU migration
Basic Load Balancer and Basic public IP resources remain operational after their
September 30, 2025 retirement, without support or SLA coverage. Cloud Services
Extended Support deployments can still use them. Supported Basic Load Balancer
migration requires downtime and is one-way; resolve validation blockers first.
The networking reference includes public IP preservation, frontend cutover,
scale set instance updates, gateway migrations, and service-specific exceptions.
### API Management and SQL API retirement
Replace direct API Management calls to
`https://<service-name>.management.azure-api.net` with equivalent Resource Manager
REST operations. For the built-in developer portal's ADAL retirement, switch
redirect URIs to Single-page application, select MSAL in the identity provider,
update, and republish the portal.
SQL control plane API `2014-04-01` retires June 30, 2027; migrate to `2021-11-01`.
The data reference lists renamed operation groups and those without a newer stable equivalent.
### AzAPI request bodies and outputs
AzAPI 2.0 requires an HCL object for `body`; remove `jsonencode` around it.
Managed-resource and data-source outputs are HCL objects, so remove surrounding
`jsondecode` calls. Remove `enable_hcl_output_for_data_source` from the provider.
Managed identity is opt-in because `use_msi` defaults to `false`.
AzAPI 2.0 replaces `ignore_body_changes` with `lifecycle.ignore_changes`;
v2.12 restores `ignore_body_changes` on `azapi_resource`.
From v2.6, remove deprecated `multiplier` and `randomization_factor` retry settings;
from v2.6.1, remove `maximum_busy_retry_attempts`. The provider uses its defaults
for these deprecated settings and plans to remove the arguments in the next major version.
### AzureRM resource migration
Replace inline subnet `address_prefix` with `address_prefixes`.
Use `private_endpoint_network_policies` in place of both
`private_endpoint_network_policies_enabled` and `enforce_private_link_endpoint_network_policies`.
Replace `disable_bgp_route_propagation` with `bgp_route_propagation_enabled`
using the inverse Boolean value. AKS uses `automatic_upgrade_channel` and
`node_os_upgrade_channel`; the latter defaults to `NodeImage`.
The stable AKS API drops custom CA trust settings, `message_of_the_day`, and the
`KataMshvVMIsolation` workload runtime from affected cluster and node pool resources.
AzAPI can still configure preview features, but changes to a cluster managed through
both providers can cause recurring diffs or replacement plans.
### CLI output and removed options
Azure CLI 2.87.0 makes `az webapp list-runtimes` return structured objects;
remove `--linux` and `--show-runtime-details`. In 2.93.0, its `config` separator
changes from `|` to `:` for Linux and Windows JSON, table, and TSV output.
Azure CLI 2.93.0 deprecates `az webapp up` and `az acr pack`.
It also stops accepting `--resource-tags` on `az batch pool create`;
2.80.0 had listed the option as removed while still accepting it.
From 2.87.0, PostgreSQL create, restore, geo-restore, revive-dropped, and replica
creation no longer create or modify virtual networks, subnets, or private DNS zones.
Provision those resources separately and remove `--address-prefixes` and `--subnet-prefixes`.
### Identity SDK compatibility
In .NET Azure Identity 1.21.0, `Azure.Core` contains the `Azure.Identity` types;
the `Azure.Identity` assembly forwards them, preserving existing code and imports.
For JavaScript `@azure/identity` 4.14.1 interactive browser authentication,
custom redirect handlers must accept an HTTP form POST because `form_post`
callbacks are mandatory. Python `azure-identity` 1.26.0 requires `msal>=1.39.0`;
update dependency pins to allow that minimum. Use the language-specific reference
sections for credential chains, claims handling, broker packages, and token caches.
### Bicep registry and module compatibility
From Bicep CLI 0.43.1, custom module registry hostnames fail validation and restore
with `BCP446`; update references or aliases to an allowed hostname.
The public registry has retired modules outside Azure Verified Modules; migrate
retired references to their equivalents under `br/public:avm/`.
Bicep 0.36.1 added user-assigned managed identity syntax on modules, but deployment
support for that identity is still pending in the backend.
## Frequently used configuration and features
### Bicep parameters, outputs, and local checks
From Bicep CLI 0.44.1, `.bicepparam` files can inherit assignments from one parent
with `extends`. Use `using none` in root and intermediate files and bind the leaf
to the deployment template. Overrides replace entire inherited values; use
`base.<parameter>` and spreads, including nested spreads, to retain selected values.
Inheritance carries parameter assignments only.
From Bicep 0.35.1, `@secure()` on string or object outputs keeps values out of logs,
deployment history, the portal, and CLI output while allowing a parent template
to consume the module's outputs.
From Bicep CLI v0.41.2, `bicep snapshot --mode overwrite` writes a local baseline;
`--mode validate` compares the current evaluation against it.
### Provider registration and AzAPI preflight
AzureRM `resource_provider_registrations` selects `core`, `extended`, `all`,
`none`, or `legacy`; `resource_providers_to_register` entries are additive.
Select `none` to register only explicitly listed namespaces.
AzAPI `enable_preflight = true` validates resource configuration before deployment.
Nested resources are covered from v2.4; from v2.10, enabled preflight runs on
updates as well as creates and requires only read permission.
ARM registration completes separately in each supported region; resource creation
can be attempted in the target region while the provider still reports `Registering`.
### Managed identity login and credential selection
For `az login --identity`, replace deprecated `--username` identity selection with
`--client-id`, `--object-id`, or `--resource-id` according to the identifier type.
`AZURE_TOKEN_CREDENTIALS` supports credential groups and, in the documented SDK
versions, individual credential selection. Consult the language-specific sections
for exact availability, environment-variable validation, and managed identity retries.
In stable Python `azure-identity` 1.27.0, AKS identity binding mode is available
exclusively through a directly constructed `WorkloadIdentityCredential`.
### AKS monitoring and node pools
Use `--enable-azure-monitor-logs` on `az aks create` or `az aks update` to onboard
Container Insights through the Azure Monitor profile with managed identity authentication.
Use `az aks update --disable-azure-monitor-logs` to offboard it. The onboarding
option supersedes deprecated `--enable-msi-auth-for-monitoring`.
In Azure CLI 2.93.0, `az aks nodepool update --node-vm-size` resizes a
VirtualMachineScaleSets pool. Pass `--enable-managed-dranet false` on node pool
add or update to disable Managed DRANET.
### Function Apps and Container Apps
Use `az functionapp flex-migration start` for an in-place Consumption v1 upgrade
to Flex Consumption, and `az functionapp flex-migration revert` to roll it back.
In Azure CLI 2.93.0, use `--deployment-image` on `az functionapp create` or
`az functionapp deployment config set` for Flex Consumption container images.
Container Apps Compose secret and environment files must use relative paths
under the Compose file's directory in 2.93.0.
In 2.92.0, Container Apps environment creation defaults to `log-analytics`, with
a future switch to `azure-monitor` announced. Set `--logs-destination log-analytics`
explicitly when provisioning scripts depend on that destination.
### Retirement discovery
Advisor groups retirement recommendations under Reliability → Service Upgrade
and Retirement. Its pane and subscription recommendations list show entries with
impacted-resource data; use recommendation metadata for types without resource matches.
The deployment reference contains metadata and subscription REST requests,
a Resource Graph inventory query, workbook guidance, and the listed service deadlines.