I tried using these settings to set it up but I'm getting an error message.
Settings I used: 

Incoming:
  • incoming Mail Server: imap-mail.outlook.com
  • Port: 993
Outgoing:
  • Outgoing Mail Server: smtp-mail.outlook.com
  • Port: 587

Error Message:

OK Outlook.com IMAP4rev1 server version 17.2.0.0 ready (BAY451-IMAP278)