Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Dear @Ahmed Mohamed
Thank you for providing detailed information about the issue. I understand how critical this situation is, especially as it is blocking access to your Microsoft 365 services.
Based on the error code 399287 and the behavior you described, this issue is typically caused by Microsoft’s security protections around multi-factor authentication.
If this is the only administrator account or no alternative MFA method is available, the case will need to be handled by Microsoft Support. The support team (specifically the Data Protection team) can assist with securely verifying account ownership and resetting the MFA configuration, as well as clearing any backend restrictions affecting the phone number. For more information: SMS Authentication Error 399287 in Microsoft 365 Log-in
Disclaimer: This link is shared by community members for your convenience. It points to a third-party site that is not managed or verified by Microsoft. We can’t guarantee the quality, safety, or suitability of any content or software found there. Please review carefully and make sure you understand any potential risks before using it.
Note: If you are user, I recommend contacting the Global Administrator in your organization. For reference: How do I find my Microsoft 365 admin?
Option 1: Contact Microsoft Data Protection Support by Phone (Primary Method)
Since you are the only administrator and are locked out, the most direct method is to call Microsoft's support line to raise a request for resetting your authentication method. For a full list of regional numbers, you can also visit this official page: Customer service phone numbers - Microsoft Support. The support team will assist you as soon as possible. For reference: Get support | Microsoft Docs
Here are some tips and an example of a prompt to help you navigate the IVR more effectively:
In some countries, it is an automated conversation like: First, when you call the hotline, it will be asked as follows:
IVR: What kind of problem are you concerned about?
You: Authenticator.
IVR: What kind of product do you use?
You: Office 365 for business.
IVR confirmation: education or company account?
You: For companies
IVR: Are you an administrator?
You: Yes.
IVR: Do you have the other administrator in your organization?
You: No.
IVR: Do you need a... Service request?
You: Yes
This process should connect you with a live agent who will create a service request with the Data Protection team. They will then contact you to help you regain access.
Option 2: Create a Temporary Account (Trial Tenant) to Submit a Support Ticket (Alternative Method)
If you have difficulty reaching an agent by phone, there is a reliable workaround. This involves creating a new, temporary Microsoft 365 account to contact the support team online.
- Sign up for a new Microsoft 365 Business trial using this link: Compare All Microsoft 365 Plans. You will need to use a different, personal email address to register.
- Once the trial account is created, log in to its Admin Center > From the Admin Center, open a new Service Request. For reference: Get support | Microsoft Docs
- In the ticket description, explain that you are locked out of your primary tenant (your.onmicrosoft.com) and that you need to speak with the Data Protection team to regain access.
- Please remember to provide your locked account's details and a good contact number for them to reach you.
Important: Please remember to cancel the trial subscription after your original account issue is resolved to avoid any future charges.
I am confident that the Data Protection team can resolve this for you. Please try the phone option first, as it is the most direct path. Let me know if you have any questions about these steps.
Note: Please understand that as a forum moderator, my role is to provide general guidance and troubleshooting support. I don’t have access to internal systems or backend tools, and I appreciate your understanding of these limits.
I hope the information shared helps point you in the right direction. Thank you for your patience and understanding. I'm looking forward for your reply.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.