Open bmkaiser opened 2 years ago
The confirmation for activated roles displays the StartDateTime and EndDateTime properties as UTC instead of local time. This makes it unclear what the actual start/end time is.
StartDateTime
EndDateTime
PS > Get-Date; Get-Date -AsUTC Wednesday, July 27, 2022 1:23:00 PM Wednesday, July 27, 2022 5:23:00 PM PS > Enable-ADRole 'Global Reader (LJnv8vs6uUa3z6Em7nTEUZY-Uygeo0pJj_wBT3Lkhj8-1-e)' -Justification 'foo' -Hours 1 Action Status PrincipalDisplayName RoleName Scope StartDateTime EndDateTime ------ ------ -------------------- -------- ----- ------------- ----------- selfActivate Provisioned bmkaiser Global Reader Directory 7/27/2022 5:23:30 PM 7/27/2022 6:23:00 PM
@bmkaiser most things in Azure are done as UTC but I can look into localizing it, thanks for the submission!
The confirmation for activated roles displays the
StartDateTime
andEndDateTime
properties as UTC instead of local time. This makes it unclear what the actual start/end time is.