I cannot add my Microsoft Exchange and Gmail accounts to Apple Mail.
When I want to add one of them, a new pop-up opens stating that authentication needs to be done via browser, then I receive the same error for both: Authentication failed.
They were all working fine, until last week, then there were synchronization problems. As I have to change passwords on both accounts. I have removed both accounts to add them again to solve the problem, but not I cannot even add new accounts to Apple mail.
MacBook Air 13″, macOS 12.2