Skip to content

Commit 32a1b31

Browse files
authored
Merge pull request #105692 from givaldolins/givaldolins-patch-1
Updating on the troubleshooting section
2 parents 4644528 + 89a75d6 commit 32a1b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/openshift/howto-service-principal-credential-rotation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ To check the expiration date of service principal credentials run the following:
8888
# Service principal expiry in ISO 8601 UTC format
8989
SP_ID=$(az aro show --name MyManagedCluster --resource-group MyResourceGroup \
9090
--query servicePrincipalProfile.clientId -o tsv)
91-
az ad app credential list --id $SP_ID --query "[].endDate" -o tsv
91+
az ad app credential list --id $SP_ID --query "[].endDateTime" -o tsv
9292
```
9393
If the service principal credentials are expired please update using one of the two credential rotation methods.
9494

0 commit comments

Comments
 (0)