Skip to content

Commit c093ef0

Browse files
Merge pull request #227407 from CocoWang-wql/patch-30
Update managed-aad.md
2 parents d7b4efa + 7b75a86 commit c093ef0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/aks/managed-aad.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ Operation failed with status: 'Bad Request'. Details: Getting static credential
221221

222222
### Disable local accounts on an existing cluster
223223

224-
To disable local accounts on an existing AKS cluster, use the [`az aks update`][az-aks-update] command with the `disable-local-accounts` parameter.
224+
To disable local accounts on an existing Azure AD integration enabled AKS cluster, use the [`az aks update`][az-aks-update] command with the `disable-local-accounts` parameter.
225225

226226
```azurecli-interactive
227-
az aks update -g <resource-group> -n <cluster-name> --enable-aad --aad-admin-group-object-ids <aad-group-id> --disable-local-accounts
227+
az aks update -g <resource-group> -n <cluster-name> --disable-local-accounts
228228
```
229229

230230
In the output, confirm local accounts have been disabled by checking the field `properties.disableLocalAccounts` is set to `true`.
@@ -247,10 +247,10 @@ Operation failed with status: 'Bad Request'. Details: Getting static credential
247247

248248
### Re-enable local accounts on an existing cluster
249249

250-
AKS supports enabling a disabled local account on an existing cluster with the `enable-local` parameter.
250+
AKS supports enabling a disabled local account on an existing cluster with the `enable-local-accounts` parameter.
251251

252252
```azurecli-interactive
253-
az aks update -g <resource-group> -n <cluster-name> --enable-aad --aad-admin-group-object-ids <aad-group-id> --enable-local
253+
az aks update -g <resource-group> -n <cluster-name> --enable-local-accounts
254254
```
255255

256256
In the output, confirm local accounts have been re-enabled by checking the field `properties.disableLocalAccounts` is set to `false`.

0 commit comments

Comments
 (0)