​Two-factor authentication means that you need more than just a username and password when logging in. You also need another "factor" to confirm that you are you. Microsoft usually uses a numeric code that is only available on the device you have registered on for authentication. This approach applies to both internal and external users.

By setting up multi-factor authentication, you make it more secure to log in to your work or school account. In most contexts, you will be asked to type your password first. Furthermore, you can either set up Microsoft Authenticator or another authentication method. It is done in the following way: