Advisor recommendation for default outbound connectivity is incorrect for some VMs

Rich 1 Reputation point
2025-08-26T16:05:57.7033333+00:00

We have several VMs (nics) in separate subscriptions that Advisor reports under "Add explicit outbound method to disable default outbound"

The VMs that should not be in this list already have a working NAT gateway in the attached subnet.

How can this be resolved?

Azure Advisor
Azure Advisor
An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Siva shunmugam Nadessin 575 Reputation points Microsoft External Staff Moderator
    2025-08-27T01:57:24.6633333+00:00

    Hello Rich,

    Kindly check the below steps and see if it works

    1. Verify NAT Gateway Configuration: Double-check that the NAT gateway is correctly associated with the subnet where the VMs are located. Make sure there are no issues with the configuration that could prevent it from functioning properly.
    2. Check for Default Outbound Access: Identify if the defaultOutboundConnectivityEnabled parameter is set to false on those VMs that should not require explicit outbound access. This can be done through Azure PowerShell or Azure CLI.
    3. Deallocate and Restart the VMs: Sometimes, changes to network configurations, including NAT gateways, require that you stop and deallocate the VM for them to take effect. Once done, start the VM again and check the Advisor recommendations.
    4. Review Network Security Groups and Routes: Make sure there are no Network Security Group (NSG) rules or User Defined Routes (UDR) that might conflict with the expected outbound connectivity.

    Referred document:

    Troubleshoot Azure NAT Gateway connectivity - Azure NAT Gateway | Microsoft Learn

     If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily.

    0 comments No comments

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.