Evolution Mail client
The Evolution Mail client supports Microsoft 365 through the evolution-ews plugin, starting in evolution-ews v3.27.91 and above. The plugin provides Exchange Web Services and modern authentication support, required to access Microsoft 365 mail with PingID Multi-factor Authentication. Ubuntu 18.04 and Fedora 28 have been tested, although any Linux distribution with evolution-ews v3.27.91 or above in it's package repository should theoretically work.
As of October 2018, Ubuntu 18.04 has a compatible evolution-ews package in it's repository, while Ubuntu 16.04 and earlier do not have supported versions available. You may need to upgrade your Ubuntu distribution to 18.04 to use Evolution.
To install and configure Evolution on Ubuntu 18.04, follow these steps:
Step 1: Install the Evolution packages if not already installed. Open a terminal and execute the following commands as the root user:
apt-get update
apt-get install evolution evolution-ews
Step 2: Launch Evolution. If this is the first run you will be presented with the add account wizard. If Evolution was already configured, go to File -> New -> Email Account to open the wizard.
Step 3: Click Next on the initial Welcome screen. When prompted to restore from backup, ensure "Restore from a backup..." is unchecked and click Next.
Step 4: Enter your name and email address in the Required Information fields, uncheck "Look up mail server details based on the entered email address", and click Next.
Step 5: In the Receiving Email step, set the Server Type drop down menu to "Exchange Web Services", set the Username field to your email address, and change the Host URL field to "https://outlook.office365.com/EWS/Exchange.asmx". On the Authentication drop down menu select "OAuth2 (Office365)". If "OAuth2 (Office365)" is not listed as an option, click "Check for Supported Types" first. Check the box "Override Office365 OAuth2 settings" and enter the following values for Tenant and Application ID:
Tenant - 9c7de09d-9034-44c1-b462-c464fece204a
Application ID - 6d545a19-62cc-49ed-a4bd-cd8e95b43e90
Your screen should resemble the following:
Click Finish to proceed.
Step 6: Click Apply to add the account to Evolution.
Step 7: If you do not receive a pop-up window with the OU logo and a login prompt, the Evolution process might be frozen. Open a terminal and enter the following command:
sudo pkill evolution
Then relaunch Evolution. If you receive an error stating another Evolution process is already running, reboot your computer and re-open Evolution when complete.
Step 8:You should receive a popup window with the OU logo and a login prompt. Enter your credentials and complete PingID Mutli-factor Authentication to finish setting up the account.
Note: Evolution will remember your login and you will not be prompted to re-authenticate until the Oauth token expires, about 30 days. If you change your password at any time you will be required to reauthenticate.
Step 9: Your account has been successfully added to Evolution mail.