Hi,
I have an ExpressRoute circuit and the following peering among networks:
VnetA (ExpressRoute) <===(peering)===> VnetB <===(peering)===> VnetC
I wanted to advertise a custom route belonging to VnetC which is not directly peered with VnetA. Routing between VnetA and VnetC is possible using a network gateway deployed in VnetB (this is somehow a hub & (hub & spoke)) architecture.
When I tried to add the custom route to the virtual network gateway of type ExpressRoute using PowerShell, I received the following error message:
Custom routes are not allowed to be specified for gateway ... of type ExpressRoute.
StatusCode: 400
ReasonPhrase: Bad Request
Is there another way to propagate this route to the on-prem ?
Thanks!
