Delete default tenant

Rodrigo Greff Passos 6 Reputation points
2022-09-09T15:01:19.317+00:00

I created a new tenant in Azure AD and set it to default. The previous tenant, I am not able to delete. Even getting the message "All initial checks passed. Click 'Delete' to Delete tenant 'Default Directory''. After deletion, you will need to sign out." it does not delete and shows this error which follows in the attached image.239507-tenant.jpg

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,652 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 32,876 Reputation points Microsoft Employee
    2022-09-09T16:25:56.45+00:00

    @Rodrigo Greff Passos
    Thank you for your post!

    Based off your screenshot, I found a related thread with troubleshooting steps that might help resolve your issue.

    Delete tenant:

    1. Run Windows PowerShell ISE as Administrator
    2. Run the command Install-Module MSOnline (You may skip this command if you already have Msol module installed on your machine)
    3. Run the command Connect-Msolservice and enter the credential of your Global Admin account (eg. User: admin@[organization].onMicrosoft.com + password)
    4. Run the command Get-MsolServicePrincipal | Select Displayname
    5. Run the command Get-MsolServicePrincipal | Remove-MsolServicePrincipal
    6. Please kindly ignore the errors as there will be some build-in Microsoft Apps cannot be deleted.
    7. Log in back to your Azure tenant, and try one more time to delete it.

    Additional Links:
    Can't delete tenant, all checks are passed - Capturing a browser trace to see if there's an underlying error message.
    Can't delete our old tenant

    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.

    1 person found this answer helpful.