HI @vamsi krishna ,
Use below link
https://sakaldeep.com.np/1193/azure-web-app-nat-gateway-and-vnet-integration-to-get-static-outbound-ip
There are few catch like
- The feature requires an unused subnet that's a /28 or larger in an Azure Resource Manager VNet.
- App Service plan should be Standard or higher.
- There is no need to create Route.
To test it,
- Create two apps like an API and a landing website.
- Call API to the landing website.
- The landing website will get a response from API using NAT Gateway IP as an outbound IP.
Please let me know if it works for you. Happy to troubleshoot with you if it didn't work for you.