Evolution EWS - Fails to Connect Intermittently
OS: Ubuntu 20.04
I have an Office 365 EWS account connected to Evolution and when it works, it works well. However, sometimes upon Evolution loading it just won't connect. I get the modern authentication dialog but when I enter my password it shows
Requesting access token, please wait... and hangs. I can exit the dialog - so the application remains responsive. The output of
journalctl -f doesn't seem to show any relevant error messages and the output of
EWS_DEBUG=2 evolution >& logfile shows nothing either.
What could be the reason that Evolution can't connect? I'm struggling to find any other issues. It seems really intermittent. Sometimes if I kill all Evolution background services like
evolution-addressbook-factory, etc then it works but that could be coincidence. Sometimes, no matter what I do, it won't connect and I have to revert to Thunderbird.
I do have another machine working with the same App Password and it's fine. That's on Ubuntu 18.04 though. Could that be a cause? Am I to issue a second App Password for this second machine using Evolution? Using App Passwords in the past I have created per app and they've been used on multiple devices.
EDIT: also even if EWS fails to connect why can't I view my cached emails? I can't get into the mailbox subfolders as it just says loading.