Skip to content

[BUG] Fix legacy powershell date formatting for AzurePowerShellCredential #20317

Closed

Description

Get-Host | Select-Object Version
Version
-------
5.1.19041.610
                                                                                                                                                                                               [11:20]
❯ Get-AzAccessToken -ResourceUrl 'https://management.azure.com' | Select-Object ExpiresOn | ConvertTo-Json
{
    "ExpiresOn":  "\/Date(1618255120000)\/"
}

This date formatting causes a parsing error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Azure.IdentityClientThis issue points to a problem in the data-plane of the library.blocking-releaseBlocks release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions