sincecutoff.com
← all changes

az network vnet-gateway adds identity parameters and subgroup

Introduced 2026-02-03 · score 0.94

HOW TO USE IT

When a deployment workflow needs identity settings on an existing virtual network gateway, assign them with `az network vnet-gateway identity assign`.

az network vnet-gateway identity assign --resource-group <resource-group> --name <gateway-name> --mi-system-assigned
az network vnet-gateway identity assign --resource-group <resource-group> --name <gateway-name> --mi-user-assigned <identity-resource-id>

WHY THIS HELPS

Configure a virtual network gateway in a repository deployment workflow that uses identity settings.

REQUIREMENTS AND LIMITATIONS

  • Version: 2.83.0
  • --name / -n (required): Name of the VNet gateway.
  • --resource-group / -g (required): Name of the resource group.
  • --mi-system-assigned / --system-assigned: Set the system managed identity.
  • --mi-user-assigned / --user-assigned: Set user managed identities; supports shorthand, JSON-file, and YAML-file syntax.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card