Can I change the account type from file shares to another type after the storage account is created?

Shaojun Qin 100 Reputation points
2024-04-24T12:33:45.53+00:00

Can I change the account type from file shares to another type after the storage account is created?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,716 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amrinder Singh 2,195 Reputation points Microsoft Employee
    2024-04-24T12:41:37.72+00:00

    Hi Shaojun Qin - Thanks for reaching out over Q&A Forum.

    Unfortunately, you can't change a storage account to a different type after it's created. To move your data to a storage account of a different type, you must create a new account and copy the data to the new account. The same is documented in the below link as well.

    https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview

    Please let us know if you have any further queries. I’m happy to assist you further.    


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,527 Reputation points Microsoft Employee
    2024-04-24T15:48:23.7633333+00:00

    @Shaojun Qin

    If you want to change the account type from Azure File Shares, you’ll need to create a new storage account with the storage account type you would like. Then, migrate your existing data from the old account to the new one.

    First, create a new Azure Storage Account where you want to move your data. You can do this through the Azure portal, Azure CLI, or ARM templates. Then use AzCopy that allows you to copy files to or from a storage account.

    Example: Copy a single blob to another blob by using a SAS token.

    azcopy cp "https://[srcaccount].file.core.windows.net/[container]/[path/to/blob]?[SAS]" "https://[destaccount].blob.core.windows.net/[container]/[path/to/blob]?[SAS]"

    Refer to: Transfer data with AzCopy and file storage

    Please note that Azure storage accounts have different performance tiers: Standard and Premium. You can upgrade from Standard to Premium, but downgrading from Premium to Standard is not supported. Storage accounts also offer various replication options (e.g., LRS, GRS, ZRS, RA-GRS). Changing the replication option is not supported. You’ll need to create a new storage account with the desired replication setting.


    If you have questions, please let me know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    Please don’t forget to "Accept Answer" and hit Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members for remediation for similar issues.

    User's image

    0 comments No comments