How to Recover a Deleted Storage Account in Azure Stack Hub? #AzureStack #AzureStackHub

2 Min. Read

In this article, we will show you how to recover a deleted storage account in Azure Stack Hub.

Introduction

In Azure Stack Hub, you can retain storage accounts after they have been deleted. However, public Azure does not offer this feature.

When a user deletes a storage account in Azure, the Storage Resource Provider immediately marks the data for deletion. On the contrary, when you delete a storage account in Azure Stack, the storage account is retained for 0 days by default. We recommend changing the retention period to 14 days.

You can configure the retention period for storage accounts at an Azure Stack region level. This allows you to configure different retention options based on the available capacity within a specific location.

How to Recover a Deleted Storage Account in Azure Stack Hub? #AzureStack #AzureStackHub 1

The retention range runs from 0 days, where the Storage Account is marked as out of retention period and can be purged on the next automatic garbage collection, to a maximum of 9999 days (27.4 years).

When you delete a storage account, the account is removed from the user’s subscription and the user is given a notice stating the following:

This action cannot be undone. This will permanently delete storage account ‘<Storage Account Name>’ and its contents.

How to Recover a Deleted Storage Account in Azure Stack Hub? #AzureStack #AzureStackHub 2

Recover a Deleted Storage Account in Azure Stack

The following high-level steps show you how to recover a deleted storage account:

1) In the Azure Stack portal, sign in as an Azure Stack Cloud Operator at: https://adminportal.local.azurestack.external

2) Navigate to Region management.

3) Select the region where the storage account resides.

4) Select the Storage resource provider.

How to Recover a Deleted Storage Account in Azure Stack Hub? #AzureStack #AzureStackHub 3

5) Select Storage accounts under USER RESOURCES.

6) Find the required storage account that has been deleted. The name of the storage account would have been changed to “storage account name @<Date/Time of deletion>”.

How to Recover a Deleted Storage Account in Azure Stack Hub? #AzureStack #AzureStackHub 4

7) Select the storage account.

8) On the Storage account blade, click Recover.

How to Recover a Deleted Storage Account in Azure Stack Hub? #AzureStack #AzureStackHub 5

9) The Storage Account is then renamed to the original storage account name and placed back in the tenant’s subscription.

How to Recover a Deleted Storage Account in Azure Stack Hub? #AzureStack #AzureStackHub 6

That’s it there you have it! Hope this helps.

__
Thank you for reading my blog.

If you have any questions or feedback, please leave a comment.

-Charbel Nemnom-

Previous

How to Add Windows Server 2016 Image to #AzureStack #AzureStackDevKit #WindowsServer

Microsoft Official Courseware 20537 – Configuring and Operating a Hybrid Cloud with #Microsoft #AzureStack

Next

Let us know what you think, or ask a question...