You can't leave this tenant Because you are the last admin in this organization (tenant)

Nick Foster 20 Reputation points
2025-05-26T13:09:36.2733333+00:00

I created an organisation under 365 some time ago. Now Using teams personal I cannot remove this organisation. I get the error message

"You can't leave this tenant

Because you are the last admin in this organization (tenant), you’re not allowed to leave it. You’ll need to delete this tenant instead"

When I try to delete the tennent in Microsoft Entra admin center I cannot because the tenner has a "License-based subscription" This is my 365 subscription which I cannot delete.

I seem to be permanently logged in under the organisation I want to leave rather than my home organisation. This stops me using Teams

Can anyone help.

Microsoft Teams | Development
0 comments No comments
{count} votes

Accepted answer
  1. Austin-H 3,455 Reputation points Microsoft External Staff Moderator
    2025-05-26T15:16:11.9166667+00:00

    Hi @Nick Foster , 

    Thank you for reaching out to the Microsoft Q&A support I apologize for any inconveniences caused by this issue.    

    Based on your description, I understand that you're unable to delete the tenant due to an active license-based subscription, so I am thinking that this information may help you with this issue. 

    First, you can check to see if when you delete a tenant, the Microsoft system is going to displays an error, the Tenant ID is also displayed in the error message. Normally, the tenant ID number will look like this: 

    User's image

      Next step, after you have your Tenant ID, you have to create a Support Ticket: 

    • Go to the Microsoft Admin Center page. 
    • Click to Help & Support

     User's image

    In this scenario, normally your tenant must have at least 2 Global Administrator then you can leave the tenant. Hence, Microsoft support agent will be able to locate your tenant by using the Tenant ID you provided and assist in adding another Global Administrator to your tenant. 

    Hope you will solve this problem soon. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have additional questions about this answer, feel free to click "Comment".   

    Note: Please follow the steps in our documentation to enable email notifications if you want to receive updates for this thread. 

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Nick Foster 20 Reputation points
    2025-05-27T13:46:28.32+00:00

    Thanks for this. When I went to follow your instructions today the organisation still existed so I went to Microsoft Entra admin center to try and delete the tennent and get the ID but the association with the "License-based subscription" had gone and I was allowed to delete the tennent which has fixed the problem and the organisation has also been deleted.. Thanks for your help

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.