A free program from Microsoft that provides developers with the tools, resources, and sandbox environments needed to build solutions for Microsoft 365.
From what I've found, there are two ways forward:
- Microsoft Support / Data Protection team. Call the business support number for your country (product: "Office 365 for business") and ask for a Data Protection case for a sole-admin MFA lockout. If phone support can't route you, sign up for a free M365 Business trial with a different email, then raise a ticket from that trial tenant's admin center (Support > Help & support > New service request) on behalf of the locked tenant. It's also worth raising it with the Developer Program team through the support form on the dev dashboard. Keep the tenant name, admin UPN and the account you joined the program with handy for verification.
- Start fresh. If there's nothing important in the sandbox, sign in to the Developer Program dashboard with your program account and check whether you can get a new sandbox. Don't delete your program profile to force one; others who did that didn't get a new sandbox.