A community member has associated this post with a similar question:
Shared ExpressRoute circut api

Only moderators can edit this content.

ExpressRoute circuit diff subscription

meshi 1 Reputation point
2022-10-19T15:06:15.49+00:00

Hi,
I have two diff subs that use the same express route circuit. One is on the sub as the circuit.
(One vnet on the sub with the expressRouteCircuit and one vnet on other subscription that uses the same circuit)
I succed to got the route table from the express route circuit in the first sub by fetching the expressRouteCircuit.list() (networkManager) and then with listRouteTable(..) in expressRouteCircutsClient got the assosiate routes to the resourcegroup.
But when I tried to fetch the express route circuit list in the other sub(that isn't the same as expressroute) it return empty list.
So is there a way to get the expressroute circuit routes of the other resource group even though the circuit isn't on that sub?
Thank you

Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
323 questions
{count} votes