Since each domain (a tenant can have multiple domains) can have a different password policy, getting Office 365 users’ password expiry date is tricky. Note : Since Get- AzureADUser doesn’t support last Password change attribute, we need to use Get-MsolUser cmdlet to get Azure AD users’ last password set date.īut, getting a password expiry date is a bit difficult. Get-MsolUser -All | select DisplayName, LastPasswordChangeTimeStamp | Export-CSV LastPasswordChangeDate.