Hi jihad majed,
Greetings,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
NOTE: You can't change a local network gateway between FQDN endpoint and IP address endpoint. You must delete all connections associated with this local network gateway, create a new one with the new endpoint (IP address or FQDN), then recreate the connections.
If the VPN device to which you want to connect has changed its public IP address, modify the local network gateway using the following steps:
- On the Local Network Gateway resource, in the Settings section, select Configuration.
- In the IP address box, modify the IP address.
- Select Save to save the settings.
If the VPN device to which you want to connect has changed its FQDN (Fully Qualified Domain Name), modify the local network gateway using the following steps:
- On the Local Network Gateway resource, in the Settings section, select Configuration.
- In the FQDN box, modify the domain name.
- Select Save to save the settings.
I hope this clarifies,
Thanks
Ganesh
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.