Azure Migrate: Storage access failure during agentless replication — Error Code 665

StephenNormandin-4440 10 Reputation points
2026-10-04T19:26:33.7066667+00:00

Problem description

I am experiencing an issue with Azure Migrate during an agentless migration of a VMware VM. The migration fails during the execution step with the error: 'The requested operation failed with reason: Storage is not accessible : 'migratersa'.' (Code: 665). I am seeking an explanation for this error and guidance on how to resolve it.

Environment

Azure Migrate service for server migration from VMware to Azure, specific region and storage account details are not provided.

What I've already tried

  • In Azure CLI, az storage account commands return normal/as expected.
  • From within Azure Migrate appliance, nslookup and Test-Connection both return normal/as expected.
  • There is no private endpoint configured.
  • Public access is enabled without restriction.

Current status

Currently, the migration failure persists with the same error. I am requesting assistance to understand the cause of the storage access issue and to determine the appropriate steps to fix it.

Azure Migrate
Azure Migrate

A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.


1 answer

Sort by: Most helpful
  1. Alex Burlachenko 25,530 Reputation points MVP Volunteer Moderator
    2026-10-12T11:23:08.35+00:00

    StephenNormandin-4440 Hi & thx for join me at Q&A platform,

    error 665 suggests Azure Migrate can't access the storage account migratersa during the migration workflow. But it doesn't necessarily mean the storage account is down or that public network access is blocked.

    One important detail: az storage account commands mostly verify the Azure management plane, not whether the replication service can actually read or write blobs. And successful nslookup or Test-Connection results don't prove that HTTPS access to Blob Storage is working. I'd test the actual data endpoint from the Azure Migrate appliance:

    Test-NetConnection migratersa.blob.core.windows.net -Port 443

    Also try an HTTPS request to that endpoint. A 400 or 403 response can still confirm that the request reached Azure Storage, while a timeout, TLS error, or proxy failure points more toward connectivity. Of course, a successful connection alone doesn't prove that the migration service has the required storage permissions. I'd also see whether the storage account is still the one configured for replication, whether its access keys were rotated, and whether Azure Migrate can still obtain valid authorization to access it. If Storage diagnostic logs are enabled, look for failed Blob requests around the migration timestamp. A 403 could indicate an authorization problem, while no requests at all might suggest the failure occurs before reaching Storage. does replication itself work, with error 665 appearing only when u execute the migration? If so, I'd focus on the Azure Migrate service's access to the replication storage account during the final migration operation, rather than just the appliance's outbound connectivity.

    If all these checks pass, I'd raise an Azure Migrate support case with the failed job ID, UTC timestamp, storage account resource ID, and any Storage request IDs. Ask the team to identify which component is reporting Storage is not accessible and whether the failure is coming from storage authorization, the appliance, or Azure Migrate's backend.

    I wouldn't delete or recreate the storage account rn. That could disrupt existing replication without fixing the underlying issue.

    rgds,

    Alex

    p.s. if my answer is hepl - pls mark it as an answer

    Was this answer helpful?


Your answer

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