We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03db22f commit 3a12c1fCopy full SHA for 3a12c1f
articles/aks/control-kubeconfig-access.md
@@ -60,7 +60,7 @@ AKS_CLUSTER=$(az aks show --resource-group myResourceGroup --name myAKSCluster -
60
61
# Get the account credentials for the logged in user
62
ACCOUNT_UPN=$(az account show --query user.name -o tsv)
63
-ACCOUNT_ID=$(az ad user show --upn-or-object-id $ACCOUNT_UPN --query objectId -o tsv)
+ACCOUNT_ID=$(az ad user show --id $ACCOUNT_UPN --query objectId -o tsv)
64
65
# Assign the 'Cluster Admin' role to the user
66
az role assignment create \
0 commit comments