Azure Delete Canceled (Disabled) Subscription - azure

I've canceled an Azure Subscription, but how can I remove it? I'm sure we won't use this one, it's empty and we have' got more Subscriptions to use.

No, you cannot remove it immediately.
You need to wait 90 days before permanently deleting your data in case you need to access it or you change your mind.
Ref - https://learn.microsoft.com/en-us/azure/billing/billing-how-to-cancel-azure-subscription#what-happens-after-i-cancel-my-subscription
Besides, Remove-AzureSubscription also could not do that.
See description :
The Remove-AzureSubscription cmdlet deletes an Azure subscription from your subscription data file so Windows PowerShell can't find it. This cmdlet does not delete the subscription from Microsoft Azure, or change the actual subscription in any way.
Update:
See the issue - Cannot delete subscription.
The Member of Microsoft Docs replied:
You can't delete an Azure subscription directly. As the article states, all an account admin needs to do is Cancel subscription. Billing stops at that point and all Azure services get disabled, but a final invoice isn’t created until the end of the current billing period. 90 days after you cancel the subscription, Azure automatically permanently deletes the subscription and all data.

you cannot delete the sub. I have a subscription that is cancelled for 2 or 3 years already, and it wont go away. there were many questions like that on stack overflow, one of the recent ones I've spotted: Azure CLI - delete subscription?

Related

Moving from Azure for Students to Pay as you go

I made web app for contest and I was using "Azure for Students" subscription for it. But I lost all of my free credits so I decided to move to "Pay as you go" subscription plan but I don't know how.
And when I trying to change subscription I getting message like this:
Can't move resources from disabled subscription
I used 129$ / 100$ from my Student's subscription and I can't enable it.
Any ideas how to fix it?
As mentioned in the Azure for Students FAQ, to continue using Azure after you exhaust your available credits, you may upgrade to a Pay-As-You-Go subscription by contacting Azure Support. After you upgrade, you pay only for services you use over the free quantity included.
After you exhaust your available credit or reach the end of 12 months, your Azure subscription will be disabled. If you've reached the end of your 12 months and are still a student, you'll be able to renew your Azure for Students offer. You will be notified shortly before your 12-month period to let you know how to renew. If you are no longer a student, you may choose to upgrade to a Pay-As-You-Go subscription.
If you decide not to upgrade at the end of 12 months or after you have exhausted your 100 USD credit, whichever occurs first, any products you have deployed will be decommissioned and you will not be able to access them.
However, you can always export your resource definitions in the form of Azure Resource Manager templates (ARM templates) to be reused later. Just like application code, you can store the infrastructure code in a source repository and version it. Any one on your team can run the code and deploy similar environments.

Resource creation screen says my Azure subscription is disabled even though it's not

I'm trying to add a SQL Database to my resource group, but it says my subscription is disabled. However, when I go to my Azure subscription page, it says it's active. And my hosted web app loads successfully in the web browser, so that must mean my subscription really is active, right?
Why does the SQL Database creation screen say that my subscription is disabled? What can I do to fix this?
I should mention that my subscription actually was disabled this morning, but then I fixed it by changing my payment plan. However, that was several hours ago. Do I just need to keep waiting for my changes to take effect? Or is there some other action I'm supposed to take?
Update: After waiting 24 hours, the error has gone away. I guess it just takes a long time to fully reactivate a subscription.

Is there a way to assign a friendly name to Microsoft Azure MSDN Subscriptions?

I have three (3) active MSDN Subscriptions on my account. Two expire in 2017, and the third expires in 2018.
The title says it all, is there a way to give a "friendly" name to these subscriptions? (i.e. "Work", "Personal", "Misc"). I modified the image to remove the GUIDs, but I really don't want to have to memorize the GUIDs to know which subscription I am creating new resources under when I do things such as creating VM, etc. I also don't want to get billed for certain services to the wrong subscription.
Oh, and the MSDN website isn't any more useful. It allows me to Remove a subscription or transfer the subscription to another account, but not to give an alias or friendly name to a subscription.
Yes. Go to account.windowsazure.com, select your subscription, then edit subscription details.

Azure account suspended due to credit limit means cloud service instance deployments are automatically deleted - mitigation?

Problem
We deploy a mixed SaaS, PaaS, IaaS solutions on Micorosft Azure. Recently our account was suspended due to a Microsoft credit limit.
1) The account billing and technical contact received no warning of the approaching credit limit. When the account was suspended alerts were raised instantly. In response I simply lifted the credit limit and the account was accessible again.
2) All VMs could then be started again within seconds and thrid party add-ons were operational automatically.
3) Cloud Services were displayed but all the web/worker role instances in each were stopped. On attempting to start it was clear the deployments had been deleted !
Questions
Does any one know or understand why the deployment packages are removed when an Azure account subscription has been disabled ?
VM, storages accounts, add-ons are persist so why delete the cloud service instances / deployment packages ?
Anyway to mitigate this issue ?
Result is 60 min downtime to upload and deploy packages from source control. Examining enterprise accounts and invoicing.
Thank you for any advice.
Scott
Currently, subscriptions which has monthly credits such as MSDN, MPN and Bizspark plus has a feature called spending limit. This feature is enabled by default to prevent any charges on your credit card. When this sending limit is triggered, the subscription is disabled for the remaining billing cycle and will be automatically re-enabled when the credit is reset which is on the start of the new billing cycle.
When the subscription is disabled, Cloud services (web and worker role) deployments are deleted as only the deployment file is uploaded on Azure and the source file would still be available by the developer. However, Virtual machines are created within Azure platform, hence VMs are stopped de-allocated when the subscription is disabled. The web services deployments are dealt with differently i.e they are deleted it’s a legacy of how the platform was built and is scaled.
The Azure portal shows the credit utilized and remaining balance for the subscription and notifying the credit status over email is still not available. However, when the subscription is disabled, a notification is sent to the account owner.
Possible mitigation involves:
moving to standard payment terms , away from pay-as-you-go account.
remove the credit limit
possibly a continuous deployment strategy via Team Foundation Server or the like could automate redeployment (no doubt there are other automation methods too).
Unfortunately if the Azure subscription is suspended service deployments are deleted and must be uploaded again. If you have multiple large deployment packages this could take many hours.
Hope that helps someone.
Additionally, if you have shared websites, they will get suspended. There is no way to resume them until the credit period is reset, so you need to delete and recreate them.

Completely remove a subscription from Management Portal

In my Windows Azure Management Portal, I still see the "3-Month Free Trial" subscription although it has already expired and been canceled automatically. I've deleted both the hosted service in it and also the database, but it still doesn't disappear.
What can I do to completely remove a subscription?
According to the Azure support it is (currently) not possible to delete canceled subscriptions.
Greetings from Microsoft Azure. I reviewed your request and would
like to mention that there is unfortunately no option to remove the
disabled subscription from the Azure portal. This is by design to
enable customer’s view the subscriptions purchased by them right from
the day the Azure account was created.
I consider this a bad design choice but that probably is just me.
Visit the portal. In the upper-right corner, you should see a link for Billing.
This will take you to a list of your subscriptions.
Select your subscription. Then, on the right side, you'll see a few options, and one toward the bottom should be 'Cancel Subscription.'
I cancelled a subscription a few months ago by calling support, and have had it sitting in the interface ever since. Recently they notified me that they are going to delete it (and its associated storage) soon. I expect it will disappear then. Therefore I think they keep the subscription around for a while in case you ring them up and say "Heh, I didn't really want to cancel that!".
Additionally you also cannot get your account completely deleted either. You can request for subscriptions to be cancelled (as per original question) and Azure Support can action that but they can't/won't remove your actual account/login.
I'm not sure, but according to this page it seems that subscriptions are permanently removed 30 to 90 days after cancellation.
You can remove your subscription via Azure PowerShell.
How to install: https://learn.microsoft.com/en-us/powershell/azureps-cmdlets-docs/
How to use: C:\PS> Remove-AzureSubscription "Test"
https://msdn.microsoft.com/ru-ru/library/dn495109.aspx

Resources