You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
225
225
226
226
```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
228
228
```
229
229
230
230
In the output, confirm local accounts have been disabled by checking the field `properties.disableLocalAccounts` is set to `true`.
0 commit comments