|
| 1 | +--- |
| 2 | +title: "Azure Operator Nexus: Can't create Neighbor Groups" |
| 3 | +description: Learn how to troubleshoot Neighbor Group creation issues. |
| 4 | +author: benhurj |
| 5 | +ms.author: bejohnson |
| 6 | +ms.service: azure-operator-nexus |
| 7 | +ms.custom: azure-operator-nexus |
| 8 | +ms.topic: troubleshooting |
| 9 | +ms.date: 11/12/2024 |
| 10 | +# ms.custom: template-include |
| 11 | +--- |
| 12 | + |
| 13 | +# Overview |
| 14 | + |
| 15 | +During the creation of 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. |
| 16 | + |
| 17 | +## Diagnosis |
| 18 | + |
| 19 | +### Immediate Symptoms |
| 20 | +* An attempt is made to create Neighbor Group resources for Network Packet Broker (NPB) using the portal. The creation of Neighbor Groups is successful when using the az CLI. |
| 21 | +* An authorization error is received: The user doesn't 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 permission isn't valid 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. |
| 27 | + |
| 28 | +## Mitigation steps |
| 29 | + |
| 30 | +Follow these steps for mitigation. |
| 31 | + |
| 32 | +### Use Az CLI to deploy the resource |
| 33 | +* Inspect the existing deployment and locate the template used |
| 34 | +* Copy it into an ARM template file |
| 35 | +* Remove empty IPv6 address array from it |
| 36 | +* Leave parameters as they are before |
| 37 | + |
| 38 | + ```bash |
| 39 | + az deployment group create \ |
| 40 | + --resource-group <resource-group-name> \ |
| 41 | + --template-file <template-file> \ |
| 42 | + --parameters <parameters-file> |
| 43 | + ``` |
| 44 | + |
| 45 | +## Verification |
| 46 | + |
| 47 | +Check the portal to see whether the resource was created as expected. |
| 48 | + |
| 49 | +## Related content |
| 50 | + |
| 51 | +- If you still have questions, contact [Azure support](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade). |
| 52 | +- For more information about support plans, see [Azure support plans](https://azure.microsoft.com/support/plans/response/). |
0 commit comments