These are chat archives for OfficeDev/ews-java-api
A java client library to access Exchange web services. The API works against Office 365 Exchange Online as well as on premises Exchange.
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!