Skip to content

Commit 632e81f

Browse files
authored
Fix issues found when setting up cluster connect with SP
1 parent 84372c9 commit 632e81f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/azure-arc/kubernetes/cluster-connect.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ A conceptual overview of this feature is available in [Cluster connect - Azure A
9999
- For an Azure AD application:
100100
101101
```azurecli
102-
AAD_ENTITY_OBJECT_ID=$(az ad sp show --id <id> --query objectId -o tsv)
102+
AAD_ENTITY_OBJECT_ID=$(az ad sp show --id <id> --query id -o tsv)
103103
```
104104
105105
1. Authorize the entity with appropriate permissions.
@@ -114,6 +114,7 @@ A conceptual overview of this feature is available in [Cluster connect - Azure A
114114
115115
```azurecli
116116
az role assignment create --role "Azure Arc Kubernetes Viewer" --assignee $AAD_ENTITY_OBJECT_ID --scope $ARM_ID_CLUSTER
117+
az role assignment create --role "Azure Arc Enabled Kubernetes Cluster User Role" --assignee $AAD_ENTITY_OBJECT_ID --scope $ARM_ID_CLUSTER
117118
```
118119
119120
### [Azure PowerShell](#tab/azure-powershell)

0 commit comments

Comments
 (0)