Skip to content

Commit 04a8fb4

Browse files
authored
Merge pull request #103753 from jakaruna-MSFT/patch-66
(AzureCXP) MicrosoftDocs/azure-docs#47558
2 parents 9a497cd + 3a12c1f commit 04a8fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/aks/control-kubeconfig-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ AKS_CLUSTER=$(az aks show --resource-group myResourceGroup --name myAKSCluster -
6060
6161
# Get the account credentials for the logged in user
6262
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)
63+
ACCOUNT_ID=$(az ad user show --id $ACCOUNT_UPN --query objectId -o tsv)
6464
6565
# Assign the 'Cluster Admin' role to the user
6666
az role assignment create \

0 commit comments

Comments
 (0)