Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete Azure Active Directory

I want to delete an Azure active directory. Sadly I receive error messages.

The first one: "Directory has one or more Azure subscriptions". Yes that's normal, I want to delete everything to start over my Azure account.

enter image description here

This AD directory just contains one user, which is a global administrator (me with a different email). When I try to modify it to put it as a standard user, I receive this error: "Please try again. If the problem persists, contact support."

enter image description here

So actually I can't delete this AD directory. I tried to get help from the support but I didn't find a way to have more information.

Do you have an idea of how can I do that? Any help would be appreciated (thanks).

like image 964
Léo Davesne Avatar asked Nov 09 '22 21:11

Léo Davesne


1 Answers

The problem isn't the one user in your Azure AD, but the whole AD is tied to your subscription.

You need to create a new Azure AD and connect it to your subscription.

Steps to make this work:

  1. Create a new ID
  2. go to manage.windowsazure.com
  3. select Settings (bottom left menu item
  4. Select your subscription
  5. Press "Edit Directory" in the bottom navigation bar
  6. Associate the new Azure AD

Now you should be able to delete the old Azure AD.

like image 99
Erik Oppedijk Avatar answered Nov 29 '22 19:11

Erik Oppedijk