problem deleting my tenant because of applications

Bernhard 21 Reputation points


I am trying to delete my tenant and the only item left on the ressource status list is to delete enterprise applications.

The problem is that by clicking on the provided link the list of enterprise applications is empty.
So how can that be and is there something I can do ?

Its not a browser or browser cache problem.....



Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,599 questions
0 comments No comments
{count} votes

Accepted answer
  1. JamesTran-MSFT 34,226 Reputation points Microsoft Employee

    Thank you for your post!

    When it comes to deleting your Enterprise Apps, you should be able to do this via our Enterprise apps with no way to delete documentation.

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

    If you're still having issues deleting your tenant because of the Enterprise Apps, you can try the below steps to hopefully resolve your issue.

    Delete tenant - Enterprise Applications:

    On your windows desktop search, Open PowerShell ISE as Administrator  
    Install the needed module, type at promt: Install-Module MSOnline  
    Then type at prompt: Connect-msolservice  
    Input a global admin’s credentials for your azure tenant. (eg. User: admin@[organization] + password)  
    If we have any output please run the following command at the prompt: Get-msolserviceprincipal | remove-msolserviceprincipal (Note you will see a lot of red output on this command, these are applications that cannot be deleted from the tenant, but will not stop you from doing so.)  
    Log in back to the Azure tenant, and try one more time to delete it.  

    Additional Link:
    Unable to delete tenant if there is enterprise application
    Delete a tenant in Azure Active Directory

    I hope this helps!

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.


    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bernhard 21 Reputation points

    Thank you @JamesTran-MSFT for the detailed answer.

    Surprisingly the list has changed after completing my azure account.
    Now the enterprise applications item shows a green mark.

    I am confident to be able to delete my account in the next 3 days...


    0 comments No comments