Azure migrate project cannot access cache storage account

Jung Choi 32 Reputation points
2024-02-18T18:50:56.47+00:00

Hello all, I have an Azure Migrate appliance set up currently and looking to migrate a few servers over to Azure. Everything was registered and got the initial discovery done but I am not able to get the replication going as I am running in to the following error:

" The Azure Migrate service cannot access the cache storage account 'xxxxxxxx'. Learn how to configure the storage account for access using managed identities. " I manually created a storage account, attached a private endpoint to it and listed my subnet as the network to connect to. Even went to add additional roles to my account but I am the owner of the subscription. The link that the error provides is very generic and doesn't seem to really offer much of an explanation.

Any input would be greatly appreciated.

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
878 questions
{count} vote

Accepted answer
  1. Marcin Policht 38,470 Reputation points MVP
    2024-02-18T19:25:53.21+00:00

    You need to grant permissions on the storage account (through RBAC) to the managed identity associated with your Azure Migrate project. To accomplish this, you will use the system assigned managed identity of the Azure Recovery Services vault, which Azure Migrate provisioned automatically for you. This Azure Recovery Services vault is actually the resource that orchestrates the replication activities.


    hth
    Marcin

    2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Marcin Policht 38,470 Reputation points MVP
    2024-02-18T20:16:43.5733333+00:00

    try adding Contributor and Storage Blob Data Contributor


    hth
    Marcin

    1 person found this answer helpful.
    0 comments No comments

  2. Manjunatha Munireddy 1 Reputation point
    2025-03-05T15:21:46.7633333+00:00

    I have the same exact issue, I have also assigned the RBAC roles Contributor and Storage Blob Data Contributor on Storage Account for the Recovery Service Vault (RSV) managed identity and Azure Migrate Project managed identity, but still it shows same error.

    Also i have allowed "Allow Azure services on the trusted services list to access this storage account" on Storage Account.

    Still it is NOT working.

    ERROR:

    The Azure Migrate service cannot access the cache storage account 'migcache01'. Learn how to configure the storage account for access using managed identities.

    0 comments No comments

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.