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.
2 parents 9a497cd + 3a12c1f commit 04a8fb4Copy full SHA for 04a8fb4
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