Hello,
I use EWS API 2.0 and try call GetPasswordExpirationDate from ExchangeService.
I have some emailaddresses in the Office 365 (http://login.microsoftonline.com)
Code C#:
ExchangeService exchangeService = new ExchangeService(ExchangeVersion.Exchange2013)
{
Credentials = new WebCredentials(emailAddress, password)
};
exchangeService.Url = new Uri(serverUrl);
DateTime? date = exchangeService.GetPasswordExpirationDate(emailAddress);
For all Email Addresses this method returns 12/31/9999 11:59 PM its incorrect, expired password becomes a month and every month i change a password.
What could the issue be here?
Thanks, Paul