Bassam Elsayed 1 Reputation point

I have configured an App gateway with 2 backend pools (stagingv&vproduction) each pool has 1 VM each VM has a public and private IP address.

We have provided third parties companies with the public IP address of the APP gateway to white list

we hosted application on staging VM which will communicate with third party to process request . The third party whitelisted the APPgateway IP address. Now after accessing our API it should communicate with the third party API but we are receiving unauthorized access response . I guess the VM is communicating directly with its public IP address which is not whitelisted . How to solve it and force the VM to forward the traffic using Application gateway

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
955 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Joe Carlyle 661 Reputation points MVP


    A VM cannot use an App Gateway for outbound NAT.

    The App Gateway IP would only work for inbound requests initiated by your third parties.

    So they will have to whitelist the IP attached to your VM, or could you look at using NAT Gateway.


    0 comments No comments