Outlook SMTP Connection Problems in n8n Workflow

I’m having trouble setting up my Outlook email connection in n8n and keep getting authentication errors. I’ve already done the basic setup steps like turning on IMAP/POP access in my Outlook settings and setting up two-factor authentication with an app password.

My current n8n SMTP configuration uses:

But I keep getting this error message: “Couldn’t connect with these settings Invalid login: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled.”

I’m wondering if there’s something else I need to enable in my Outlook account to make SMTP work properly. Has anyone else run into this problem? What am I missing here?