The University of Edinburgh is piloting multifactor authentication for Office 365. This works with the GNOME evolution mail/calendar application and the EWS plugin.
In evolution create a new mail account of type Exchange Web Services and
- username: UUN@ed.ac.uk
- host URL: https://outlook.office365.com/EWS/Exchange.asmx
- select OAuth2 from the Authentication types
- tick the Override Office365 OAuth2 settings check box
- and enter the application ID: 20460e5d-ce91-49af-a3a5-70b6be7486d1
The application ID is one of the standard GNOME ones (see the evolution documentation). At some stage the university might decide to setup its own application ID.