Common problems with two-step verification for a work or school account ...
If you're having problems with two-step verification on a personal Microsoft account, which is an account that you set up for yourself (for example, danielle@outlook.com), see Turning two-step verification on or off for your Microsoft account.