Before Cancelling an Azure Subscription, Remove All Virtual Networks

I recently cancelled an Azure Subscription, and then went on to delete all of its resources (virtual machines, databases, etc.). This went fairly well with a couple of exceptions.

Problem #1: I wasn’t possible to delete my virtual network. I got an error message saying it wasn’t possible because the subscription wasn’t active. I had to submit a support request, and a helpful technician re-enabled my subscription.

Lesson: Delete all resources before you cancel a subscription.

Problem #2: I still cannot delete the associated Active Directory. I get an error message saying

The following issue(s) prevent deletion of this directory:
· Directory has one or more Azure subscriptions.

But that is not true – I changed the subscription to be associated with a different directory. I hope Microsoft Support has a solution for this issue as well…

UPDATE: I discovered there was another subscription, owned by another user, associated with the domain. After changing that, I could delete the domain.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s