An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
Hello noufal nazar, it looks like you’re seeing two errors when trying to replicate your VM:
• Error ID 539 – “The requested action couldn't be performed by the Replication Provider.”
• Error ID 320016 – “A provider action failed. Check other errors for more information.”
Error 539 is generally a catch-all that means something deeper failed first, so we need to dig into the root cause. Here’s a set of steps you can try, plus some follow-up questions if you need to gather more details:
- Verify the VM’s provisioning state – Open Azure Portal → All Services → Resource Explorer. – Navigate to Subscriptions → your sub → ResourceGroups → your RG → Resources → your VM. – Confirm that
provisioningStateisSucceeded. • If it’sFailed, we’ll need to troubleshoot that first (contact support with the failure details). • If it’sUpdating, wait for any extensions or updates to finish before retrying replication. - Check for resource locks or stale Site Recovery config – In the Portal, go to your VM and VM resource group → Locks, and remove any locks you see. – If this VM had replication enabled previously (or its vault/RG was deleted without disabling replication), a stale ASR config can block new attempts. – Run the Cleanup-stale-asr-config-Azure-VM.ps1 script to remove old links:
- Download from https://github.com/AsrOneSdk/published-scripts/blob/master/Cleanup-Stale-ASR-Config-Azure-VM.ps1
- Run it with parameters: SubscriptionID, VMResourceGroupName, VMName.
- Confirm it completes without errors.
- Disable and re-enable replication – In your Recovery Services vault → Replicated Items → select the VM → Disable replication. – Wait a few minutes, then choose Enable replication again. – This clears any transient provider issues.
- Validate network mapping (Azure-to-Azure only) – If your source VM is in a vNet, make sure that network isn’t already mapped to a target vNet in the vault’s Site Recovery Infrastructure → Network Mappings. – If you disabled replication previously, delete the old mapping and recreate it.
- Review quotas and NSG rules – Ensure you have sufficient compute/storage quota in the target region. – Verify any NSG or Firewall rules allow the required outbound traffic for Azure Site Recovery (see “Azure-to-Azure replication network requirements”).
- Retry the replication job – Once you’ve addressed provisioning, stale configs, locks, networking, and quotas, kick off the replication again and watch the job history for any new errors.
Follow-up questions
• Are you doing an Azure-to-Azure (A2A) replication, or is this coming from on-prem Hyper-V/VMware?
• Did this VM ever have ASR protection enabled in a vault that was later deleted?
• Can you share the exact region and resource group names you’re using?
• Are there any other related errors in the vault job history or the VM’s activity log?
• Have you checked that no resource locks remain on the VM or its RG?
References
Hope this helps! Let me know if you need further assistance. Thanks