# Virtual number for Microsoft and Outlook: the code, unlocking and keeping access

Источник: https://hush-sms.com/en/blog/virtual-number-for-microsoft/
Обновлено: 2026-10-29

> Why Microsoft asks for a phone when you create an Outlook account or after a lock, how to receive the code on a virtual number and how not to lose access.

In short

Microsoft may ask for a number when you create an Outlook account, after a suspicious sign-in or to unlock the account. A one-time activation in [@HushNumBot](https://t.me/HushNumBot?start=landing) or [on the website](https://hush-sms.com/account/?lang=en) covers one code. If the number becomes a recovery method, rent it or switch to an authenticator app right away.

One Microsoft account opens Outlook, OneDrive, Xbox and Office. A phone is just one way to prove it is you. So it matters whether you need the number once or whether it becomes the key to the account.

## When Microsoft asks for a phone number

- when you create a new account, to filter out automated sign-ups;
- when the account is temporarily locked after suspicious activity: an SMS code unlocks it;
- when you sign in on a new device and the number is set as a verification method;
- when you change the password or the security info.

## How to get the Microsoft code

1. In the bot or the web account, choose Microsoft and a country.
2. Buy the number and enter it in the form with the country code.
3. Choose to get the code by SMS. If the form offers a call and the catalog has "code by call", take that order.
4. Wait for the code in your order and enter it.

The code confirms the whole Microsoft account, so it works for Outlook, Xbox and OneDrive alike.

## Unlocking a Microsoft account step by step

1. Sign in: Microsoft says the account is locked and offers to confirm it by phone.
2. Get a Microsoft number in the bot or the web account, and choose the same country in the form as in the order.
3. Enter the number and request the SMS code once.
4. Enter the code from your order: the lock is lifted.
5. Change the password right away and add an authenticator app or a permanent number to the security info.

If Microsoft says the number cannot be used, do not retry it: cancel the order before the first SMS or replace the number, and try another country.

## How not to lose access after you sign in

The safest setup does not rest on a single number. After you sign in, open the account's security info and add:

- the Microsoft Authenticator app or a passkey;
- a backup email you will always have access to;
- a permanent phone number, your own or [rented](https://hush-sms.com/en/rent-virtual-number/).

## Frequently asked questions

### Does one number work for Outlook and Xbox?

Yes, it is one Microsoft account: the code confirms the account as a whole, not a single service.

### Why does Microsoft ask for a code again after sign-up?

That is its protection for sign-ins from a new device or suspicious activity. To stop depending on a number, add an authenticator app and a backup email.

### Should I keep the virtual number in the account after unlocking?

Better replace it with a permanent method: an authenticator app, your own number or a rented one. A one-time number may later go to someone else.

Check Hush SMS on one order: if the code does not arrive within 15 minutes, the money returns to your balance automatically.

[Buy in the bot](https://t.me/HushNumBot?start=landing) [Buy on the website](https://hush-sms.com/account/?lang=en)
