Question

I have accidentally created an Azure Active Directory with the wrong name.

Using the management console, I could not find a way to correct it... I was wondiering if there is some kind of hidden API with which you this can be done?

Was it helpful?

Solution 2

The delete directory functionality was added to the portal recently. Tried finding a powershell or api to do this, but doesn't seem to exist.

OTHER TIPS

Once created you can't delete a Windows Azure Active Directory.

This is the current state of the service. The irritating part is that you also can't create new one. Hopefully we will soon see at least "rename" option.

UPDATE

Around November 2013 (roughly 6 months after original question and answer!) Rename of Azure AD was added along with possibility to more than one Azure AD to an Azure Subscription. More details can be read on this blog post.

Around May 2014 (more than 1 year after original question and answer!) Delete of Windows Azure Active directory was added. More details can be read in this blog post.

As of Late September 2014 (more than one and a half years after the original question and answer!) there is still no API to rename or delete AD. Thus no programmatic way to perform these actions.

If you want still change it and you don't need to do it programatically you can do it in azure portal.

I did it few minutes ago following instructions in this article

To change the name of a directory, open the management portal, click on Active Directory in the left navigation bar, and click on the name of the directory that you want to rename.

Then, click on the CONFIGURE tab, and enter the new name for the directory in the directory properties section, and click the SAVE button in the command bar at the bottom of the screen.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top