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
Copy file name to clipboardExpand all lines: articles/virtual-network-manager/common-issues.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,32 @@
1
1
---
2
-
title: 'Common issues seen with Azure Virtual Network Manager (Preview)'
2
+
title: 'Common issues seen with Azure Virtual Network Manager'
3
3
description: Learn about common issues seen when using Azure Virtual Network Manager.
4
4
author: mbender-ms
5
5
ms.author: mbender
6
6
ms.service: virtual-network-manager
7
7
ms.topic: how-to
8
-
ms.date: 11/02/2021
8
+
ms.date: 3/22/2023
9
9
ms.custom: template-concept, ignite-fall-2021
10
10
---
11
11
12
-
# Common issues seen with Azure Virtual Network Manager (Preview)
12
+
# Common issues seen with Azure Virtual Network Manager
13
13
14
-
In this article, we'll cover common issues you may face when using Azure Virtual Network Manager and provide some possible solutions.
14
+
In this article, we cover common issues you may face when using Azure Virtual Network Manager and provide some possible solutions.
15
+
16
+
> [!IMPORTANT]
17
+
> Azure Virtual Network Manager is generally available for Virtual Network Manager and hub and spoke connectivity configurations.
18
+
>
19
+
> Mesh connectivity configurations and security admin rules remain in public preview.
20
+
> This preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
21
+
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
15
22
16
23
## Why isn't my configuration getting applied?
17
24
18
25
**Common reasons for configurations not being applied:**
19
26
20
27
* The configuration isn't deployed to the regions where virtual networks are located.
21
28
22
-
* You haven't deployed the configuration yet. You'll need to deploy the configuration to have it take effect.
29
+
* You haven't deployed the configuration yet. You need to deploy the configuration to have it take effect.
23
30
24
31
* The configuration didn't have enough time to effect. The time it takes for the configuration to apply after you commit the configuration is around 15-20 minutes. When there's an update to your network group membership, it would take about 10 minutes for the changes to reflect.
25
32
@@ -31,7 +38,7 @@ You need to deploy the new configuration after the configuration is modified.
31
38
32
39
**You'll need to consider the following items:**
33
40
34
-
* In a hub-and-spoke topology, if you enable the option to *use the hub as a gateway*, you'll need to have a gateway in the hub virtual network. Otherwise, the creation of the virtual network peering between the hub and the spoke virtual networks will fail.
41
+
* In a hub-and-spoke topology, if you enable the option to *use the hub as a gateway*, you need to have a gateway in the hub virtual network. Otherwise, the creation of the virtual network peering between the hub and the spoke virtual networks fails.
35
42
36
43
* If you want to have members in the network group to communicate with each other across regions in a hub and spoke topology configuration, you need to enable the global mesh option.
Copy file name to clipboardExpand all lines: articles/virtual-network-manager/concept-azure-policy-integration.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,22 @@
1
1
---
2
-
title: "Configuring Azure Policy with network groups in Azure Virtual Network Manager (Preview)"
2
+
title: "Configuring Azure Policy with network groups in Azure Virtual Network Manager"
3
3
description: Learn about how to utilize Azure Policy to configure a high scale and dynamic network group used with Azure Virtual Network Manager.
4
4
author: mbender-ms
5
5
ms.author: mbender
6
6
ms.service: virtual-network-manager
7
7
ms.topic: conceptual
8
-
ms.date: 08/22/2022
8
+
ms.date: 3/22/2023
9
9
ms.custom: template-concept
10
10
---
11
11
12
-
# Configuring Azure Policy with network groups in Azure Virtual Network Manager (Preview)
12
+
# Configuring Azure Policy with network groups in Azure Virtual Network Manager
13
13
14
-
In this article, you'll learn how [Azure Policy](../governance/policy/overview.md) is used in Azure Virtual Network Manager to define dynamic network group membership. Dynamic network groups allow you to create scalable and dynamically adapting virtual network environments in your organization.
14
+
In this article, you learn how [Azure Policy](../governance/policy/overview.md) is used in Azure Virtual Network Manager to define dynamic network group membership. Dynamic network groups allow you to create scalable and dynamically adapting virtual network environments in your organization.
15
15
16
16
> [!IMPORTANT]
17
-
> Azure Virtual Network Manager is currently in public preview.
17
+
> Azure Virtual Network Manager is generally available for Virtual Network Manager and hub and spoke connectivity configurations.
18
+
>
19
+
> Mesh connectivity configurations and security admin rules remain in public preview.
18
20
> This preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
19
21
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
20
22
@@ -30,7 +32,7 @@ Azure Policy evaluates resources in Azure by comparing the properties of those r
30
32
31
33
Creating and implementing a policy in Azure Policy begins with creating a policy definition resource. Every policy definition has conditions under which it's enforced, and a defined effect that takes place if the conditions are met.
32
34
33
-
With network groups, your policy definition includes your conditional expression for matching virtual networks meeting your criteria, and specifies the destination network group where any matching resources are placed. The `addToNetworkGroup` effect is used to accomplish this. The following is a sample of a policy rule definition with the `addToNetworkGroup` effect.
35
+
With network groups, your policy definition includes your conditional expression for matching virtual networks meeting your criteria, and specifies the destination network group where any matching resources are placed. The `addToNetworkGroup` effect is used to accomplish this. Here's a sample of a policy rule definition with the `addToNetworkGroup` effect.
34
36
35
37
```json
36
38
@@ -56,7 +58,7 @@ Learn more about [policy definition structure](../governance/policy/concepts/def
56
58
57
59
## Policy assignments
58
60
59
-
Similar to Virtual Network Manager configurations, policy definitions don't immediately take effect when you create them. To begin applying, you must create a Policy Assignment, which assigns a definition to evaluate at a given scope. Currently, all resource within the scope will be evaluated against the definition. This allows you to have a single reusable definition that you can assign at multiple places for more granular group membership control. Learn more information on the [Assignment Structure](../governance/policy/concepts/assignment-structure.md) for Azure Policy.
61
+
Similar to Virtual Network Manager configurations, policy definitions don't immediately take effect when you create them. To begin applying, you must create a Policy Assignment, which assigns a definition to evaluate at a given scope. Currently, all resources within the scope are evaluated against the definition. This allows you to have a single reusable definition that you can assign at multiple places for more granular group membership control. Learn more information on the [Assignment Structure](../governance/policy/concepts/assignment-structure.md) for Azure Policy.
60
62
61
63
Policy definitions and assignment can be created through with API/PS/CLI or [Azure Policy Portal]().
62
64
@@ -72,22 +74,29 @@ To set the needed permissions, users can be assigned built-in roles with [role-b
72
74
-**Resource Policy Contributor** role at the target scope level.
73
75
74
76
For more granular role assignment, you can create [custom roles](../role-based-access-control/custom-roles-portal.md) using the `networkGroups/join/action` permission and `policy/write` permission.
77
+
78
+
Along with the required permissions, your subscriptions and management groups must be registered with the following resource providers:
79
+
-`Microsoft.Network` is required to create virtual networks.
80
+
-`Microsoft.PolicyInsights` is required to use Azure Policy.
81
+
82
+
To set register the needed providers, use [Register-AzResourceProvider](/powershell/module/az.resources/register-azresourceprovider) in Azure PowerShell or [az provider register](/cli/azure/provider) in Azure CLI.
83
+
75
84
## Helpful tips
76
85
77
86
### Type filtering
78
87
79
-
When configuring your policy definitions, it's recommended to always include a **type** condition to scope it to virtual networks. This will allow Policy to filter out non virtual network operations and improve the efficiency of your policy resources.
88
+
When configuring your policy definitions, it's recommended to always include a **type** condition to scope it to virtual networks. This allows Policy to filter out non virtual network operations and improve the efficiency of your policy resources.
80
89
81
90
### Regional slicing
82
91
83
-
Policy resources are global, which means that any change will take effect on all resources under the assignment scope, regardless of region. If regional slicing and gradual rollout is a concern for you, it's recommended to also include a `where location in []` condition. Then, you can incrementally expand the locations list to gradually roll out the effect.
92
+
Policy resources are global, which means that any change takes effect on all resources under the assignment scope, regardless of region. If regional slicing and gradual rollout is a concern for you, it's recommended to also include a `where location in []` condition. Then, you can incrementally expand the locations list to gradually roll out the effect.
84
93
85
94
### Assignment scoping
86
95
If you're following management group best practices using [Azure management groups](../governance/management-groups/overview.md), it's likely you already have your resources organized in a hierarchy structure. Using assignments, you can assign the same definition to multiple distinct scopes within your hierarchy, allowing you to have higher granularity control of which resources are eligible for your network group
87
96
88
97
### Deleting an Azure Policy definition associated with a network group
89
98
90
-
You may come across instances where you no longer need an Azure Policy definition. This could be when a network group associated with a Policy is deleted, or you have a unused Policy no longer need. To delete the Policy, you need to delete the Policy association object and then delete the policy definition in [Azure Policy](../governance/policy/tutorials/create-custom-policy-definition.md#clean-up-resources). Once this has been completed, the definition cannot be reused or re-referenced by name when associating a new definition to a network group.
99
+
You may come across instances where you no longer need an Azure Policy definition. This could be when a network group associated with a Policy is deleted, or you have an unused Policy that you no longer need. To delete the Policy, you need to delete the Policy association object, and then delete the policy definition in [Azure Policy](../governance/policy/tutorials/create-custom-policy-definition.md#clean-up-resources). Once this has been completed, the definition can't be reused or re-referenced by name when associating a new definition to a network group.
0 commit comments