If you have Microsoft Multi-Factor Authentication enabled, Outlook and other applications, like Team, Skype may not accept your password, if this is the case, you can try updating Office and the applications. Follow this guide >>Updating Office Applications Guide
1:Once logged in, at the top right, click on your little Circle (1) and then Edit Account (2)
2: When this page loads, click on (3) Security Info
3: Click on Add method (4)
4: When this window pops up click on the Drop Down (5) and the select App password, then click on Add (6)
6:Type in a description in (7) for the password, like Outook Password and then click on Next (8)
7:Microsoft will then generate you a password, copy that password (9) and once you have it click on Done (10)
8:You will now see that App password listed, the only option you have is to delete that password.
Note: That you will only every see the password once, when you have created it, it can not be revealed again!
Using the password
You can now enter that password into any Microsoft Application that is not accepting your password and MFA code.For example Microsoft Outlook