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.
Security keys are the most secure way to stop SIM swaps and phishing attacks. Step-by-step instructions for Google, Apple, and Microsoft.