Skip to content

The access token expiry UTC time '6/29/2018 8:53:02 PM' is earlier than current UTC time '7/2/2018 9:46:18 PM'.Β #6585

@vladimir-shcherbakov

Description

@vladimir-shcherbakov

Description

After successful login AzureRm cmdlets throw the excetpion : " The access token expiry UTC time '6/29/2018 8:53:02 PM' is earlier than current UTC time '7/2/2018 9:46:18 PM'."

Script/Steps for Reproduction

PS C:\> Login-AzureRmAccount


Account          : <hidden>@microsoft.com
SubscriptionName : <hidden>
SubscriptionId   : <hidden>
TenantId         : 72f988bf-86f1-41af-91ab-2d7cd011db47
Environment      : AzureCloud

PS C:\> Get-AzureRmSubscription
WARNING: Unable to acquire token for tenant '72f988bf-86f1-41af-91ab-2d7cd011db47'
Get-AzureRmSubscription : The access token expiry UTC time '6/29/2018 8:53:02 PM' is earlier than current UTC time
'7/2/2018 9:46:18 PM'.
At line:1 char:1
+ Get-AzureRmSubscription
+ ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Get-AzureRmSubscription], CloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.GetAzureRMSubscriptionCommand

Module Version

PS C:\> Get-Module -Name AzureRM -ListAvailable


    Directory: C:\Program Files\WindowsPowerShell\Modules


ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     6.3.0      AzureRM

Environment Data

PS C:\> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17134.112
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.112
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Debug Output


Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions