locked
EWS: How can I retrieve password expiration date? RRS feed

All replies

  • Hi Prashant,

    Have you taken a look at this documentation: https://msdn.microsoft.com/en-us/library/office/hh505731%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396?  Also, can you please provide a copy of the request and response where you get an error, including the headers?

    Thanks,
    Venkat

    Sunday, March 22, 2015 3:33 PM
  • Yes! I tried this one. I am getting the password expiration date, but it is the MAX date i.e. I am getting 31st Dec 9999. Please help!

    Thanks,

    Prashant Mahajan

    Monday, March 23, 2015 5:04 AM
  • Hello Prashant,

    Good Day..

    Request you to please try the below command.

    Get-ADUser -identity username -properties *

    For More Info:

    http://oxfordsbsguy.com/2013/11/25/powershell-get-aduser-to-retrieve-password-last-set-and-expiry-information/

    Regards,

    Praveen

    ----------------------------------------------------------------------

    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts @ Techrid.com

    • Proposed as answer by Praveen Eppili Tuesday, November 3, 2015 8:45 PM
    Monday, March 23, 2015 6:17 AM