You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**UseExisting mode** allows Azure Virtual Network Manager (AVNM) to append routes to an existing route table instead of creating a new one.
122
+
This mode provides greater **control**, ensures **compliance with organizational policies**, and reduces **operational complexity** when customers need to preserve existing resource naming conventions, tags, or resource group structures.
123
+
124
+
**Comparison:**
125
+
-**ManagedOnly (default):** AVNM always creates or reuses its own managed route table.
126
+
-**UseExisting:** AVNM uses the existing subnet-associated route table, appending required routes while preserving its properties.
127
+
128
+
129
+
130
+
### Step-by-Step: Enable UseExisting Mode
131
+
132
+
#### 1. Enable via Portal or API
133
+
1. Open the **AVNM portal** or use the **API**.
134
+
2. Select your **routing configuration**.
135
+
3. Set the **`routeTableUsageMode`** property to `UseExisting`.
136
+
- If a route table already exists on the subnet, AVNM will **append** the required routes.
137
+
- If no route table is present, AVNM will **create** one automatically.
138
+
139
+
#### 2. Switching Modes
140
+
- You can switch between `ManagedOnly` and `UseExisting` at any time.
141
+
- When switching **from ManagedOnly to UseExisting**, note that the existing route tables are **AVNM-managed**, so manual updates and reassociation may be required to align configurations.
142
+
- When switching **from UseExisting to ManagedOnly**, remove any AVNM-created routes from the customer route tables. Reassociation is **not required** since AVNM will automatically manage the new route tables.
143
+
144
+
### Behavior
145
+
146
+
| Aspect | Description |
147
+
|--------|--------------|
148
+
|**Preservation**| Existing route table properties such as name, tags, and resource group are preserved. |
149
+
|**Manual Changes**| AVNM does not track manual modifications. Any manual edits may lead to configuration drift. |
|**Shared Tables**| If multiple subnets share a single route table, all will inherit AVNM routes—verify before enabling. |
152
+
|**Subnet Associations**| AVNM does not automatically remove subnet associations from existing customer route tables. If a subnet is removed from the network group, its association remains intact, meaning the subnet will still be linked to the same route table. |
153
+
154
+
155
+
118
156
## Adding other virtual networks
119
157
120
158
When you add other virtual networks to a network group, the routing configuration is automatically applied to the new virtual network. Your network manager automatically detects the new virtual network and applies the routing configuration to it. When you remove a virtual network from the network group, the applied routing configuration is automatically removed as well.
0 commit comments