jamesiarmes / php-ews

PHP Exchange Web Services
http://jamesarmes.com/php-ews/
MIT License
566 stars 304 forks source link

internal server error with setImpersonation #617

Open bilal-app4legal opened 1 year ago

bilal-app4legal commented 1 year ago

Version (e.g. 1.0, dev-master): PHP version: Microsoft Exchange version: 2016

Description of problem: i am using Exchange Impersonation to login, and use

$client->setImpersonation($email);

but when creating any request after login i get:

An internal server error occurred. The operation failed.

note: i just stop setImpersonation and use the basic login by using email/password directly it is working normally.