As of Azure CLI v2.54.0, the az account get-access-token command returns a new expires_on field containing a POSIX timestamp. This behavior is a departure from previous versions, in which the local datetime was returned in an expiresOn field. Update AzureCliCredential to also consider the new expires_on field.
Related links:
As of Azure CLI v2.54.0, the
az account get-access-tokencommand returns a newexpires_onfield containing a POSIX timestamp. This behavior is a departure from previous versions, in which the local datetime was returned in anexpiresOnfield. UpdateAzureCliCredentialto also consider the newexpires_onfield.Related links:
az account get-access-token: Returnexpires_onas POSIX timestamp azure-cli#27476