How to delete directory in Azure ARM?

Highlighted
Contributor

Ok, here is the situation.

 

When I started Azure, a lot of thing were confusing. At that time, I created few directories in the Azure ARM. Please see attached screenshot.

directories.PNG

Now I want to delete those two directories (except the default one). However, if I go to Azure Active Directory, it says that I don’t have access. Again, please see the attached screenshot. Moreover, in classic portal, directory01 is not even available.

 

no access.PNG

 

 

So my question is how to remove that directory from Azure ARM portal?

Best regards.

9 Replies
Highlighted

Here is what Azure ARM portal shows if I try to delete the directory.

Capture.PNG

Highlighted

Hi,

 

Login as the service admin in to azure tenent.

  1. Then login to http://manage.windowsazure.com/ 
  2. Select the directory
  3. Click delete on below 

Note :- Make sure following prerequist met before deleting 

https://docs.microsoft.com/en-us/azure/active-directory/active-directory-administer#how-can-i-delete...

 

Thanks 

 

 

Highlighted

Hello Kusan, 

 

Thank you for your reply. 

That is what I did first, and tried again just now. However, I still can't delete. Here is screenshot. Please look at it. 

 

cannot delete.PNG

Highlighted

Hi,

 

This is due to applications are intregrated with that directory. In Azure AD navigate to application and verify there are any applications. If there any remove it from there.

 

Please refer this

 https://support.microsoft.com/en-us/help/2967860/you-can-t-delete-a-directory-through-the-azure-mana...

 

Thanks

Highlighted

The directory that I want to delete is not listed under any of the subscriptions. This is what I did a while ago trying to delete it. However, still can't delete it. 

 

The problem is that I once enabled Azure Active Directory Premium P1 to try it. Since then I cannot disable it. I simple do not know how to disable it. Azure AD Premium P1 is charging me every month. 

Highlighted

In this screenshot you can see that I have two services that are active, however, NOT ASSIGNED to any users. There are actually no users except me. Still something preventing me from deleting this directory. 

 

Capture.PNG

Highlighted

Hi,

 

Please go to this link and see Azure AD premum subscription is assign to your account 

https://account.windowsazure.com/Subscriptions

if the subscription exists disable it.

 

Or open a support ticket they will look in to it 

Highlighted

That is currently by design I would belive. You account is added as an external contact in each directory. In order to remove them from the list, you have to ask an administrator in each directory to remove your contact object.

 

Im not 100% sure, but i belive this is the reason.

Highlighted

If You unsubscribe Azure AD Premium?