Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

EWS Managed API GetUserAvailability method is returning wrong suggestions

$
0
0

Hi there,

I am using EWS Managed API for retrieving suggestions for arranging meetings. In fact, I'm using the GetUserAvailability function but I'm having some problems with the time zones.

If I set my working calendar from 8am to 5pm and my time zone in GMT+1 (Paris), I get all the suggestions for a given day from 8am to 5pm. Everything is working fine.

But if I change my time zone to GMT-6 (Houston), then I'm getting the suggestions from 1am to 10am. It seems that the server is taking my old time zone (which is also its time zone), and subtracting the 7 hours of difference between the two time zones.

Does it mean that the Exchange server is calculating properly the suggestions but before retrieving them to me it applies a subtract for matching my time zone?

What if I trying to get suggestions for two people with different time zones (Houston and New York, for instance)?

I have read this interesting article, but it only gives solution for EWS, not for EWS Managed API. Is there any way to solve this problem with EWS Managed API?

I have also tried to update the EWS DLL from version 1.1 to 2.0, but it works in the same wrong way than the previous one.

Any brilliant mind who can help to solve this annoying problem?

Thanks in advance.

Regards.


Viewing all articles
Browse latest Browse all 7132

Trending Articles