Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getLegacyFreeBusyStatus() does not return WorkingElsewhere #260

Open
feldmarv opened this issue Jan 18, 2024 · 1 comment
Open

getLegacyFreeBusyStatus() does not return WorkingElsewhere #260

feldmarv opened this issue Jan 18, 2024 · 1 comment

Comments

@feldmarv
Copy link

Hey there

We currently face the issue that our Exchange EWS API that is connected via PHP does not return the event status WorkingElsewhere.

Referring to the documentation of Microsoft about LegacyFreeBusyStatus. The following status should be supported: Busy, Free, NoData, OOF, Tentative, WorkingElsewhere (https://learn.microsoft.com/en-us/dotnet/api/microsoft.exchange.webservices.data.legacyfreebusystatus?view=exchange-ews-api&viewFallbackFrom=exchange-ews-api%5D%3B)

Now it looks like there is only the data Free, Tentative, Busy, OOF, no data is coming form the URL which would refer to this documentation: https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/mergedfreebusy.

Is there some misconfiguration on the Exchange EWS server or is this a limitation of the plugin?

thanks in advance and best regards
Marvin

@feldmarv
Copy link
Author

We have been able to fix this issue by setting the correct $options Parameter. Per default we have been setting the Parameter to Exchange2010, that meant the Exchange Server does answer in Exchange2010 format, even though its is running on Exchange Version 2016 CU23.

When we are setting the correct $options['version'] = Exchange2016 in our request then response is correct with the latest status feature.

  self::$api = API::withUsernameAndPassword($server, $username, $password, [
                            'version' => $version,
                            'impersonation' => $options['impersonation'],
                            'httpPlayback' => $httpPlaybackOptions
                        ]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant