We’re seeing and issue with Microsoft 365 email accounts with Microsoft Graph API
Initially, WHD was requesting EWS permissions instead of Graph API permissions. We found this was due to missing parameters in our configuration and corrected them by adding the following:
After this change, WHD started requesting Graph API permissions correctly.
Everything is working in terms of ticket creation, but we’ve noticed unusual behavior with how emails are handled after being processed:
With EWS permissions, processed emails are soft deleted (moved to the Deleted Items folder).
With Graph API permissions, processed emails are hard deleted (removed completely from the mailbox).
We’ve tested this across different WHD instances and tenants, and the behavior is consistent. Microsoft 365 retention policies are not a factor, since the same mailbox behaves differently depending on whether WHD is using EWS or Graph API.
Has anyone else experienced this issue? Does anyone know of a configuration tweak or fix that makes Graph behave like EWS (move to Deleted Items instead of permanently deleting)?
I am working with SW support as well. According to them, they have not heard of similar issue.