Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well. I was able to repo your issue and this looks like a Portal Validation issue.
I shall check this internally about this behavior.
Meanwhile, you can use Azure Powershell to create/update the LNG
To create a new LNG with FQDN,
- New-AzLocalNetworkGateway
- New-AzLocalNetworkGateway -Name <Name of LNG> -ResourceGroupName <RG Name> -Location <Location String> -FQDN <FQDN String> -AddressPrefix <Address Range String>
- E.g. New-AzLocalNetworkGateway -Name "lngTest" -ResourceGroupName lngRg -Location "East US" -FQDN "www.google.com" -AddressPrefix "10.5.51.0/24"
To update a LNG,
- You simply have to overwrite the LNG with the same command
- Modify LNG
- E.g. New-AzLocalNetworkGateway -Name "lngTest" -ResourceGroupName lngRg -Location "East US" -FQDN "www.bing.com" -AddressPrefix "10.5.51.0/24"
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.