Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to replace Route Tables pointing to Azure Firewall with a Azure Route Server.
I am afraid this won't be possible.
If you want to route the traffic to Azure Firewall without manually adding routes, you should consider using a vWAN with secured virtual hub with Private Traffic Routing Intent enabled.
See : Virtual WAN Hub routing intent and routing policies
Azure Route Server seamlessly integrates with NVAs that can establish BGP Peering with it.
- Since Azure Firewall does not have the capability to advertise routes over BGP, Azure Route Server does not offer Azure Firewall integration.
- Should you deploy a different 3rd party NVA capable of advertising BGP prefixes, then you can peer Azure Route Server and network virtual appliance (NVA) and make traffic route via the NVA without needing UDRs.
- See : How does Azure Route Server work?
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.