SMTP Error message using Office 365 account

i have connect hotmail account on email setting but i got error
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail. Error: 535 5.7.3 Authentication unsuccessful [AM5PR0701CA0070.eurprd07.prod.outlook.com]

even i remove 2 factor aut

smtp.office365.com
usename : as@hotmail.com port 587