Skip to content

Commit bd41dd9

Browse files
Deleting previous changes and editing troubleshoot
1 parent e7010f4 commit bd41dd9

File tree

5 files changed

+28
-34
lines changed

5 files changed

+28
-34
lines changed

articles/iot-operations/troubleshoot/includes/LinkedAuthorizationFailed-error-message.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

articles/iot-operations/troubleshoot/includes/MissingResourceVersionOnHost-error-message.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

articles/iot-operations/troubleshoot/includes/UnauthorizedNamespaceError-error-message.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

articles/iot-operations/troubleshoot/iot-operations-faq.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,6 @@ sections:
5151
- question: |
5252
Does Azure IoT Operations support Azure Private Link and private endpoints?
5353
answer: Azure IoT Operations currently does not support Azure Private Link and private endpoints.
54-
- question: |
55-
Why am I seeing the UnauthorizedNamespaceError error message?
56-
answer: |
57-
[!INCLUDE [UnauthorizedNamespaceError error](includes/UnauthorizedNamespaceError-error-message.md)]
58-
- question: |
59-
Why am I seeing the MissingResourceVersionOnHost error message?
60-
answer: |
61-
[!INCLUDE [MissingResourceVersionOnHost error](includes/MissingResourceVersionOnHost-error-message.md)]
62-
- question: |
63-
Why am I seeing the LinkedAuthorizationFailed error message?
64-
answer: |
65-
[!INCLUDE [LinkedAuthorizationFailed error](includes/LinkedAuthorizationFailed-error-message.md)]
6654
6755
additionalContent: |
6856
## Related content

articles/iot-operations/troubleshoot/troubleshoot.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Troubleshoot Azure IoT Operations
3-
description: Troubleshoot your Azure IoT Operations deployment
3+
description: Troubleshoot your Azure IoT Operations deployment and configuration
44
author: SoniaLopezBravo
55
ms.author: sonialopez
66
ms.topic: troubleshooting-general
77
ms.custom:
88
- ignite-2023
9-
ms.date: 11/01/2024
9+
ms.date: 03/07/2025
1010
---
1111

1212
# Troubleshoot Azure IoT Operations
@@ -23,6 +23,32 @@ For general deployment and configuration troubleshooting, you can use the Azure
2323

2424
- Use [az iot ops support create-bundle](/cli/azure/iot/ops/support#az-iot-ops-support-create-bundle) to collect logs and traces to help you diagnose problems. The *support create-bundle* command creates a standard support bundle zip archive you can review or provide to Microsoft Support.
2525

26+
### Troubleshoot UnauthorizedNamespaceError error message
27+
28+
```
29+
Message: Microsoft.ExtendedLocation resource provider does not have the required permissions to create a namespace on the cluster.
30+
```
31+
32+
This error is commonly caused by either not enabling the required azure-arc custom locations feature, or enabling the custom locations feature with an incorrect custom locations RP OID. To resolve, follow [this guidance](/azure-arc/kubernetes/custom-locations#enable-custom-locations-on-your-cluster) for enabling the custom locations feature with the correct OID.
33+
34+
### Troubleshoot MissingResourceVersionOnHost error message
35+
36+
```
37+
Message: The resource {resource Id} extended location {custom location resource Id} does not support the resource type {IoT Operations resource type} or api version {IoT Operations ARM API}. Please check with the owner of the extended location to ensure the host has the CRD {custom resource name} with group {api group name}.iotoperations.azure.com, plural {custom resource plural name}, and versions [{api group version}] installed.
38+
```
39+
40+
This error happens when the custom location resource associated with the deployment isn't properly configured with the API version(s) of resources attempting to be projected to the cluster. To resolve, delete any provisioned resources associated with prior deployment(s) including custom locations. You can use `az iot ops delete` or alternative mechanism. Due to a potential caching issue, waiting a few minutes after deletion before re-deploying AIO or choosing a custom location name via `az iot ops create --custom-location` is recommended.
41+
42+
### Troubleshoot LinkedAuthorizationFailed error message
43+
44+
```
45+
Message: The client {principal Id} with object id {principal object Id} has permission to perform action Microsoft.ExtendedLocation/customLocations/resourceSyncRules/write on scope {resource sync resource Id}; however, it does not have permission to perform action(s) Microsoft.Authorization/roleAssignments/write on the linked scope(s) {resource sync resource group} (respectively) or the linked scope(s) are invalid.
46+
```
47+
48+
Deployment of resource sync rules require the logged-in principal to have the `Microsoft.Authorization/roleAssignments/write` permission against the resource group that resources are being deployed to. This is a necessary security constraint as edge to cloud resource hydration will create new resources in the target resource group.
49+
50+
To resolve, either elevate principal permissions, or don't deploy resource sync rules. Current AIO CLI has an opt-in mechanism to deploy resource sync rules via `--enable-rsync`. Simply omit this flag. Legacy AIO CLIs had an opt-out mechanism via `--disable-rsync-rules`.
51+
2652
## Secret management
2753

2854
If you see the following error message related to secret management, you need to update your Azure Key Vault contents:

0 commit comments

Comments
 (0)