ManagedIdentityCredential cannot parse expires_on from App Service for Windows #9393
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
Managed Identity
In https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/azure-identity/azure/identity/_authn_client.py#L138
The format to parse the expires_on field is
m/%d/%Y %H:%M:%S
, however, 2017-09-01 version of managed identity service on App Services for Windows returns a payload with date times formatted as"expires_on":"1/10/2020 8:01:28 AM +00:00"
, which results in error:The text was updated successfully, but these errors were encountered: