Hyper-V VMs failing to replicatio to Azure Site Recovery

Dylan Walkden 0 Reputation points
2024-10-31T03:31:28.8766667+00:00

Hi folks,

I have a Hyper-V host that has been replicating it's two VMs to Azure Site Recovery successfully for the last year. However it has started failing with the following error logged in event viewer for both VMs:

Source: Hyper-V-VMMS

Event ID: 32022

Hyper-V could not replicate changes for virtual machine 'AppServer': The connection with the server was terminated abnormally (0x00002EFE).

In Azure the following error is logged:

Error ID

68501

Error Message

The virtual machine couldn't be replicated. Provider error

Replication for virtual machine 'AppServer' is in error. Fix the error(s) and resume replication. Possible causes

Replication errors occurred for virtual machine 'AppServer' in cloud/site '' because of issues with connectivity to Azure storage.

  1. If Identity is enabled on the Recovery Services Vault, please make sure the log/target Azure storage account has the necessary permissions to access the storage account
    a) Go to your Storage account -> Access Control (IAM).
    
    b) Add the below role-assignments (for ARM based storage account) to the Recovery services vault.
    
        1) "Contributor" and,
    
        2) "Storage Blob Data Contributor" for Standard storage or "Storage Blob Data Owner" for Premium storage
    
  2. Fix any issues in the Event Viewer logs (Applications and Service Logs - MicrosoftAzureRecoveryServices) on the Hyper-V host server and resume the replication.

Unfortunately the recommendations in the Azure error report are too vague for me to apply, but I have made sure that the Site Recovery client is up to date and tried a reinstall with no improvement.

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
717 questions
0 comments No comments
{count} votes

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.