Please note that the preferred and most reliable way to set up Office 365 email on android devices is to use the Outlook app from the Play Store.
Microsoft does provide a method of using the Gmail and Samsung stock email apps. Please ensure that the app and device is up-to-date before setting up email.
Set up email in Android email app - Office Support (microsoft.com)