Forum Discussion
Ooster1
May 08, 2019Copper Contributor
PasswordLastChanged or PwdLastSet
I'm trying to get the fields PasswordLastChanged or PwdLastSet so i can notify my users when they have to change their password but i dont know how to get that fields
Arunava_Azure
Dec 28, 2021Copper Contributor
In Case of an Azure AD User, if you'd like to find the Last Password Change Date-Time stamp, you can use the below PS cmdlet:
$user=Get-MsolUser -UserPrincipalName Email address removed
$user.LastPasswordChangeTimestamp
$user=Get-MsolUser -UserPrincipalName Email address removed
$user.LastPasswordChangeTimestamp