Unable to remove enterprise application while removing azure tenant

Muhammad Anwaar Ul-Haq Islam 21 Reputation points
2020-06-05T14:25:35.487+00:00

I am trying to remove directory (tenant) from my account and it is asking for remove enterprise application first. I am unable to remove them. I need to use this tenant name for our organization so i really need to remove it. Can you help me with this? I have tried all available soltution on internet but nothing worked for me. I can not access it through azure powershell either.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,116 questions
{count} votes

Accepted answer
  1. Manu Philip 18,681 Reputation points MVP
    2020-06-05T15:19:46.89+00:00

    Hello @MuhammadAnwaarUlHaqIslam,

    I will suggest you the following steps to further move ahead using PowerShell

    1. Connect-Azure AD : Connect-AzureAD
    2. Enter Get-AzureADServicePrincipal to display all registered Enterprise Applications along with their ObjectId
    3. Remove-AzureADServicePrincipal -objectid <ObjectId from above> to remove all listed application

    Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

    Regards,

    Manu

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Muhammad Anwaar Ul-Haq Islam 21 Reputation points
    2020-07-16T10:30:41.11+00:00

    In my case, i have to contact support and they were able to remove tenant. Thank you for all 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.