Skip to content

Commit d92b2d8

Browse files
committed
markups
1 parent 76f99e6 commit d92b2d8

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

articles/operator-nexus/troubleshoot-neighbor-group-creation-error.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,34 @@ ms.date: 11/12/2024
1212

1313
# Overview
1414

15-
The user faces issues creating Neighbor Group resources in the Azure portal due to an AuthorizationFailed error for the Microsoft.Resources/deployments/action permission, which appears invalid. Additionally, the portal adds an empty ipv6Addresses array by default, causing further errors.
15+
While creating Neighbor Group resources in the Azure portal, an AuthorizationFailed error for the Microsoft.Resources/deployments/action permission might occur. The portal adds an empty ipv6 addresses array by default in some circumstances.
1616

1717
## Diagnosis
1818

19-
* Customer tries to create Neighbor Group resources for NPB using the portal. Note that creation of Neighbor Groups is successful when using the az cli.
20-
* The following authorization error is receieved `The user does not have access for authorization to perform action 'Microsoft.Resources/deployments/action' over scope '/subscriptions/12768799-47d2-4435-aad8-c263bf62be01/providers/Microsoft.Resources/deployments/register' or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed) [ Error code: AuthorizationFailed ]'`
21-
* Customer tries to grant access to the action `Microsoft.Resources/deployments/action` however this is not a valid permission according to Azure
22-
* Customer is also failing to enable Network Tap Rule from the portal
23-
* Inspecting the Neighbor Group shows that certain fields are being set when not specified, for example the customer only specified ipv4 address, but the `ipv6Addresses` field is being set.
19+
### Immediate Symptoms
20+
* Neighbor Group resources for NPB are attempted to be created using the portal. Note that the creation of Neighbor Groups is successful when using the az CLI.
21+
* An authorization error is received: The user does not have access for authorization to perform action `'Microsoft.Resources/deployments/action' over scope '/subscriptions/********-****-****-****-************/providers/Microsoft.Resources/deployments/register' or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed) [ Error code: AuthorizationFailed ]'`.
22+
* An attempt is made to grant access to the action Microsoft.Resources/deployments/action, but this is not a valid permission in Azure.
23+
24+
### Troubleshooting
25+
* Enabling Network Tap Rule from the portal is also failing.
26+
* Upon inspection, the Neighbor Group shows that certain fields are being set when not specified. For example, only the IPv4 address was specified, but the `ipv6Addresses` field is also being set.
2427

2528
## Mitigation steps
2629

2730
Follow these steps for mitigation.
2831

2932
### Use Az CLI to deploy the resource
33+
* Inspect the existing deployment and locate the template used
34+
* Copy it into a ARM template file
35+
* Remove empty IPv6 address array from it
36+
* Leave parameters as they are before
3037

3138
```bash
3239
az deployment group create \
3340
--resource-group <resource-group-name> \
34-
--template-file <template-file.json or .bicep> \
35-
--parameters <parameters-file.json>
41+
--template-file <template-file> \
42+
--parameters <parameters-file>
3643
```
3744

3845
## Verification

0 commit comments

Comments
 (0)