An Azure virtual networking service that provides optimized and automated branch-to-branch connectivity.
Hello @Anupriya Kathpalia
What you're seeing is expected Virtual WAN behavior. When a VNet connects to a virtual hub, Azure learns the VNet address space as system routes; the VNet connection doesn't support advertising only selected workload subnet prefixes. It automatically learns these system routes when you create the spoke connection.
Also, association and propagation solve different problems. Setting propagation to None prevents that connection's routes from being propagated to other hub route tables; it doesn't provide subnet-level participation within the connected VNet.
Therefore, if some subnets must participate in Virtual WAN connectivity while other subnets must remain isolated, the cleanest supported design is generally to place those workloads in separate VNets/connections. Otherwise, enforce the required isolation inside the existing VNet using UDRs/NSGs/NVA or firewall controls rather than relying on Virtual WAN route propagation alone.
The vnetRoutes/staticRoutes properties on hubVirtualNetworkConnections don't change this behavior. They're meant primarily to steer traffic through an NVA in the spoke, not to filter which native VNet prefixes Virtual WAN learns.
References:
Connect a VNet to a Virtual WAN hub
Help make this community better for everyone: if this answer resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution.