Fig 1 : Initiating deletion of a directoryThen, when you see the "Delete Directory" dialog, select the checkbox indicated by the red circle in Fig 2 to confirm that you want to delete that directory, then click the checkmark in the lower right of the dialog.
Fig 2: Deleting a directoryDeleting a directory deletes all the resources in the directory, so you should be sure you do not need the directory before you delete it. Neither the directory nor the resources in the directory can be restored. In order to delete a directory, you must be a global administrator of the directory. Also, if you're signed into the Azure Management Portal with an organizational account, you cannot delete the home directory of your user account. For example, if you're signed in as email@example.com , you cannot delete the directory with the initial domain contoso.onmicrosoft.com. Preventing Accidental Deletion To protect you from accidentally deleting an important directory, the directory deletion feature prevents deletion of a directory that contains important resources or is relied on by subscriptions. To delete a directory, Azure AD requires that there is only one user in the directory, no applications in the directory, and that there are no subscriptions to Azure, Office 365, or other Microsoft services for organizations that rely on the directory. To read the full list of requirements, read the documentation for the feature here . If you attempt to delete a directory that cannot be deleted, the portal will guide you to correct the conditions that prevent deletion of the directory.
Fig 3: Seeing conditions that prevent deletion of a directory
We hope you like the directory deletion feature in Azure Active Directory. Let us know what you think! If you have feedback on the feature, whether it is something you like or dislike, or hope to see in future – please let us know by posting in our forum .
Alex Simons (twitter: @Alex_A_Simons )
Director of Program Management
Active Directory Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.