Hello Ana !
Thank you for posting on Microsoft Learn Q&A.
Here’s what that error means and the fastest ways to get unstuck.
You’re being routed to a MS Entra tenant that’s been blocked due to inactivity. If your personal account was ever added to a work or school tenant even just as a guest, closing your Microsoft account will first require leaving that org but because the tenant is blocked, normal leave organization flows fail.
https://docs.azure.cn/en-us/entra/fundamentals/inaccessible-tenant
You need to open an incognito window and go to https://myaccount.microsoft.com?tenantId=<tenantDomain or tenantGUID> then choose organizations and Leave, you often find the tenant GUID/domain in the error details or past invite emails and if you can access it, this immediately removes the org link.
https://learn.microsoft.com/en-us/entra/external-id/leave-the-organization
And if it says you’re the last admin or can’t leave, the tenant must be deleted before you can leave but a blocked tenant can’t be self-managed so you’ll need an admin of that tenant to remove you or delete the tenant.
Microsoft only reactivates blocked tenants within 20 days of the block and after that the tenant is permanently deleted automatically and while blocked, sign-in and self-service removal usually won’t work.
In that case, you may need to approach Azure support.