[Identity] MSI doesn't work with Function Apps, expires on date format is incorrect. #4965
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
Managed Identity
Describe the bug
DefaultAzureCredential and ManagedIdentityCredential do not handle the expires on date format provided by MSI on Azure Function Apps (and possibly Azure App Service as well). It sends a date format like
MM/DD/YYYY H:MM:SS AM/PM +MM:SS
but expects a date format matching the regexp/(\d\d)\/(\d\d)\/(\d\d\d\d) (\d\d):(\d\d):(\d\d) (\+|-)(\d\d):(\d\d)/
Two possible fixes:
The text was updated successfully, but these errors were encountered: