question

fmuntean-1016 avatar image
0 Votes"
fmuntean-1016 asked fmuntean-1016 answered

Can't delete Azure AD Tennant

131110-image.png


I keep getting the above errors when trying to delete an Azure AD Tennant.
Ther is no subscription, there are no users, there are no service principals, no user flows, and no identity providers; but still it does not allows me to delete this tennant.

Please let me know how do I delete this tennant.

131059-image.png


131161-image.png

131145-image.png


azure-ad-tenant
image.png (41.3 KiB)
image.png (24.9 KiB)
image.png (10.2 KiB)
image.png (33.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sbairu avatar image
0 Votes"
sbairu answered fmuntean-1016 published

Hi

I have faced a similar kind of issue when I want to delete my demo tenant for some other reasons

Please go to Azure Active directory > users and create a new user in the format @xxxxxx.onmicrosoft.com .
Assign the global admin role to that user.
Now Logon with that newly created user and go to Azure AD > Users. You should see the two user objects
Then remove/delete the external account with which you were logged in earlier.(Ignore if you have not logged)
Once done you can try to delete the directory and this time the directory will get deleted.
The directory deletion information takes around 24 hours to replicate across all the systems the directory deletion information has converged across all related systems within the Azure infrastructure.

Hope you referenced MS article ==>https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/directory-delete-howto

Try from PowerShell also ==>https://docs.microsoft.com/en-GB/troubleshoot/azure/active-directory/cannot-delete-directory-azure-portal

Hope this helps you fix your issue. If you still get any errors please provide the details and I will try to help further. if you feel, you the answer to your questions, please mark this blog as an Accepted Answer

Thanks & Regards,
Sarat Chandra

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is what i get after following your instructions:
131174-image.png


0 Votes 0 ·
image.png (42.2 KiB)
fmuntean-1016 avatar image
0 Votes"
fmuntean-1016 answered

Any update on this ? Any idea how I get rid of this tenant ?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.