A free program from Microsoft that provides developers with the tools, resources, and sandbox environments needed to build solutions for Microsoft 365.
Contact Microsoft 365 business phone support and request a case routed to the Data Protection/Tenant Recovery team for sole-administrator MFA recovery and review of SMS error 399287; this requires Microsoft-side identity verification because no other administrator or authentication method is available.
Open the recovery case
- Use the current Microsoft global customer-service phone-number list referenced on the Microsoft 365 support page. Phone technical support is available in English 24/7, although regional and local-language availability varies.^1^
- In the automated menu, identify the issue as:
- Office 365 for business
- Authenticator/MFA
- Administrator: Yes
- Other administrators: No
- Create a support request: Yes
- Tell the agent:
I am the sole Global Administrator of a Microsoft 365 Developer E5 Legacy Sandbox tenant. My password is accepted, but the only registered MFA method, SMS, fails with error 399287. There is no alternate authentication method or second administrator. Please create a tenant-recovery case and route it to the Microsoft Data Protection team for identity verification, MFA recovery, and review of the SMS phone-reputation restriction.
This is the recovery route recommended in a matching sole-administrator 399287 case. Q&A community members and ordinary moderators cannot themselves modify the tenant, reset MFA, or unblock SMS; the Data Protection team has the recovery process needed for a locked-out administrator.^2^
Information to prepare
Provide these details only through the support case or a moderator-initiated private message, not in the public Q&A thread:
- Tenant ID and tenant domain
- Affected administrator UPN
- Full telephone number and country code
- Error code
399287 - Request ID, correlation ID, and exact UTC timestamp
- Developer subscription type and dashboard expiration date
- Alternate email and telephone number
- Any ownership, subscription, or domain-verification information requested
Closely matched cases were resolved after these details were supplied privately and engineering removed the backend bad-reputation restriction.^3^ That outcome supports requesting the review, but only Microsoft can confirm whether the same restriction applies to this number.
Do not continue making frequent SMS requests while the case is pending. Microsoft documents that repeated attempts can trigger or extend temporary protection blocks.^4^
Protect the remaining legacy-sandbox window
The Legacy Sandbox status is a separate, time-sensitive issue. Microsoft is retiring these subscriptions:
- The final renewal lasts 60 days.
- At expiration, the tenant becomes read-only for 30 days.
- After that, the subscription and data are permanently deleted.
- A legacy subscription cannot be extended, converted, or transferred.^5^
Because approximately 59 days remain:
- Preserve the existing Outlook/Copilot sessions; do not sign out unnecessarily.
- Export any data or configuration those sessions currently let you access.
- After admin access is restored, immediately export app registrations, code/configuration references, Power Platform solutions, files, mail, users, groups, and tenant settings that must be retained.
- If the Developer Program dashboard offers a new sandbox and eligibility is satisfied, provision it early. It will be a separate tenant, and nothing transfers automatically.^5^
After access is restored
- Register Microsoft Authenticator or another permitted strong method before removing SMS.
- Add at least one additional administrator so recovery does not depend on one account.
- Create two cloud-only emergency-access accounts with independent, phishing-resistant credentials.
- Store their credentials securely, monitor their use, and test them regularly.
Microsoft recommends two or more emergency-access accounts specifically to prevent complete administrative lockout during MFA or telecommunications failures.^6^
References
- Get support - Microsoft 365 admin | Microsoft Learn
- Sole global administrator locked out – SMS MFA blocked (error 399287) - Microsoft Q&A
- Sole global administrator locked out - MFA SMS blocked (error 399287) - Microsoft Q&A
- Common problems with two-step verification for a work or school account
- Retirement of Microsoft 365 Legacy developer subscriptions
- Manage emergency access accounts in Microsoft Entra ID