Cant Connect to AT&T Email with Microsoft Outlook 2019

New Laptop Setup Issue

I'm having trouble setting up my email account in MS Outlook 2019. After entering my email address and password, selecting IMAP, and inputting the incoming and outgoing server settings, I receive an error message stating "Couldn't Log into IMAP Server. Please check your email and password."

Need assistance