You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is clear how to create an active-standby and an active-active. However, an active-active with p2s is not documented, but also does not work. What is expected:
documentation on how to create an active-active vpn gateway with p2s connection
documentation on how to create an active-active vpn gateway and then with an update add the p2s connection
with 3 public ip addresses does not work
with update does not work as it states a 3rd is required.
Then trying to update to add p2s not: az network vnet-gateway update \ --resource-group $resourceGroupName \ --address-prefix $vpnClientAddressPool \ --name $vpnGatewayName \ --client-protocol OpenVPN \ --aad-tenant "https://login.microsoftonline.com/${tenantId}" \ --aad-audience "c632b3df-fb67-4d84-bdcf-b95ad541b5c8" \ --aad-issuer "https://sts.windows.net/${tenantId}/"
Adding a third public id does not have a command either.
Must 1. be a combination of those 2?
Documentation with working example is appreciated.
Thank you. Maybe add this to the documentation so that we will not try to find and use it. A pity it cannot be done with azure cli. I would image the cli is a generic stack which is generated before the GUI is using it like a MVC pattern.
Type of issue
Code doesn't work
Feedback
It is clear how to create an active-standby and an active-active. However, an active-active with p2s is not documented, but also does not work. What is expected:
documentation on how to create an active-active vpn gateway with p2s connection
documentation on how to create an active-active vpn gateway and then with an update add the p2s connection
with 3 public ip addresses does not work
with update does not work as it states a 3rd is required.
This works:
az network vnet-gateway create \ --resource-group $resourceGroupName \ --name $vpnGatewayName \ --public-ip-address $publicIpName1 $publicIpName2 \ --vnet $infravnet \ --gateway-type Vpn \ --vpn-type RouteBased \ --sku $gatewaySku \ --no-wait
Then trying to update to add p2s not:
az network vnet-gateway update \ --resource-group $resourceGroupName \ --address-prefix $vpnClientAddressPool \ --name $vpnGatewayName \ --client-protocol OpenVPN \ --aad-tenant "https://login.microsoftonline.com/${tenantId}" \ --aad-audience "c632b3df-fb67-4d84-bdcf-b95ad541b5c8" \ --aad-issuer "https://sts.windows.net/${tenantId}/"
Adding a third public id does not have a command either.
Must 1. be a combination of those 2?
Documentation with working example is appreciated.
Page URL
https://learn.microsoft.com/en-us/cli/azure/network/vnet-gateway?view=azure-cli-latest
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/network/vnet-gateway.yml
Author
@dbradish-microsoft
Document Id
0c402156-30a9-6963-c8d1-64455536c541
The text was updated successfully, but these errors were encountered: