List of user of Azure AD

Yoooooooooo 0 Reputation points

Hi everyone,

Please you help with this question, i need get a list of all users of Azure AD, where show last date change password due to password expiration, without command, i can get list of user with date of last change of password, but when i export this information dont show date of change password.

Additionally, i would like to know that profile type need for get this information.

Thanks very much

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,622 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 33,586 Reputation points


    You can use the following command with PowerShell:

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

    See MSOnline Module for more information:

    To connect to MSOnline, you will first need to run the command:


    If you need to export to CSV:

    Get-MsolUser -All | Select DisplayName,UserPrincipalName,LastPasswordChangeTimeStamp | Export-Csv -Path .\Path\filename.csv

    Learn more about Export-Csv

    If this is helpful please accept answer.

    No comments