These are chat archives for OfficeDev/ews-java-api

8th
Oct 2015
Jose Carlos
@josecyn
Oct 08 2015 12:50

Does anyone ever had problems trying to get the user's availability using impersonation? In my case, impersonation is not working at all with the 'GetUserAvailability' Operation.
I'm working with Exchange 2007 SP1, setting the impersonation like follows:

service.setImpersonatedUserId(new ImpersonatedUserId(ConnectingIdType.PrincipalName, "Ursula@litwareinc.com"));

The SOAP request includes the impersonation in the header and the execution is successful, but the results are not correct. I don't get full details on the impersonated user's appointments (Ursula). Other operations are working fine.

Any idea? Thanks in advance!