Hyper-V VMs failing to replicatio to Azure Site Recovery
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.
- 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
- 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.