Hello Apurva Pathak
Thanks for your response.
Yes, we do have a plan to introduce customer service tags aka IP groups, but this is still in design so no timelines to share yet.
Just summarizing our private message conversation here for community benefit.:
Since you are routing all the VM traffic from the spoke VNet to the Hub VNet where the virtual appliance is located, the traffic will traverse from the source VNet to the destination VNet via VNet peering. Therefore, the NSG outbound rules prioritize VNet-to-VNet traffic, allowing traffic from the source VM to the destination firewall as next hop.
When you add a UDR on your Spoke Subnets to use Azure Firewall for default outbound (0.0.0.0/0 -> Azure Firewall IP), the VirtualNetwork service tag on the NSG attached to the Spoke Subnets gets 0.0.0.0/0 prefix value.
Please don’t forget to close the thread by clicking "Accept the answer" and "Yes" wherever the information provided helps you, as this can be beneficial to other community members.