Managing personal Outlook.com account settings, security, and privacy
I'm so sorry to hear you're stuck with this, anne brennan.
The "not a valid code" message usually means the form is getting a different number than it expects. Just wondering, is there a chance you accidentally entered the serial number of the console? Because that's the different number to the Console ID, which can only be found on the console itself:
- Refer to Find the XBOX console ID, device ID, and serial number
- Press XBOX button on your console to open the guide.
- Select Profile & system > Settings > System > Console info.
- If you’re looking for device ID, use XBOX network device ID.
- Type the ID in exactly as it's shown, without any extra spaces.
For compromised accounts, please run the Sign-in Helper first if you haven't already. It can identify your account issues and offer suitable options, including the Microsoft Account Recovery Form. This will be particularly helpful since it appears that you also used Xbox services.
I wish I could help more directly, but Microsoft Q&A is just a user-to-user forum. Microsoft Support agents are also forbidden from bypassing the recovery process or resetting the account for you. Recovery can only proceed to the next stage when you prove you own the account, so give as much accurate detail as you can.