diff --git a/eslzArm/eslzArm.json b/eslzArm/eslzArm.json index 3d29628c9..1f05d1161 100644 --- a/eslzArm/eslzArm.json +++ b/eslzArm/eslzArm.json @@ -5224,6 +5224,9 @@ }, "managementGroupScope": { "value": "[variables('scopes').eslzRootManagementGroup]" + }, + "connectivitySubscriptionId": { + "value": "[parameters('connectivitySubscriptionId')]" } } } diff --git a/eslzArm/subscriptionTemplates/avnmConfiguration.json b/eslzArm/subscriptionTemplates/avnmConfiguration.json index 5651c4704..08e4b5cd4 100644 --- a/eslzArm/subscriptionTemplates/avnmConfiguration.json +++ b/eslzArm/subscriptionTemplates/avnmConfiguration.json @@ -2,7 +2,7 @@ "$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { - "topLevelManagementGroupPrefix": { + "topLevelManagementGroupPrefix": { "type": "string", "maxLength": 10, "defaultValue": "eslz", @@ -24,6 +24,13 @@ "metadata": { "description": "Management group scope for AVNM." } + }, + "connectivitySubscriptionId": { + "type": "string", + "defaultValue": "", + "metadata": { + "description": "Subscription ID for the connectivity subscription." + } } }, "variables": { @@ -57,6 +64,9 @@ }, "managementGroupScope": { "value": "[parameters('managementGroupScope')]" + }, + "connectivitySubscriptionId": { + "value": "[parameters('connectivitySubscriptionId')]" } }, "template": { @@ -82,7 +92,7 @@ ], "networkManagerScopes": { "subscriptions": [ - + "[format('/subscriptions/{0}', parameters('connectivitySubscriptionId'))]" ], "managementGroups": [ "[parameters('managementGroupScope')]"