i want do sync my Online Calendars to Gnome Calendar via the Online Accounts feature provided by Ubuntu. It worked fine with Gmail, however when i add my Outlook account it shows me that it is only used for Mail and Documents (not Calendar). Do you have to activate something in your Microsoft Account for that to work? (btw I have 2FA enabled in outlook, maybe that messes with it.)
2 Answers
Not sure how it works for @Yeoman but his trick doesn't work for me. However, the following trick DOES work (Note that I also turned on my TFA, so I think it applies to you).
- Install
evolution-ewsif you haven't. - Go to
Online Accountsand chooseMicrosoft Exchange. - Fill in the fields according to the following screenshot:

Notice that you must fill in Server correctly:
outlook.office365.com
Since you have TFA turned on, you cannot log in using your usual password. You must use a specific app password. Consult this page and generate an app password.
Fill in that password in the
Passwordfield and hitConnect.Be patient as syncing the calendar might take time, but otherwise, enjoy!
As shown in this screenshot, I've connected to my hotmail calendar:

You can add your outlook account as a MS Exchange account, where an option of 'calendar' is available (see my screenshot). When setting up the account, remember to manually set the server as eas.outlook.com.
Please note evolution-ews is an essential for Exchange service to work properly on genome. You can refer to this post for more info.
-
2For anyone confused whether to use eas.outlook.com or outlook.office365.com, they both are same, latter is the canonical of former. It can be verified using nslookup. Dec 8, 2021 at 8:50