August 7th, 2019

PowerTip: Identify the last time Users changed passwords in AzureAD

Doctor Scripto
Scripter

Summary: Using PowerShell to report on Users and the last time Passwords were changed

A picture containing scissors

Description automatically generated

Hey, Doctor Scripto! I need to report on users and when they updated their passwords In AzureAD. Could you show me how ?

Most certainly, I love to provide a helping hand however I can. Using the Get-Msoluser Cmdlet just target the LastPasswordChangeTimeStamp Attribute. Here’s an example of it in use.

Get-MsolUser | Select-Object DisplayName, UserPrincipalName, LastPasswordChangeTimeStamp

PowerShell, Doctor Scripto, PowerTip, AzureAD

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.