UiBhelp's public knowledge cards

KI 0872 How to set up Exchange Online e-mail with Evolution for Linux

From a Linux PC, you can access your UiB email with the Outlook Web App or with the Evolution Mail client, see instructions below. (It is also possible to use Thunderbird, please see KI 1311 for instructions.)
Evolution Mail client supports Exchange Online through the evolution-ews plugin from evolution-ews v3.27.91 and higher. The plugin provides Exchange Web Services and support for modern (multi-factor) authentication.

Ubuntu 18.04 and Fedora 28 should work, but any Linux distribution with evolution-ews v3.27.91 or higher in the package should theoretically work.
Evolution setup:
Install the Evolution packages if you do not already have them installed.
Open a terminal window and execute the following commands as the root user:

   sudo apt-get update
   sudo apt-get install evolution evolution-ews

Start Evolution.

If this is the first time you are running the application you will get straight to an "add account" box.
If you have already used Evolution, you can go to FileNew > Mail Account to open account setup.



Then click Next on the welcome screen. If it asks if you want to restore from backup, simply skip by clicking Next.



Enter your name and e-mail address in the Required Information fields, uncheck Look up mail server details based on the entered e-mail address and then click Next.

Students: Log in with username@uib.no
Employees: Log in with your e-mail address, firstname.lastname@uib.no



Select Exchange Web Services on Server Type and enter the following Host URL:
https://outlook.office365.com/EWS/Exchange.asmx

Select OAuth2 (Office 365) under Authentication and then check Override Office 365 OAuth2 settings.

In the fields below, type:
  • Tenant: 648a24bc-a98d-4025-9c60-48c19a142069
  • Application ID: 6cf95e70-748b-468c-a9cb-df1ecc69b650
Then press Next.



Press Next if these settings are OK for your needs.



In the summary window, click Next.



Then click Apply.



You will then be asked to authenticate.
Students: Log in with username@uib.no
Employees: Log in with your e-mail address, firstname.lastname@uib.no



Congratulations! You have now set up your e-mail to use Exchange Online.