Here are the steps you need to take if you’re using the “Outlook App” on your iPhone.
In Outlook for iOS, go to Settings > Add Account > Add Email Account.
Enter email address. Tap Add Account.
If you see the Select your email provider screen, choose IMAP.
Enter your password and toggle on Use Advanced Settings.
Enter the server setting information needed.