If you have any problem with Microsoft Account, You should Contact Microsoft support regarding your Office 365 setup or Outlook.com email setup.
If you are using working or school account of Office 365 for business or exchange based accounts, then you need to contact the admin of office 365.
To do a manual setup in android email app – Gmail app, you need to follow this process.
How to Set Manual Setup in Gmail App?
Open Gmail App
Go to Settings
Click Add Account
Enter Full email address
Click Manual Setup
Enter Password to access the Gmail account.
For server settings, set the following if available:
Incoming Server Settings
Enter full email address
Enter the password access your email.
Enter eas.outlook.com for any email account ending with @outlook.com, @hotmail.com, @msn.com, or @live.com
Use outlook.office365.com for any work or school accounts hosted on Office 365 for business.
use 443 or 993
Select SSL/TLS or make sure the Use secure connection (SSL) checkbox is checked, then tap Next.
Outgoing SMTP Server Settings:
Use smtp-mail.outlook.com if you’re using an Outlook.com account.
Use smtp.office365.com if you have an Office 365 for business account.
For Exchange email accounts, contact your email provider or system administrator.
for more information & office support, visit : www.office.com/setup.