Skip to content

Commit e85b319

Browse files
Merge pull request #213005 from amjadaljunaidi/patch-6
Update update-credentials.md
2 parents 07f7b0e + 0bafd74 commit e85b319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/aks/update-credentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To check the expiration date of your service principal, use the [az ad sp creden
3737
```azurecli
3838
SP_ID=$(az aks show --resource-group myResourceGroup --name myAKSCluster \
3939
--query servicePrincipalProfile.clientId -o tsv)
40-
az ad sp credential list --id "$SP_ID" --query "[].endDate" -o tsv
40+
az ad sp credential list --id "$SP_ID" --query "[].endDateTime" -o tsv
4141
```
4242

4343
### Reset the existing service principal credential

0 commit comments

Comments
 (0)