To enable the passwordless feature for your Microsoft account, you first have to add the Microsoft Authenticator app. After that, you will be able to enable the passwordless mode for your account.
You can make your Microsoft account far more secure if you ditch your password. But if you plan to do so, there's a step you absolutely must not skip.