Skip to content

Commit d73db9f

Browse files
Update howto-autodetect-opc-ua-assets-use-akri.md
1 parent 15de1e8 commit d73db9f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

articles/iot-operations/discover-manage-assets/howto-autodetect-opc-ua-assets-use-akri.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,19 @@ In this article, you learn how to automatically discover and configure OPC UA as
4545
az iot ops rsync enable - n <my instance> -g <my resource group>
4646
```
4747

48-
If the signed-in CLI user doesn't have permission to look up the object ID of the K8 Bridge service principal, you can provide it explicitly using the `--k8-bridge-sp-oid` parameter:
48+
If the signed-in CLI user doesn't have permission to look up the object ID (OID) of the K8 Bridge service principal, you can provide it explicitly using the `--k8-bridge-sp-oid` parameter:
4949
5050
```bash
5151
az iot ops rsync enable --k8-bridge-sp-oid <k8 bridge service principal object ID>
5252
```
5353
54+
> [!NOTE]
55+
> You can manually look up the OID by a signed-in CLI principal that has MS Graph app read permissions. Run the following command to get the OID:
56+
>
57+
> ```bash
58+
> az ad sp list --display-name "K8 Bridge" --query "[0].appId" -o tsv
59+
> ```
60+
5461
---
5562
5663
## Deploy the preview connectors

0 commit comments

Comments
 (0)