Managing personal Outlook.com account settings, security, and privacy
Hello,
If your account is hacked/compromised, you can use the Microsoft automated recovery tool from the official website here and follow the steps.
How to recover a hacked or compromised Microsoft account
Go to this link here and select 'Start' to run the tool.
Alternatively, you can submit an account recovery request to the Xbox Account Recovery team using the link below. This team specifically handles stolen account requests and can assist with the recovery process. Provide as much information as possible before submitting the form.
https://support.xbox.com/en-US/forms/recover-your-microsoft-account