Delete Organisation

Kylie Clark 1 Reputation point
2021-10-28T07:49:22.6+00:00

Hello,

I am trying to delete my Azure Organisation entirely.

I keep getting blocked from deleting the tenant because I can't delete the Microsoft first-party application.

Please help.

Sarah

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Siva-kumar-selvaraj 15,721 Reputation points
    2021-10-28T09:55:43.973+00:00

    Hello @Kylie Clark ,

    Thanks for reaching out.

    When your directory has one or more activated license-based subscriptions for your organization like Azure AD Premium P2, Microsoft 365 Business Standard, or Enterprise Mobility + Security E5. To avoid accidental data loss, you can't delete a organization until the subscriptions are fully deleted. The subscriptions must be in a Deprovisioned state to allow organization deletion. An Expired or Canceled subscription moves to the Disabled state, and the final stage is the Deprovisioned state.

    To know more about, refer : https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/directory-delete-howto#if-you-cant-delete-the-organization

    If there no subscription active subscription then If you find that there are still enterprise applications that you can't delete in the portal, you can use the following PowerShell commands to remove them. For more information on this PowerShell command, see Remove-AzureADServicePrincipal.

    • Open PowerShell as an administrator
    • Run Connect-AzAccount -tenant <TENANT_ID>
    • Sign in the Azure AD Global Administrator role
    • Run Get-AzADServicePrincipal | ForEach-Object { Remove-AzADServicePrincipal -ObjectId $_.Id -Force}

    Hope this helps.

    ------
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.