Norwegian version of this page

Setting up Evolution-EWS

A variant of the Evolution email client for Linux is available which utilizes the Exchange-native Exchange Web Services (EWS) API to access and manage Exchange mailbox content, including Calendar data. For Linux users, this represents the best available option aside from the Outlook Web App (OWA).

Obtaining Evolution EWS

For Ubuntu, Debian, and their variants, open a terminal and run the following shell commands:

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

(The first command will remove any existing version in case an older, non-EWS-aware version is present.)

For Fedora or RedHat, open a terminal and run the following shell commands:

sudo yum update
sudo yum install evolution
sudo yum install evolution-ews

Configuring Evolution-EWS to connect to Exchange

Launch the Evolution application. If this is a new installation, follow the prompts below to configure your account. Otherwise, select the menu items File → New → Mail Account, click Next, then follow the prompts.

  • Enter your name and your primary email address, uncheck Look up mail server details… and click Next.
  • For Server Type, select Exchange Web Services.
  • For Username, add your username@uio.no.
  • Change Host URL to https://mail.uio.no/EWS/Exchange.asmx .
    Click the Fetch URL button, providing your username and password when prompted. This will result in the OAB URL field being populated, which is the address from which the client can download a copy of the Offline Address Book. Note! This does not work with NTML auth and you must make sure that it says basic to get the URL TO OAB.
  • Change Authentication to OAuth2 (Office365).
  • Make sure that Override Office365 OAuth2 settings is checked and populate the Tenant ID and Application ID fields as follows:
    • Tenant ID: 463b6811-b0a4-4b2a-b932-72c4c970c5d2
    • Application ID: 20460e5d-ce91-49af-a3a5-70b6be7486d1
  • Finish the New Mail Account Wizard, and you will then be taken to the University’s login page. Authenticate with your username and password, and perform two-factor authentication.

Please note that the initial synchronization with your account may take an extended period of time if you have a large mailbox.

Published Nov. 30, 2022 10:43 AM - Last modified Dec. 6, 2022 2:56 PM