Outlook account keeps getting Authentication Error

In my case, I believe it’s because my email uses a custom domain for my org and microsoft limits these cases to POP which mailspring doesn’t support. Just info in case this is the issue for others

Here’s their article
scroll down to the bottom of the IMAP connection errors dropdown