Skip to content

Commit 46b70da

Browse files
committed
Address feedback
1 parent 8ca62e5 commit 46b70da

File tree

3 files changed

+57
-20
lines changed

3 files changed

+57
-20
lines changed

articles/iot-operations/discover-manage-assets/howto-autodetect-opcua-assets-using-akri.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,38 @@ In this article, you learn how to automatically discover and configure OPC UA as
1616

1717
## Prerequisites
1818

19-
- A deployed instance of Azure IoT Operations with resource sync rules enabled. You can only enable resource sync rules when you create your Azure IoT Operations instance. To learn more, see [Deploy Azure IoT Operations](../deploy-iot-ops/overview-deploy.md).
19+
A deployed instance of Azure IoT Operations with resource sync rules enabled. To learn more, see [Deploy Azure IoT Operations](../deploy-iot-ops/overview-deploy.md).
2020

21-
> [!NOTE]
22-
> By default, the [deployment quickstart](../get-started-end-to-end-sample/quickstart-deploy.md) instructions do not enable resource sync rules.
21+
> [!TIP]
22+
> By default, the [deployment quickstart](../get-started-end-to-end-sample/quickstart-deploy.md) instructions do not enable resource sync rules. If resource sync rules aren't enabled on your instance, see [Enable resource sync rules on an existing instance](../troubleshoot/troubleshoot.md#you-want-to-enable-resource-sync-rules-on-an-existing-instance).
23+
24+
The custom location in the resource group where you deployed Azure IoT Operations must have the **Azure Kubernetes Service Arc Contributor Role** role enabled with **K8 Bridge** as a member: For example:
25+
26+
# [Azure portal](#tab/portal)
27+
28+
1. Go to the custom location for your Azure IoT Operations instance in the Azure portal.
29+
30+
1. Select **Access control (IAM)**.
31+
32+
1. Select **Add > Add role assignment**.
33+
34+
1. Search for and select the **Azure Kubernetes Service Arc Contributor Role** role. Then click **Next**.
2335

24-
- The custom location in the resource group where you deployed Azure IoT Operations must have the **Azure Kubernetes Service Arc Contributor Role** role enabled with **K8 Bridge** as a member. For example:
36+
1. Select **Select members**. Search for and select **K8 Bridge**. Then click **Review + Assign**.
2537

26-
```bash
27-
CUSTOM_LOCATION_NAME=$(az iot ops list -g <YOUR RESOURCE GROUP> --query "[0].extendedLocation.name" -o tsv)
28-
29-
ASSIGNEE=$(az ad sp list --display-name "K8 Bridge" --query "[0].appId" -o tsv)
30-
31-
az role assignment create --role "Azure Kubernetes Service Arc Contributor Role" --assignee $ASSIGNEE --scope $CUSTOM_LOCATION_NAME
32-
```
38+
1. To finish adding the role assignment, select **Review + assign** again.
39+
40+
# [Azure CLI](#tab/cli)
41+
42+
```bash
43+
CUSTOM_LOCATION_NAME=$(az iot ops list -g <YOUR RESOURCE GROUP> --query "[0].extendedLocation.name" -o tsv)
44+
45+
ASSIGNEE=$(az ad sp list --display-name "K8 Bridge" --query "[0].appId" -o tsv)
46+
47+
az role assignment create --role "Azure Kubernetes Service Arc Contributor Role" --assignee $ASSIGNEE --scope $CUSTOM_LOCATION_NAME
48+
```
49+
50+
---
3351

3452
## Deploy the preview connectors
3553

articles/iot-operations/includes/deploy-preview-media-connectors.md

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,38 @@ ms.date: 04/03/2025
77
ms.author: dobett
88
---
99

10-
To deploy the preview version of the connectors, you can either enable them when you deploy your Azure IoT Operations instance or enable them after you deploy your instance:
10+
To deploy the preview version of the connectors, you can either enable them when you deploy your Azure IoT Operations instance or enable them after you deploy your instance.
1111

12-
- To enable the preview connectors when you deploy your Azure IoT Operations instance include the `--feature connectors.settings.preview=Enabled` parameter when you run `az iot ops create`.
12+
To enable the preview connectors when you deploy your Azure IoT Operations instance:
1313

14-
- To enable the preview connectors after you deploy your Azure IoT Operations instance by using the Azure portal:
14+
# [Azure portal](#tab/portal)
15+
16+
Select **ONVIF Connector and Media Connector (Preview)** in the **Connectors** section of the **Install Azure IoT Operations > Basics** page:
17+
18+
:::image type="content" source="media/deploy-preview-media-connectors/portal-deploy-preview-connectors.png" alt-text="Screenshot of Azure portal that shows how to select the preview connectors.":::
19+
20+
# [Azure CLI](#tab/cli)
21+
22+
Include the `--feature connectors.settings.preview=Enabled` parameter when you run the `az iot ops create` command.
23+
24+
---
25+
26+
To enable the preview connectors after you deploy your Azure IoT Operations instance:
27+
28+
# [Azure portal](#tab/portal)
29+
30+
1. Go to your Azure IoT Operations instance in the Azure portal.
31+
32+
1. Enable the preview connectors:
1533

1634
:::image type="content" source="media/deploy-preview-media-connectors/portal-enable-preview-connectors.png" alt-text="Screenshot of Azure portal that shows how to enable the preview connectors.":::
1735

18-
- To enable the preview connectors after you deploy your Azure IoT Operations instance by using the Azure CLI:
36+
# [Azure CLI](#tab/cli)
37+
38+
Run the following command to enable the preview connectors:
1939

20-
```console
21-
az iot ops update -n <your-instance> -g <your-resource-group> --feature connectors.settings.preview=Enabled
22-
```
40+
```azcli
41+
az iot ops update -n <your-instance> -g <your-resource-group> --feature connectors.settings.preview=Enabled
42+
```
2343

24-
> [!IMPORTANT]
25-
> If you don't enable preview features, you see the following error message in the `aio-supervisor-...` pod logs when you try to use the media or ONVIF connectors: `No connector configuration present for AssetEndpointProfile: <AssetEndpointProfileName>`.
44+
---
47.5 KB
Loading

0 commit comments

Comments
 (0)