Some legacy applications don’t support MFA. This is a solution to enable the apps to continue to function when MFA is enabled for a user in Office365.
How to create a “Additional Security Verification App Passwords”
Browse to https://portal.office.com/account/
Click “Security & Privacy” then click “Manage Security and Privacy”
Expand / Click on “Additional Security Verification”
Click “Create and manage app passwords”
Click “Create”
Enter a Name , example “Diary Sync” and click “Next”
Click “copy password to clipboard” (YOU NEED THIS PASSWORD)
(password above example only)
Some might get this error. Copy the password. (short cut to copy > Ctrl +A, then Ctrl + C)
(password above example only)
Click “Close”
You now have an application password which you can use with your legacy application without MFA causing any integration problems