title: Get Azure Active Directory password expiry date in PowerShell
body: <p>I am working with Azure Active Directory and want to know when a user's password expires.</p>
  
  <p>Currently I use these PowerShell commands to connect to msol service successfully and get password expiry, but I'm not quite sure how to get password expiry date.</p>
  
  <p>I am using Azure Active Directory PowerShell module.</p>
  
  <pre><code>Connect-MsolService
      Get-MsolUser -UserPrincipalName 'Username' | Select PasswordNeverExpires
  </code></pre>