Can't see VMSS from Application gateway in different resource group

Kristian Iliev 20 Reputation points
2024-09-20T08:38:59.32+00:00

How can I make my Application Gateway from one resource group communicate with the Virtual machine scale set of another resource group in the same subscription? I have established Network Peering between the two virtual networks, but the Backend pools of the Application Gateway still can't locate the VMSS.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,509 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,081 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
408 questions
{count} votes

Accepted answer
  1. Ganesh Patapati 1,275 Reputation points Microsoft Vendor
    2024-09-20T13:36:06.69+00:00

    Hi Kristian Iliev,

    Good day!

    Welcome to the Q&A Platform for Microsoft. We appreciate you asking this question here.

    We understand from your query that you are experiencing an issue while trying to Can't see VMSS from Application gateway in different resource group?

    • The Application Gateway needs to be in the Vnet as scale set, if not it will not show when you try to add it to a backend pool.

    If you have VNet peering, you can just add the internal IP of the VM to target the backend pool.

    A backend pool routes request to backend servers, which serve the request. Backend pools can contain:

    Refer: https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-components#backend-pools

    I Strongly recommend you go with PowerShell command for this scenario:

    Refer: https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-networking?tabs=powershell1#add-a-virtual-machine-scale-set-to-an-application-gateway


    If the preceding response helps to solve your concern, please remember to "Accept Answer" and "Upvote it" so that others in the community with similar problems can easily find a solution.

    Your contribution is greatly appreciated.

    Regards,

    Ganesh

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.