Parsing Error (IMAP) when adding MS Exchange Account

I am trying to add my work account to the mailspring client. However, after filling in the configuration, it gives me Parsing Error (IMAP). From the log I can’t seem to figure out what the problem might be. Do you have any idea?

----------IMAP----------
connect <mailcore::IMAPSession:0x305008408>
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE XLIST LITERAL+ AUTH=PLAIN] mailbox.<DOMAIN> ready.
ssl connect mailbox.<DOMAIN> 993 2
connect ok
login
1 LOGIN "<USERNAME>@<DOMAIN>.de" *********