In the case of Microsoft Outlook.com accounts the mobile phone number is only partially displayed and it is necessary for the user to input the missing characters before a code will be sent to the phone. In other words the phone number must already be known; it doesn't give away the number.