Microsoft Authentication error (user/password) Setting up consent to apps

If you encounter this error you need to turn user consent on for Microsoft Outlook.

  1. Login to an administration account for Microsoft 365
  2. In the admin center, go to the Settings > Org settings > Services page, and then select User consent to apps.
  3. On the User consent to apps page, select the option to turn user consent ON.