Forum Discussion
How to delete directory in Azure ARM?
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.
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.
So my question is how to remove that directory from Azure ARM portal?
Best regards.
9 Replies
- Viktor GilbertssonCopper Contributor
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.
- kasunsjcIron Contributor
Hi,
Login as the service admin in to azure tenent.
- Then login to http://manage.windowsazure.com/
- Select the directory
- Click delete on below
Note :- Make sure following prerequist met before deleting
Thanks
- jahongir abdurahmonovBrass Contributor
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.
- kasunsjcIron Contributor
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
Thanks
- jahongir abdurahmonovBrass Contributor
Here is what Azure ARM portal shows if I try to delete the directory.