How to delete / resume failed "Replication Extension"

GabeCz 26 Reputation points
2025-12-15T18:06:35.3666667+00:00

I am setting up Azure Migrate, from vmware to azure local.

While testing one server i get an error message:

Error ID
1005009
Error message
An Gateway service operation failed.
Possible causes
Error message: 'Exception of type 'ServiceClientContract.Gateway.GatewayException' was thrown.'.
Recommendation
Please resolve the error and try the operation again.

and the same at the line "Creating or updating replication extension"

When I just try it again from scratch, I get

Deployment template validation failed. Error message: Replication extension is in a failed or canceled state. Please go back and retry.

at validation.

That said. I need to delete the failed replication/migration job. But if I could get some helpful, verbose log why it failed it would be really great, because if I just restart it making no change, it will just fail again.

AI reply is not welcome as I have googled and asked AI myself exhausting all the online available resources already which after I came here for help from actual support people, thank you.

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

1 answer

Sort by: Most helpful
  1. GabeCz 26 Reputation points
    2025-12-15T22:44:05.3666667+00:00

    I'm getting an error at step 12.

    https://learn.microsoft.com/en-us/azure/azure-local/migrate/migrate-vmware-replicate?view=azloc-2511

    "Deployment template validation failed. Error message: Replication extension is in a failed or canceled state. Please go back and retry."

    Unable to find proper logs, and this error message is saying little to nothing.

    Please help. I'm following everything in the instructions to the bit.

    when trying powershell method using this method:

    https://learn.microsoft.com/en-us/azure/azure-local/migrate/migrate-via-powershell?view=azloc-2511

    downloading the ps1 file https://aka.ms/azlocal-migrate-ps-script

    i add the source and destination appliance names but it seems this ps1 wants both source and target be on hyper-v. which is not my case. my source vms are vmware vms. the destionation is obviously azure local.

    Error encountered in matching the given source appliance name 'SOURCEAPPLIANCENAME' and target appliance name 'TARGETAPPLIANCENAME'. Please verify the VM site type to be either for
    HyperV or VMware for both source and target appliances, and the appliance names are correct.
    

    i tried both vmname and the actual hostnames.

    running the diagnostics on the source appliance i get that https://discoverysrv.wus2.prod.migration.windowsazure.com/ is not available. but it is not available from anywhere. (checked multiple "is it down" websites)

    0 comments No comments

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.