Sending, receiving, and organizing email in Outlook.com
Sign in to your Microsoft account. Navigate to https://account.microsoft.com/profile. In the "Account Info" section, click on "Edit Account Info." Select "Add Phone." Choose your country code from the options provided. Enter your phone number. You shouldn't encounter the same error this time.