File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
articles/azure-arc/kubernetes Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ A conceptual overview of this feature is available in [Cluster connect - Azure A
99
99
- For an Azure AD application:
100
100
101
101
```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)
103
103
```
104
104
105
105
1. Authorize the entity with appropriate permissions.
@@ -114,6 +114,7 @@ A conceptual overview of this feature is available in [Cluster connect - Azure A
114
114
115
115
```azurecli
116
116
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
117
118
```
118
119
119
120
### [Azure PowerShell](#tab/azure-powershell)
You can’t perform that action at this time.
0 commit comments