Delete an Azure Active Directory tenant
When a tenant is deleted, all resources that are contained in the tenant are also deleted. You must prepare the tenant by minimizing its associated resources before you delete. Only an Azure Active Directory (Azure AD) global administrator can delete an Azure AD tenant from the portal.
Prepare the tenant for deletion
You can't delete a tenant in Azure AD until it passes several checks. These checks reduce risk that deleting a tenant negatively impacts user access, such as the ability to sign in to Office 365 or access resources in Azure. For example, if the tenant associated with a subscription is unintentionally deleted, then users can't access the Azure resources for that subscription. The following explains the conditions that are checked:
- There can be no users in the tenant except one global administrator who is to delete the tenant. Any other users must be deleted before the tenant can be deleted. If users are synchronized from on-premises, then sync must be turned off, and the users must be deleted in the cloud tenant using the Azure portal or Azure PowerShell cmdlets.
- There can be no applications in the tenant. Any applications must be removed before the tenant can be deleted.
- There can be no multi-factor authentication providers linked to the tenant.
- There can be no subscriptions for any Microsoft Online Services such as Microsoft Azure, Office 365, or Azure AD Premium associated with the tenant. For example, if a default tenant was created for you in Azure, you cannot delete this tenant if your Azure subscription still relies on this tenant for authentication. Similarly, you can't delete a tenant if another user has associated a subscription with it.
Delete an Azure AD tenant
Sign in to the Azure AD admin center with an account that is the Global Administrator for the tenant.
Select Azure Active Directory.
Switch to the organization you want to delete.
Select Delete directory.
If your tenant does not pass one or more checks, you're provided with a link to more information on how to pass. After you pass all checks, select Delete to complete the process.
I have an expired subscription but I can't delete the tenant
When you configured your Azure AD tenant, you may have also activated license-based subscriptions for your organization like Azure AD Premium P2, Office 365 Business Premium, or Enterprise Mobility + Security E5. These subscriptions block directory deletion until they are fully deleted, to avoid accidental data loss. The subscriptions must be in a Deprovisioned state to allow tenant deletion. An Expired or Canceled subscription moves to the Disabled state, and the final stage is the Deprovisoned state.
For what to expect when a trial Office 365 subscription expires (not including paid Partner/CSP, Enterprise Agreement, or Volume Licensing), see the following table. For more information on Office 365 data retention and subscription lifecycle, see What happens to my data and access when my Office 365 for business subscription ends?.
|Subscription state||Data||Access to data|
|Active (30 days for trial)||Data accessible to all|
|Expired (30 days)||Data accessible to all|
|Disabled (30 days)||Data accessible to admin only|
|Deprovisioned (30 days after Disabled)||Data deleted (automatically deleted if no other services are in use)|
Delete a subscription in the Microsoft 365 admin center
You can put a subscription into a Deprovisoned state to be deleted in 3 days using the Microsoft 365 admin center.
Sign in to the Microsoft 365 admin center with an account that is a Global Administrator in the tenant. If you are trying to delete the “Contoso” tenant that has the initial default domain contoso.onmicrosoft.com, sign on with a UPN such as email@example.com.
Go to the Billing tab and select Products and Services, then choose the subscription you want to cancel. After you click Cancel, refresh the page.
Select Delete to delete the subscription and accept the terms and conditions. All data is permanently deleted within three days. You can reactivate the subscription during the three-day period if you change your mind.
Now the subscription state has changed, the subscription is marked for deletion. The subscription enters the Deprovisioned state 72 hours later.
Once you have deleted a subscription on your tenant, and 72 hours have elapsed, you can sign back into the Azure AD admin center again and there should be no required action and no subscriptions blocking your tenant deletion. You should be able to successfully delete your Azure AD tenant.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.