Enable Authenticated SMTP and IMAP
Open the Microsoft 365 admin center and go to > Active users.
Select the user, and in the flyout that appears, select Mail > Email apps > Manage email apps.
Check all boxes and click Save changes
GoDaddy users follow this guide.