Classic Storage Account Migrated to ARM is no longer visible in Azure Portal

Siew Chuah 0 Reputation points
2024-09-22T18:13:07.39+00:00

Immediately after the successful migration of the classic storage account to ARM, the storage account name was still listed in the Azure Portal but when I tried to browse the data, an error message StorageAccountNotFound shows up. A few days later, the account name is no longer listed in the list of storage accounts in the Azure Portal. However, Azure Storage Explorer can still access and browse the account. Can someone help with this issue? Thank you.

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.
3,183 questions
{count} votes

5 answers

Sort by: Most helpful
  1. akinbade abiola 17,290 Reputation points
    2024-09-23T00:39:56.4933333+00:00

    Hello Siew Chuah,

    Thanks for your question.

    It may be the migration is not complete.

    Firstly verify that the storage accounts exist in ARM:

    # List storage accounts 
    az storage account list --output table
    

    Also, check the resource group's permissions and role assignments to ensure you have access.

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

  2. Nehruji R 7,811 Reputation points Microsoft Vendor
    2024-09-23T08:43:53.07+00:00

    Hello Siew Chuah,

    Greetings! Welcome to Microsoft Q&A Forum.I understand that you are not able to view the storage account in Azure Portal but can be able to view in Storage explorer after successful Migration to ARM. Since you can access the account via Azure Storage Explorer, it indicates that the account still exists and is accessible. This tool might be using cached credentials or a different endpoint.

    Please try the suggestions below to troubleshoot the issue,

    Ensure that the migration process was fully completed. Sometimes, partial migrations can cause inconsistencies. You can verify the status using Azure CLI or PowerShell.

    Sometimes, the Azure Portal might not immediately reflect changes due to caching issues. Try clearing your browser cache or accessing the portal from a different browser.

    Try logging out and logging back in to the Azure Portal. Use the correct tenant URL to get the token: az login --tenant <tenant-id>

    You can also try accessing the storage accounts using Azure CLI, to check if they show up there. az storage account show --name <storage-account-name> --resource-group <resource-group-name>

    Hope this information helps! please let us know if you have any further queries. I’m happy to assist you further.


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

    0 comments No comments

  3. KarishmaTiwari-MSFT 20,052 Reputation points Microsoft Employee
    2024-09-23T23:36:48.0166667+00:00

    @Siew Chuah

    Additionally,

    Since Azure Storage Explorer can still access the storage account, verify the following:

    • Confirm the account name and keys used in Storage Explorer are correct.
    • Ensure you are using the same subscription in both the Azure Portal and Azure Storage Explorer.
    • Ensure that the storage account is associated with the correct resource group.
    • Verify that you have the necessary permissions to view the storage account in the Azure Portal. You may need the Storage Account Contributor role or higher.

    If you are still stuck, let me know in the comments and I can further investigate by connecting offline. Thanks.

    0 comments No comments

  4. Siew Chuah 0 Reputation points
    2024-09-26T16:43:45.7233333+00:00

    Thank you everyone for the answers and suggestions. My role assignment is as a Contributor which is defined as "Grants full access to manage all resources, but does not allow you to assign roles in Azure RBAC, manage assignments in Azure Blueprints, or share image galleries." so I assume I should have the necessary permissions to view the storage account. Before the migration, I could view the classic storage account, so I must be using the correct subscription, account name and key to access the storage account.

    I have installed PowerShell and run the following commands, but no storage account shows up.

    PS C:\Users\schuah> az login

    Select the account you want to log in with. For more information on login with Azure CLI, see https://go.microsoft.com/fwlink/?linkid=2271136

    Retrieving tenants and subscriptions for the selection...

    [Tenant and subscription selection]

    No     Subscription name     Subscription ID                       Tenant

    -----  --------------------  ------------------------------------  ---------------

    [1]    Azure subscription 1 XXXXXXXXXXXXXXXXXXXXX  YYYYYYYYYYYY

    [2] * ZZZZZZZZZZZ ...........................

    Select a subscription and tenant (Type a number or Enter for no changes): 2

    PS C:\Users\schuah> az storage account list --output table

    PS C:\Users\schuah> az storage account list

    []

    PS C:\Users\schuah> az storage account list --output json

    []

    [1] is my company's subscription and [2] is my client's subscription. My client has assigned the Contributor role to my login account.

    Subscription [2] originally had two classic storage accounts, one is used for testing, and the other is used for production. I have only migrated the test classic storage account and I have held off migrating the production classic storage account until the migrated test account is visible. On the Azure Portal, the production classic storage account is visible, so I am not sure why it is not listed in the PowerShell.

    To make sure that the Azure CLI commands in the PowerShell are working, I selected subscription [1], and a storage account was listed. This storage account was created in August 2024 and was already a StorageV2 type, so no migration had to be performed.

    Let me know if there is anything else I can try. Thank you for all your help.

    0 comments No comments

  5. Siew Chuah 0 Reputation points
    2024-09-26T18:18:34.9766667+00:00

    Thank you everyone for your answers and suggestions. I will provide comments to all your suggestions here.

    I have also rebooted the computer before I started trying out your suggestions.

    I have verified that my Role is a Contributor so I should have the necessary permissions to view the storage account. Before the migration, the storage account was visible, so I am using the correct subscription, account name and key.

    I have installed PowerShell and executed the following commands.

    PS C:\Users\schuah> az login

    Select the account you want to log in with. For more information on login with Azure CLI, see https://go.microsoft.com/fwlink/?linkid=2271136

    Retrieving tenants and subscriptions for the selection...

    [Tenant and subscription selection]

    No Subscription name Subscription ID Tenant


    [1] Azure subscription 1 XXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYY

    [2] * AAAAAAAAAAAAA BBBBBBBBBBBBBBBBBB CCCCCCCCCCCCCCCC

    The default is marked with an *; the default tenant is 'CCCCCCCCCCCCCCCC' and subscription is BBBBBBBBBBBBBBBBBB

    Select a subscription and tenant (Type a number or Enter for no changes): 2

    Tenant: CCCCCCCCCCCCCCCC

    Subscription: BBBBBBBBBBBBBBBBBB

    PS C:\Users\schuah> az storage account list

    []

    PS C:\Users\schuah> az storage account list --output table

    PS C:\Users\schuah> az storage account list --output json

    []

    I have two subscriptions, Subscription [1] belongs to my company and Subscription [2] belongs to my client who had assigned the role of Contributor to my login account. Subscription [2] should have two classic storage accounts, one for testing and the other for production. I have only migrated the test classic storage account and I have held off migrating the production classic storage account until the test migrated storage account is visible. On the Azure Portal, the production classic storage account is still listed but somehow it is not listed in the PowerShell.

    To make sure that the CLI commands are working in the PowerShell, I selected using Subscription [1] and the one storage account available is listed. This storage account was created in August 2024 and it is already a StorageV2 type, so no migration had to be performed.

    Please let me know if there is anything else I can try.

    Thank you for all your help.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.